~ubuntu-branches/ubuntu/trusty/qiime/trusty

« back to all changes in this revision

Viewing changes to examples/qiime_tutorial/qiime_tutorial_commands_serial.sh

  • Committer: Package Import Robot
  • Author(s): Andreas Tille
  • Date: 2013-06-17 18:28:26 UTC
  • mfrom: (9.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20130617182826-376az5ad080a0sfe
Tags: 1.7.0+dfsg-1
Upload preparations done for BioLinux to Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
# interactive commands are commented out
 
3
#print_qiime_config.py
 
4
 
 
5
# Pre-processing
 
6
echo "Check mapping file"
 
7
rm -rf mapping_output ; check_id_map.py -m Fasting_Map.txt -o mapping_output -v
 
8
 
 
9
echo "Demultiplexing"
 
10
rm -rf split_library_output ; split_libraries.py -m Fasting_Map.txt -f Fasting_Example.fna -q Fasting_Example.qual -o split_library_output
 
11
 
 
12
# otus
 
13
echo "Pick OTUs through OTU table"
 
14
rm -rf otus ; pick_de_novo_otus.py -i split_library_output/seqs.fna -o otus
 
15
 
 
16
#print_biom_table_summary.py -i otus/otu_table.biom
 
17
 
 
18
#OTU Heatmap
 
19
echo "OTU Heatmap"
 
20
make_otu_heatmap_html.py -i otus/otu_table.biom -o otus/OTU_Heatmap/
 
21
 
 
22
#OTU Network
 
23
echo "OTU Network"
 
24
make_otu_network.py -m Fasting_Map.txt -i otus/otu_table.biom -o otus/OTU_Network
 
25
 
 
26
#Make Taxa Summary Charts
 
27
echo "Summarize taxa"
 
28
rm -rf wf_taxa_summary ; summarize_taxa_through_plots.py -i otus/otu_table.biom -o wf_taxa_summary -m Fasting_Map.txt
 
29
 
 
30
echo "Alpha rarefaction"
 
31
#alpha_diversity.py -h
 
32
echo "alpha_diversity:metrics shannon,PD_whole_tree,chao1,observed_species" > alpha_params.txt
 
33
 
 
34
rm -rf wf_arare ; alpha_rarefaction.py -i otus/otu_table.biom -m Fasting_Map.txt -o wf_arare/ -p alpha_params.txt -t otus/rep_set.tre
 
35
 
 
36
echo "Beta diversity and plots"
 
37
rm -rf wf_bdiv_even146 ; beta_diversity_through_plots.py -i otus/otu_table.biom -m Fasting_Map.txt -o wf_bdiv_even146/ -t otus/rep_set.tre -e 146
 
38
 
 
39
echo "Jackknifed beta diversity"
 
40
rm -rf wf_jack ; jackknifed_beta_diversity.py -i otus/otu_table.biom -t otus/rep_set.tre -m Fasting_Map.txt -o wf_jack -e 110
 
41
 
 
42
echo "Make Bootstrapped Tree"
 
43
make_bootstrapped_tree.py -m wf_jack/unweighted_unifrac/upgma_cmp/master_tree.tre -s wf_jack/unweighted_unifrac/upgma_cmp/jackknife_support.txt -o wf_jack/unweighted_unifrac/upgma_cmp/jackknife_named_nodes.pdf
 
44
 
 
45
echo "Make Bi-Plots"
 
46
rm -rf 3d_biplot ; make_3d_plots.py -i wf_bdiv_even146/unweighted_unifrac_pc.txt -m Fasting_Map.txt -t wf_taxa_summary/otu_table_L3.txt --n_taxa_keep 5 -o 3d_biplot