Compare commits

..

No commits in common. "8ff28a2a579f92fc54d8833017344375b1aa33b3" and "21880df2239a140c9f6d87898fd64225249a608b" have entirely different histories.

1 changed files with 6 additions and 11 deletions

View File

@ -37,18 +37,13 @@ sed -i 's/ //g' fasta/amplicon.fasta
# CREATE OTU
# DEDUPLICATION
mkdir otu
soft/vsearch --derep_fulllength fasta/amplicon.fasta --output fasta/fulllength.fasta
soft/vsearch --derep_prefix fasta/amplicon.fasta --output fasta/prefix.fasta
soft/vsearch --derep_fulllength fasta/amplicon.fasta --output otu/fulllength_otu.fasta
soft/vsearch --derep_prefix fasta/amplicon.fasta --output otu/prefix_otu.fasta
# REMOVING SINGLETON
soft/vsearch --derep_prefix fasta/amplicon.fasta --output fasta/prefix_min10.fasta --minuniquesize 10
soft/vsearch --derep_fulllength fasta/amplicon.fasta --output otu/fulllength_min10_otu.fasta --minuniquesize 10
soft/vsearch --derep_prefix fasta/amplicon.fasta --output otu/prefix_min10_otu.fasta --minuniquesize 10
# REMOVING CHIMERAS
soft/vsearch --uchime_denovo fasta/prefix.fasta --nonchimeras fasta/prefix_nochim.fasta
# CLUSTERING
otu=">OTU_"
vsearch --cluster_fast fasta/prefix_nochim.fasta --id 0.97 --centroids otu/centroids.fasta --relabel $otu
# ABONDANCE
vsearch --usearch_global fasta/amplicon.fasta --db otu/clusters.fasta --id 0.97 --otutabout otu/abondance_table.txt
soft/vsearch --uchime_denovo otu/prefix_min10_otu.fasta --nonchimeras otu/prefix_min10_nochim_otu.fasta
soft/vsearch --uchime_denovo otu/fulllength_min10_otu.fasta --nonchimeras otu/fulllength_min10_nochim_otu.fasta