deML icon indicating copy to clipboard operation
deML copied to clipboard

avoid prefix in output

Open rcosentino opened this issue 3 years ago • 3 comments

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.

rcosentino avatar Jan 11 '23 12:01 rcosentino

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

grenaud avatar Feb 09 '23 14:02 grenaud

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?

rcosentino avatar Mar 28 '23 13:03 rcosentino

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

grenaud avatar Mar 28 '23 17:03 grenaud