SUPER-FOCUS file type suggestion

14 views
Skip to first unread message

mrhue...@gmail.com

unread,
Mar 13, 2017, 9:13:57 PM3/13/17
to Edwards Lab Tools
Hello,

Just wanted to mention a small issue I ran into when attempting to use SUPER-FOCUS. The files I have are in fastq format, but the file extension is .fq. I ran into an error because of a check used in the superfocus.py script (i.e., files=[ii for ii in os.listdir(myproject["-q"]) if ii.split(".")[-1].upper() in ["FASTA","FASTQ","FNA","FA"] ]) which doesn't recognise the .fq extension. Luckily I know a bit of Python so I can fix this myself, but others may be confused as to why the program isn't running.

Thanks,
Zac.

Geni

unread,
Mar 14, 2017, 2:10:10 AM3/14/17
to Edwards Lab Tools
Hi Zac, thanks for the observation. 
I had to limit the extensions on the program because the user may pass a folder with some files that are neither fasta or fastq format so I tried to guess which extensions the user would pass.

I just committed an update of the program to github that accepts .FQ

Best
Reply all
Reply to author
Forward
0 new messages