annotate generate_test_data.sh @ 0:e00b6983b175 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:39:15 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e00b6983b175 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
e00b6983b175 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
2
e00b6983b175 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
3 # make_otu_table
e00b6983b175 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 \
e00b6983b175 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' \
e00b6983b175 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' \
e00b6983b175 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' \
e00b6983b175 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' \
e00b6983b175 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'
e00b6983b175 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
10 biom convert \
e00b6983b175 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' \
e00b6983b175 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' \
e00b6983b175 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
13 --to-json
e00b6983b175 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
14
e00b6983b175 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 \
e00b6983b175 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' \
e00b6983b175 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' \
e00b6983b175 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' \
e00b6983b175 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' \
e00b6983b175 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'
e00b6983b175 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
21 biom convert \
e00b6983b175 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' \
e00b6983b175 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' \
e00b6983b175 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
24 --to-json
e00b6983b175 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
25
e00b6983b175 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
26 # collapse_samples
e00b6983b175 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
27 collapse_samples.py \
e00b6983b175 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' \
e00b6983b175 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' \
e00b6983b175 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
30 --collapse_mode 'sum' \
e00b6983b175 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
31 --collapse_fields 'SampleType' \
e00b6983b175 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' \
e00b6983b175 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'
e00b6983b175 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
34 biom convert \
e00b6983b175 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' \
e00b6983b175 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' \
e00b6983b175 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
37 --to-json
e00b6983b175 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
38
e00b6983b175 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
39 collapse_samples.py \
e00b6983b175 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' \
e00b6983b175 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' \
e00b6983b175 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
42 --collapse_mode 'first' \
e00b6983b175 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' \
e00b6983b175 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
44 --normalize \
e00b6983b175 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' \
e00b6983b175 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'
e00b6983b175 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
47 biom convert \
e00b6983b175 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' \
e00b6983b175 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' \
e00b6983b175 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit d41cdeeec9fd0eb5612df0d5af63a979d1c9ec87
iuc
parents:
diff changeset
50 --to-json