Hi!
My first post here, so, sorry for the bad formatting.
I had a bioinformatics subject a year ago and I'm getting into it again.
I'm having some trouble going through fastx quality stats. I got an example from the classes I had, and the command line, was simple, I just want to output .txt
files, but the program is outputting .txt?
files.
fastx_quality_stats -i A_PE_1.fq -o A_PE_1.txt
The files are coming out as A_PE_1.txt?
instead of the intended.
I tried using the rename command without success.
Any help would be appreciated :)
Are you saying that the result files have a
?
in the name or you are not sure if the output file is in text format?You can look inside the file by doing
less file.txt
orcat file.txt
.yes. The results have a
?
in the file extension.The outputs are, for example
file.txt?
instead offile.txt
The files are ok, but with the
?
I can't transfer the file to my computer (using FileZilla), and the .txt extensions work just fine to transfer.what if you rename the entry for
-o
when running the tool, e.g.fastx_quality_stats -i A_PE_1.fq -o test.txt
? Did you type the command or did you copy and paste it from the class notes?I adapted the script to the files that I have.
I have a lot of samples, so renaming them to something else would make everything super confusing.
Can you answer that question? It is possible that you are copying and pasting some unseen character which is resulting in that additional
?
at end of file name. Have you tried to type the command out to see what happens.Yes, I have typed the command manually. Still gives me the .txt? at the end.
That is very odd. What OS are you using?
I suggest that you switch to using
seqkit stats
(https://bioinf.shenwei.me/seqkit/usage/#stats ). Fastx toolkit is a bit outdated at this time anyway.Using Ubuntu 16.04.6.
And I'll take a look at that ! Thanks :)
does that only happen with that specific tool?
Yes, it only happened with FastX quality stats