Commit 04f89dde authored by Rayan  CHIKHI's avatar Rayan CHIKHI
Browse files

--max-size isnt recognized by prefetch?!

parent 262e1ba3
......@@ -79,7 +79,8 @@ def process_file(accession, region):
prefetch_start = datetime.now()
# 'is larger than maximum allowed: skipped' solved by:
# https://wiki.rc.hms.harvard.edu/display/O2/Aspera+to+download+NCBI+SRA+data
os.system('prefetch -X 35G '+accession)
#os.system('prefetch --max-size 35G '+accession)
os.system('prefetch '+accession)
prefetch_time = datetime.now() - prefetch_start
sdb_log(sdb,accession,'prefetch_time',int(prefetch_time.seconds))
os.system('mkdir -p tmp/')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment