Trim galore error - directory completely empty
1
0
Entering edit mode
12 weeks ago
x • 0

I'm trying to run trim galore on multiple files (24), but I haven't gotten it to work. The code I'm using is:

 trim_galore /home/name/sequences -j 4 *.fastq.gz -o /home/name --paired

The last message produced is:

Output will be written into the directory: /home/name/
Input file '/home/name/sequences' seems to be completely empty. Consider respecifying!

I know for sure the folder is not empty. All the files are zipped (.fastq.gz). I made a separate folder with unzipped files (.fastq), and it's the same result. I've moved the position of --paired, because I saw somewhere it might work, but it didn't.

I'm running Linux Ubuntu on my Windows computer.

trimgalore • 487 views
ADD COMMENT
0
Entering edit mode

What is the output to file /home/name/sequences?

ADD REPLY
0
Entering edit mode
-bash: /home/name/sequences: Is a directory
ADD REPLY
1
Entering edit mode
12 weeks ago
GenoMax 148k

I am not a trim galore user but I don't think you can provide trimgalore with a directory name like you did. Based on the usage statement trimgalore is expecting options to follow the program name with input files at the end of the command.

Can you try the following

trim_galore  -j 4 -o /home/name/ --paired /home/name/sequences/*.fastq.gz 
ADD COMMENT
0
Entering edit mode

This seems to be working. Thanks!

ADD REPLY

Login before adding your answer.

Traffic: 2248 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6