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)
You can simulate random reads from a genome using randomreads.sh from bbtools. The resulting reads can be converted to .sra using sra-toolkit.
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.