Convert in fastq format a list of SRA files
Hello everyone
I have different SRR files in SRA format, how can i covert them into fastq format with cmd? Fastq-dump work on a single SRR file, but my aim is convert every SRR from a certain SRP. I'm able to download the entire SRP with related SRR with pysradb.
Any suggest? Thanks
• 1,288 views
•
link
1 answer
Use a loop or GNU parallel to run the conversion serially or in parallel on each file, see the last chunk of code in this tutorial for inspiration (remove the part with prefetch from that code chunk):
There are also many other threads on exactly this topic, please search around.
Fast download of FASTQ files from the European Nucleotide Archive (ENA)
• 0 views
•
link
Log in to answer this question.
You can use a loop to go through every file you need to convert or use a more advanced application like
gnu parallelto do something more elaborate. If you are working on a cluster you can submit multiple parallel jobs withfastq-dumpat the same time.