changes to error handling and SRA downloads #11
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi,
Thanks very much for developing such a useful tool!
The ENA ftp server seemed to go down the other day and I noticed that
fastq-dl
was crashing rather than reverting to an SRA download. I've attempted to add a fix for this and have also added some other changes to the way SRA downloads are handled to avoid the temporary.sra
files from being stored in the default chache directory.In summary this pull request
prefetch
followed byfasterq-dump
when downloading using the SRA--split-3 --mem 1G
parameters infasterq-dump
. This should avoid cases of orphaned reads appearing in paired end files and hopefully increase the speed a bit (not tested).--force
option that will overwrite files if they already exist and if the checksum does not match (in the case of ENA downloads).I have only done some fairly limited testing so it is probably worth double checking that I haven't broken anything. I'm also not 100% sure I have been running the tool correctly so apologies if any of these changes were not necessary.