I have 8 sff files that need to be processed together but 2 of them have the same barcode. So I have assigned a seprate oligo file to each sff file in sfffiles.txt because serparating out only one sff file did not work. As soon as sff.multiple() ist called it overwrites sfffiles.txt assigning 1 sfffiles.oligos to each sff file. The file sfffiles.oligos does not exist because I have created a single oligo file for each sff file and sff.multiple() stops.
I created a different sfffile.txt and named it something else and it works except that count.goups() ignores the group file for some mysterious reason. I would need to change the entire pipeline after sff.multiple() which would be ok but I would like to know if this behaviour of overwriting sfffiles.txt is a bug or a feature or iof I just don’t get it how to process sff files with the same barcode.
Did you get a chance to check out the sff.multiple wiki page, http://www.mothur.org/wiki/Sff.multiple? The sff.multiple can process sff file that have the same barcodes. In the wiki example the oligos files are all the same. Could you post the contents of the file you are giving sff.multiple, the command you are running and the output mothur is giving you?
the file sff_oligo.txt is the file that I am using now with the above content (ABA.sff sfffiles.oligos_ABA …). However, mothur still creates a new file sfffiles.txt assuming that I have everything in one oligo file (ABA.sff sfffiles.oligos …).
This works fine but I need to rename the files that are created by sff.multiple. Ok with me but not for the other users in the lab.