annotate generate_test_data.sh @ 0:242462fc608b draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
author iuc
date Mon, 10 Jul 2017 16:38:55 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
1 #!/usr/bin/env bash
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
2
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
3 # make_otu_table
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
4 make_otu_table.py \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
5 --otu_map_fp 'test-data/make_otu_table/otu_map.txt' \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
6 --taxonomy 'test-data/make_otu_table/tax_assignments.txt' \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
7 --exclude_otus_fp 'test-data/make_otu_table/chimeric_seqs.txt' \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
8 --mapping_fp 'test-data/make_otu_table/mapping_file.txt' \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
9 --output_biom_fp 'test-data/make_otu_table/OTU_table_chimeric.biom'
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
10 biom convert \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
11 -i 'test-data/make_otu_table/OTU_table_chimeric.biom' \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
12 -o 'test-data/make_otu_table/OTU_table_chimeric.biom' \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
13 --to-json
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
14
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
15 make_otu_table.py \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
16 --otu_map_fp 'test-data/make_otu_table/otu_map.txt' \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
17 --taxonomy 'test-data/make_otu_table/tax_assignments.txt' \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
18 --exclude_otus_fp 'test-data/make_otu_table/pynast_failures.fna' \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
19 --mapping_fp 'test-data/make_otu_table/mapping_file.txt' \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
20 --output_biom_fp 'test-data/make_otu_table/OTU_table_pynast.biom'
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
21 biom convert \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
22 -i 'test-data/make_otu_table/OTU_table_pynast.biom' \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
23 -o 'test-data/make_otu_table/OTU_table_pynast.biom' \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
24 --to-json
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
25
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
26 # collapse_samples
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
27 collapse_samples.py \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
28 --input_biom_fp 'test-data/collapse_samples/table.biom' \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
29 --mapping_fp 'test-data/collapse_samples/map.txt' \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
30 --collapse_mode 'sum' \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
31 --collapse_fields 'SampleType' \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
32 --output_biom_fp 'test-data/collapse_samples/collapsed_sum_SampleType_table.biom' \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
33 --output_mapping_fp 'test-data/collapse_samples/collapsed_sum_SampleType_map.txt'
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
34 biom convert \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
35 -i 'test-data/collapse_samples/collapsed_sum_SampleType_table.biom' \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
36 -o 'test-data/collapse_samples/collapsed_sum_SampleType_table.biom' \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
37 --to-json
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
38
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
39 collapse_samples.py \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
40 --input_biom_fp 'test-data/collapse_samples/table.biom' \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
41 --mapping_fp 'test-data/collapse_samples/map.txt' \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
42 --collapse_mode 'first' \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
43 --collapse_fields 'subject','year' \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
44 --normalize \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
45 --output_biom_fp 'test-data/collapse_samples/collapsed_first_2fields_table.biom' \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
46 --output_mapping_fp 'test-data/collapse_samples/collapsed_first_2fields_map.txt'
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
47 biom convert \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
48 -i 'test-data/collapse_samples/collapsed_first_2fields_table.biom' \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
49 -o 'test-data/collapse_samples/collapsed_first_2fields_table.biom' \
242462fc608b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
50 --to-json