![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
For MAQ: Is there a Tool to convert sanger-format fastq file to illumina-fotmat fastq | byb121 | Bioinformatics | 6 | 12-20-2013 02:26 AM |
Convert fastq from NCBI SRA to fasta and qual? | kmkocot | Bioinformatics | 7 | 10-09-2012 10:15 AM |
How convert multiple .sra files into .fastq in one go? | TuA | Bioinformatics | 5 | 05-27-2011 09:32 AM |
sra-lite to fastq problem: no output | pickrell | Bioinformatics | 0 | 02-03-2011 12:26 PM |
Question about using sra_toolkit to transform the SRA format into FASTQ format | areyousad | Bioinformatics | 0 | 05-16-2010 11:56 PM |
![]() |
|
Thread Tools |
![]() |
#1 |
Junior Member
Location: san jose, ca Join Date: Nov 2010
Posts: 5
|
![]()
I am trying to dump sra-lite (sequence read archive) files to fastq format. On the NCBI Sequence Read Archive site it states:
...users are asked download runs of interest and execute dumps into the desired format using the SRA SDK toolkit available at http://www.ncbi.nlm.nih.gov/Traces/s...are&s=software I downloaded the precompiled toolkit for 64-bit architecture onto my macbookpro running snow leopard and tried to run the fastq-dump executable from the terminal, and get the error message "cannot execute binary file". Any guidance would be much appreciated! |
![]() |
![]() |
![]() |
#2 |
Member
Location: Durham Join Date: Oct 2010
Posts: 19
|
![]()
Although I can get their CentOS 64bit running, it's realy slow, take about 10hrs to unpack one file. I am also interested to know more about this new SRA-tools.
|
![]() |
![]() |
![]() |
#3 |
Junior Member
Location: san jose, ca Join Date: Nov 2010
Posts: 5
|
![]()
I just noticed they released a new MacOSX beta package.
I downloaded that one and entered in the terminal $./fastq-dump -A SRP000910 -D SRR070499.lite.sra Received error message: "memory exhausted while constructing memory map within file system module - failed to open 'SRR070499.lite.sra'" |
![]() |
![]() |
![]() |
#4 |
Peter (Biopython etc)
Location: Dundee, Scotland, UK Join Date: Jul 2009
Posts: 1,543
|
![]()
My guess is you download a 64bit Linux binary, which won't work on the Mac.
|
![]() |
![]() |
![]() |
#5 |
Junior Member
Location: san jose, ca Join Date: Nov 2010
Posts: 5
|
![]() |
![]() |
![]() |
![]() |
#6 |
Peter (Biopython etc)
Location: Dundee, Scotland, UK Join Date: Jul 2009
Posts: 1,543
|
![]() |
![]() |
![]() |
![]() |
#7 |
Junior Member
Location: san jose, ca Join Date: Nov 2010
Posts: 5
|
![]() |
![]() |
![]() |
![]() |
#8 | |
Senior Member
Location: Québec, Canada Join Date: Jul 2008
Posts: 260
|
![]()
I have to download and convert files to test Ray, the assembler I am working on (see a thread elsewhere on this forum).
My take on sratoolkit (I use /software/sratoolkit.2.0b4-2-centos_linux64/): It is slow, but it works. My guess is that data are compressed, using something like LIBBZ2 (it is just a guess). That explains the compression ratio as well as the slowness. Quote:
|
|
![]() |
![]() |
![]() |
#9 |
Peter (Biopython etc)
Location: Dundee, Scotland, UK Join Date: Jul 2009
Posts: 1,543
|
![]()
I'm not 100% sure how memmap works on the Mac, but it sounds like you should have enough RAM to load the whole file into memory (assuming no other memory hungry applications are running at the same time). Can you find a smaller example to test?
|
![]() |
![]() |
![]() |
#10 | |
Member
Location: Durham Join Date: Oct 2010
Posts: 19
|
![]()
Hi seb567,
How slow are you experiencing with fasta-dump? My experiene is this: my computer is Xeon 2.4G 4core, 12G RAM, fasta-dump takes 600 minutes to finish one sra file. I have tried the newest release and also different sra files. fastq-dump is always very slow. Thanks, Quote:
|
|
![]() |
![]() |
![]() |
#11 | |
Senior Member
Location: Québec, Canada Join Date: Jul 2008
Posts: 260
|
![]()
About 1-2 hours for a 2 GB sra file, though it is very approximated.
I downloaded all sra files for SRA010766, converted them from sra to fastq, then to fastq.gz. The script started yesterday 6 PM (EST). So yours is slower, way slower. Quote:
|
|
![]() |
![]() |
![]() |
#12 |
Junior Member
Location: san jose, ca Join Date: Nov 2010
Posts: 5
|
![]()
Thanks for the tips.
I got the fastq-dump working on an x-large amazon cloud instance running cent os ami. |
![]() |
![]() |
![]() |
#13 |
Junior Member
Location: Tehran Join Date: Jul 2011
Posts: 2
|
![]()
How to convert fastq format to sra files? is there any perl script for this conversion?
|
![]() |
![]() |
![]() |
#14 |
Senior Member
Location: germany Join Date: Oct 2009
Posts: 140
|
![]()
I want the table, that converts a byte from the sra file
into a sequence of nucleotides http://www.flutrackers.com/forum/showpost.php?p=507401 SRA toolkit sourcecode has "4na" and "2na" |
![]() |
![]() |
![]() |
#16 |
Senior Member
Location: germany Join Date: Oct 2009
Posts: 140
|
![]()
I found that other thread, saying that the format is complicated,
so there is no such table. http://seqanswers.com/forums/archive...p/t-12054.html I'm having problems with files >4GB and wanted to test it on a partially downloaded file first I have to split the large files, so they work with my programs. It's also faster, better for testing, dealing with 4GB files is tedious. I doubt that sra-tools will work with such splitted files Last edited by gsgs; 08-21-2013 at 04:47 AM. |
![]() |
![]() |
![]() |
#17 |
Senior Member
Location: germany Join Date: Oct 2009
Posts: 140
|
![]()
OK, I tried to download the file to my external drive, it took 5.5h ,
until an error message was displayed that the file couldn't be copied. Then I searched my main HD and found that it was put into a temporary file which had 4631463048 Bytes, so apparently >4GB is possible on my main drive but not on the external one. (Windows XP, computer bought in 2010 or 2011) I made a copy of that temporary file to another file on the maindrive, then I closed the error window, and indeed, the temporary file was deleted, but luckily I had the copy. As expected I can't copy that file to the external drive nor can I access it with any of my programs. But DOS-commands copy,type,find do work. So, I need a program that splits the big file into 2 smaller files, that can be assessed. |
![]() |
![]() |
![]() |
#18 |
Senior Member
Location: East Coast USA Join Date: Feb 2008
Posts: 7,088
|
![]()
If you are using 32-bit windows XP (which you likely are) this may not be possible. What kind of format do you have on your external drive? You may need NTFS for files > 4GB.
|
![]() |
![]() |
![]() |
#19 |
Devon Ryan
Location: Freiburg, Germany Join Date: Jul 2011
Posts: 3,480
|
![]()
Ah, yeah, I expect that the SRA format is pretty non-trivial from the various discussions of it. Honestly, if your computer is having issues with files ~4GB then you might just be better off using someone else's (though check if the drive is NTFS formatted), particularly if you're stuck on windows. Got a labmate with a Mac?
|
![]() |
![]() |
![]() |
#20 |
Senior Member
Location: germany Join Date: Oct 2009
Posts: 140
|
![]()
I cannot just switch to Win64, since I need all my old programs
that were written on 16bit or 32bit |
![]() |
![]() |
![]() |
Thread Tools | |
|
|