# HG changeset patch
# User azuzolo
# Date 1339008589 14400
# Node ID 9e12a0762f87c93ab3cc7f966881427c21b8a9c2
Uploaded
diff -r 000000000000 -r 9e12a0762f87 qiime/.DS_Store
Binary file qiime/.DS_Store has changed
diff -r 000000000000 -r 9e12a0762f87 qiime/README
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/qiime/README Wed Jun 06 14:49:49 2012 -0400
@@ -0,0 +1,129 @@
+This was a first attempt at providing galaxy tool_wrappers for the Qiime metagenomics package:
+You must first istall Qiime: http://qiime.sourceforge.net/install/install.html
+
+
+
+Initial tool wrappers were generated by a script searching the qiime scripts (version 1.2.1) for usage info,
+and then were hand edited afterwards.
+
+NOTE: A few of the tool configs worked on the galaxy-central code in April 2011.
+I haven't taken time to check them with more recent galaxy releases.
+
+
+I executed the qiime scripts via qiime_wrapper.py
+This was to accommmodate moving multiple outputs to history items: http://wiki.g2.bx.psu.edu/Admin/Tools/Multiple%20Output%20Files
+
+
+The datatypes file: metagenomics.py has Mothur datatypes with a start at qiime types added at the end.
+
+
+
+
+The most common used qiime scripts are:
+- check_id_map.py
+- split_libraries.py
+- pick_otus_through_otu_table.py
+- beta_diversity_through_3d_plots.py
+- alpha_rarefaction.py
+- jackknifed_beta_diversity.py
+- filter_by_metadata.py
+- filter_otu_table.py
+- merge_otu_tables.py
+- merge_mapping_files.py
+
+
+Tool_config development status:
+The tool configs with a * indicate that the tool at least displayed in galaxy at least once upon time.
+( Since these were intially auto generated, some may not make sense in a galaxy framework. )
+
+ add_taxa.xml
+ adjust_seq_orientation.xml
+* align_seqs.xml
+* alpha_diversity.xml metrics - select input/output repeat conditional tree
+* alpha_rarefaction.xml
+* assign_taxonomy.xmlA assignment_method-select
+* beta_diversity.xml
+* beta_diversity_through_3d_plots.xml html-plots
+ beta_significance.xml
+ blast_wrapper.xml
+* check_id_map.xml
+ collate_alpha.xml
+* compare_3d_plots.xml
+ consensus_tree.xml
+ convert_otu_table_to_unifrac_sample_mapping.xml
+ convert_unifrac_sample_mapping_to_otu_table.xml
+* denoise.xml
+* dissimilarity_mtx_stats.xml
+ exclude_seqs_by_blast.xml
+ extract_seqs_by_sample_id.xml
+* filter_alignment.xml
+ filter_by_metadata.xml
+ filter_fasta.xml
+ filter_otu_table.xml
+* filter_otus_by_sample.xml
+ fix_arb_fasta.xml
+ identify_chimeric_seqs.xml
+* jackknifed_beta_diversity.xml
+* make_2d_plots.xml
+* make_3d_plots.xml
+ make_bootstrapped_tree.xml
+ make_distance_histograms.xml
+ make_fastq.xml
+ make_library_id_lists.xml
+* make_otu_heatmap_html.xml
+* make_otu_network.xml
+ make_otu_table.xml
+ make_per_library_sff.xml
+ make_phylogeny.xml
+ make_pie_charts.xml
+ make_prefs_file.xml
+ make_qiime_py_file.xml
+* make_qiime_rst_file.xml
+* make_rarefaction_plots.xml
+* make_sra_submission.xml
+* merge_denoiser_output.xml
+ merge_mapping_files.xml
+ merge_otu_maps.xml
+ merge_otu_tables.xml
+ multiple_rarefactions.xml
+ multiple_rarefactions_even_depth.xml
+ otu_category_significance.xml
+* parallel_align_seqs_pynast.xml
+ parallel_alpha_diversity.xml
+* parallel_assign_taxonomy_blast.xml
+* parallel_assign_taxonomy_rdp.xml
+ parallel_beta_diversity.xml
+* parallel_blast.xml
+ parallel_identify_chimeric_seqs.xml
+ parallel_multiple_rarefactions.xml
+* parallel_pick_otus_blast.xml
+* parallel_pick_otus_uclust_ref.xml
+ per_library_stats.xml
+* pick_otus.xml
+* pick_otus_through_otu_table.xml
+ pick_rep_set.xml
+* plot_rank_abundance_graph.xml
+ poller.xml
+ poller_example.xml
+ pool_by_metadata.xml
+ principal_coordinates.xml
+ print_qiime_config.xml
+* process_sff.xml
+* process_sra_submission.xml
+* quality_scores_plot.xml
+ shared_phylotypes.xml
+ single_rarefaction.xml
+ sort_denoiser_output.xml
+* split_libraries.xml
+* split_libraries_illumina.xml
+ sra_spreadsheet_to_map_files.xml
+ start_parallel_jobs.xml
+ summarize_otu_by_cat.xml
+ summarize_taxa.xml
+* supervised_learning.xml
+* transform_coordinate_matrices.xml
+* tree_compare.xml
+ trflp_file_to_otu_table.xml
+ trim_sff_primers.xml
+* truncate_fasta_qual_files.xml
+ upgma_cluster.xml
diff -r 000000000000 -r 9e12a0762f87 qiime/align_seqs.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/qiime/align_seqs.xml Wed Jun 06 14:49:49 2012 -0400
@@ -0,0 +1,91 @@
+
+ Align sequences using a variety of alignment methods
+
+ align_seqs.py
+
+
+ qiime_wrapper.py
+ --galaxy_outputdir='$log.extra_files_path'
+ --galaxy_datasets='^\S+_aligned\.\S+$:'$aligned_fasta,'^\S+_log\.txt$:'$log,'^\S+_failures\.fasta$:'$failures
+ align_seqs.py
+ --input_fasta_fp=$input_fasta_fp
+ --alignment_method=$alignment_method
+ #if $alignment_method.__str__ == 'pynast':
+ #if $alignment.template_fp != None and $alignment.template_fp.__str__ != 'None' and $alignment.template_fp.__str__ != '':
+ --template_fp=$alignment.template_fp
+ #end if
+ --pairwise_alignment_method=$pairwise_alignment_method
+ --min_length=$min_length
+ --min_percent_id=$min_percent_id
+ #if $blast_db != None and $blast_db.__str__ != 'None' and $blast_db.__str__ != '':
+ --blast_db=$blast_db
+ #end if
+ #elif $alignment_method.__str__ == 'infernal':
+ --template_fp=$alignment.template_fp
+ #end if
+
+ --output_dir='$log.extra_files_path'
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ .. class:: warningmark
+Note: MUSCLE alignment is still not verified. Use at your own risk.
+
+For more information, see align_seqs_ in the Qiime documentation.
+
+Updated and validated 01/16/12
+
+.. _align_seqs: http://qiime.org/scripts/align_seqs.html
+
+
diff -r 000000000000 -r 9e12a0762f87 qiime/alpha_diversity.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/qiime/alpha_diversity.xml Wed Jun 06 14:49:49 2012 -0400
@@ -0,0 +1,79 @@
+
+ Calculate alpha diversity on each sample in an otu table, using a variety of alpha diversity metrics
+
+ alpha_diversity.py
+
+
+ qiime_wrapper.py
+ #if $run_type.input_type.__str__ == "multi":
+ --galaxy_logfile=$output_path
+ --galaxy_outputdir=$output_path.extra_files_path
+ #end if
+ alpha_diversity.py
+ #if $run_type.input_type.__str__ == "multi":
+ --input_path=$input_path.extra_files_path
+ --output_path=$output_path.extra_files_path
+ #else:
+ --output_path=$output_path
+ --input_path=$input_path
+ #end if
+ --metrics=$metrics
+ #if $metrics.__str__ == 'PD_whole_tree':
+ --tree_path=$tree_path
+ #end if
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ This tool calculates alpha diversity, or within-sample diversity, using an otu table. Metrics may be selected in any combination. Input can be the log file from multiple_rarefactions (batch alpha diversity), or a single rarefied OTU table (single_rarefaction/single file alpha diversity). When the phylogenetic metric PD_whole_tree is selected, a .tre file must be supplied for the tool to run. The output file is a log file listing all the alpha rarefaction files produced.
+
+
+
diff -r 000000000000 -r 9e12a0762f87 qiime/alpha_rarefaction.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/qiime/alpha_rarefaction.xml Wed Jun 06 14:49:49 2012 -0400
@@ -0,0 +1,108 @@
+
+ A workflow script for performing alpha rarefaction
+
+ alpha_rarefaction.py
+
+
+ qiime_wrapper.py
+ --galaxy_summary_html='$output_html'
+ --galaxy_outputdir='$output_html.extra_files_path'
+ --galaxy_summary_template='$output_template'
+ ## --galaxy_datasets='^rarefaction_plots.html$:'$output_html
+ alpha_rarefaction.py
+ --otu_table_fp=$otu_table_fp
+ --mapping_fp=$mapping_fp
+ --output_dir=$output_html.extra_files_path
+ #if $parameter.source.__str__ == 'hist':
+ --parameter_fp=$parameter_fp
+ #else:
+ --parameter_fp=$parameter_generated
+ #end if
+ --num_steps=$num_steps
+ $force
+ $print_only
+ $parallel
+ #if $tree_fp != None and $tree_fp.__str__ != 'None':
+ --tree_fp=$tree_fp
+ #end if
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+alpha_diversity:metrics chao1,observed_species,PD_whole_tree
+multiple_rarefactions_even_depth:num-reps 20
+parallel:jobs_to_start 2
+parallel:retain_temp_files False
+parallel:seconds_to_sleep 60
+collate_alpha:example_path
+make_rarefaction_plots:imagetype png
+make_rarefaction_plots:resolution 75
+make_rarefaction_plots:background_color white
+make_rarefaction_plots:prefs_path
+
+
+
+
+rarefaction_plots.html
+
+