This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Convert file.lst to file.fasta

Hi,

I am using the command:

seqtk subseq Virsvall.fasta out.file.unmapped.lst > file.unmapped.fasta

And it's not working. The error is:

[E::stk_subseq] could not read the list of regions in the file 'out.file.unmapped.lst'.

The lst file looks like the following

insert image description here

How can I fix it?

seqtk .lst subseq

Did you make the list file on a windows machine? Can you make sure the line endings are appropriate for unix by doing dos2unix out.file.unmapped.lst?

Another option to try would be filterbyname.sh from BBMap suite.

0 answers

No answers yet.

Log in to answer this question.