grenaud / deML

Maximum likelihood demultiplexing
GNU General Public License v3.0
46 stars 14 forks source link

avoid prefix in output #15

Open rcosentino opened 1 year ago

rcosentino commented 1 year ago

Hi, is it possible to avoid the additional prefix when demultiplexing fastq files? I would like the output files to have as prefix the name assigned in the index file. When i put a folder name as output, all the files end up starting with underscore.

grenaud commented 1 year ago

My apologies for the delay in replying. Can you try: /path/directory/fileprefix ?

rcosentino commented 1 year ago

Thanks for your reply. I don't understand your suggestion. But I think the problem is that i was not clear in my question. i have and index file like this:

#index1 index2 Name
ACAT GACT Sample1
GACT CTGA Sample2

I would like the demultiplexed fastq files to end up in a folder named "demultiplexed" and the demultiplexed files to be named "Sample1_r1.fq.gz" ; "Sample1_r2.fq.gz" ; "Sample2_r1.fq.gz" and "Sample2_r2.fq.gz". So i run the following deML command: deML -i index_info.txt -f read1.fq.gz -r read2.fq.gz -if1 iread1.fq.gz -if2 iread2.fq.gz -o ./demultiplexed/

The output files end up in the correct folder but they have and underscore at the beginning (e.g. "_Sample1_r1.fq.gz"). Is there any way to avoid that underscore?

grenaud commented 1 year ago

My apologies, I should have been more verbose, I means that if you want as output: /path/directory/fileprefix use -o /path/directory/fileprefix