Need to create a small artificial SRA file for unit testing
0
0
Entering edit mode
4.1 years ago

Hi folks. I'm looking for a way to create an SRA file from an artificial fastq file for the purpose of unit testing a SRA file loader. The resultant SRA file should be small in order to minimize automatic testing time. (ie the fastq fill has only 10 reads).

The closest thing I've found are latf-load and fastq-loader.py in the NCBI toolkits, which generate sub-directory structures with various pieces of information. Is there any way to go from that to an SRA file (keeping it local to the machine)

sequencing sequence • 891 views
ADD COMMENT
0
Entering edit mode

You can simulate random reads from a genome using randomreads.sh from bbtools. The resulting reads can be converted to .sra using sra-toolkit.

ADD REPLY
0
Entering edit mode

Hi! Thanks very much for the reply! What I'm actually looking for is the procedure to make the sra conversion. I wasn't able to find it in the sra-toolkit.

ADD REPLY
0
Entering edit mode

My question was answered at seqanswers: after using latf-load to prepare the data, the SRA file is created by "kar".

Thanks again for your reply!

ADD REPLY

Login before adding your answer.

Traffic: 3173 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