diff --git a/tools/mycrobiota/recover_samples_discarded_by_subsample.xml b/tools/mycrobiota/recover_samples_discarded_by_subsample.xml index 692ee83..0db9e9d 100644 --- a/tools/mycrobiota/recover_samples_discarded_by_subsample.xml +++ b/tools/mycrobiota/recover_samples_discarded_by_subsample.xml @@ -19,17 +19,17 @@ && if [ -z "\$samples"]; then - touch fasta.pick.dat; - touch group.pick.dat; + cp fasta2.dat final_fasta; + cp group2.dat final_group; else echo "get.groups(fasta=fasta.dat, group=group.dat, groups=\$samples)" | sed 's/ //g' | mothur; - fi - ## merge selected reads (fasta.pick.dat) with the fasta file from after sub.sample - && echo "merge.files(input=fasta2.dat-fasta.pick.dat, output=final_fasta)" | sed 's/ //g' | mothur + ## merge selected reads (fasta.pick.dat) with the fasta file from after sub.sample + echo "merge.files(input=fasta2.dat-fasta.pick.dat, output=final_fasta)" | sed 's/ //g' | mothur; - ## merge group files - && echo "merge.files(input=group2.dat-group.pick.dat, output=final_group)" | sed 's/ //g' | mothur + ## merge group files + echo "merge.files(input=group2.dat-group.pick.dat, output=final_group)" | sed 's/ //g' | mothur; + fi ]]> @@ -53,6 +53,15 @@ + + + + + + + + +