R1.1.fasta means “Run1.Station1.fasta”,R2.1.fasta means “Run2.Station1.fasta”. Two RUNs use the same sample.
merge.files(input=R1.1.fasta-R2.1.fasta-R1.2.fasta-R2.2.fasta-R1.3.fasta-R2.3.fasta-R1.4.fasta-R2.4.fasta-R1.5.fasta-R2.5.fasta-R1.6.fasta-R2.6.fasta-R1.7.fasta-R2.7.fasta-R1.8.fasta-R2.8.fasta-R1.9.fasta-R2.9.fasta-R1.10.fasta-R2.10.fasta-R1.11.fasta-R2.11.fasta-R1.12.fasta-R2.12.fasta, output=merge.fasta)
merge.files(input=R1.1.names-R2.1.names-R1.2.names-R2.2.names-R1.3.names-R2.3.names-R1.4.names-R2.4.names-R1.5.names-R2.5.names-R1.6.names-R2.6.names-R1.7.names-R2.7.names-R1.8.names-R2.8.names-R1.9.names-R2.9.names-R1.10.names-R2.10.names-R1.11.names-R2.11.names-R1.12.names-R2.12.names, output=merge.names)
merge.files(input=R1.1.groups-R2.1.groups-R1.2.groups-R2.2.groups-R1.3.groups-R2.3.groups-R1.4.groups-R2.4.groups-R1.5.groups-R2.5.groups-R1.6.groups-R2.6.groups-R1.7.groups-R2.7.groups-R1.8.groups-R2.8.groups-R1.9.groups-R2.9.groups-R1.10.groups-R2.10.groups-R1.11.groups-R2.11.groups-R1.12.groups-R2.12.groups, output=merge.groups)
deunique.seqs(fasta=R1.1.fasta, name=R1.1.names)(do R1.1 to R2.12, total 24 *.deunique.fasta)
make.group(fasta=R1.1.deunique.fasta-R2.1.deunique.fasta-R1.2.deunique.fasta-R2.2.deunique.fasta-R1.3.deunique.fasta-R2.3.deunique.fasta-R1.4.deunique.fasta-R2.4.deunique.fasta-R1.5.deunique.fasta-R2.5.deunique.fasta-R1.6.deunique.fasta-R2.6.deunique.fasta-R1.7.deunique.fasta-R2.7.deunique.fasta-R1.8.deunique.fasta-R2.8.deunique.fasta-R1.9.deunique.fasta-R2.9.deunique.fasta-R1.10.deunique.fasta-R2.10.deunique.fasta-R1.11.deunique.fasta-R2.11.deunique.fasta-R1.12.deunique.fasta-R2.12.deunique.fasta, groups=MID01-MID01-MID02-MID02-MID03-MID03-MID04-MID04-MID05-MID05-MID06-MID06-MID07-MID07-MID08-MID08-MID09-MID09-MID10-MID10-MID11-MID11-MID12-MID12) (rename to merge2.groups)
unique.seqs(fasta=merge.fasta, name=merge.names)
align.seqs(fasta=merge.unique.fasta, reference=silva.bacteria.fasta, processors=2)
screen.seqs(fasta=merge.unique.align, name=merge.unique.names, group=merge.groups, start=28465, optimize=end, criteria=95, processors=2)
filter.seqs(fasta=merge.unique.good.align, vertical=T, trump=., processors=2)
unique.seqs(fasta=merge.unique.good.filter.fasta, name=merge.unique.good.names)
pre.cluster(fasta=merge.unique.good.filter.unique.fasta, name=merge.unique.good.filter.names, group=merge.good.groups, diffs=2)
[ERROR] Your name file contains XXXX valid sequences and your groupfile contains XXXXX, please correct
unique.seqs(fasta=merge.fasta, name=merge.names)
align.seqs(fasta=merge.unique.fasta, reference=silva.bacteria.fasta, processors=2)
screen.seqs(fasta=merge.unique.align, name=merge.unique.names, group=merge.groups, start=28465, optimize=end, criteria=95, processors=2)
filter.seqs(fasta=merge.unique.good.align, vertical=T, trump=., processors=2)
unique.seqs(fasta=merge.unique.good.filter.fasta, name=merge2.unique.good.names)
pre.cluster(fasta=merge.unique.good.filter.unique.fasta, name=merge.unique.good.filter.names, group=merge2.good.groups, diffs=2)
[ERROR] Your name file contains XXXX valid sequences and your groupfile contains XXXXX, please correct