Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Rayan CHIKHI
serratus-batch-dl
Commits
04f89dde
Commit
04f89dde
authored
Jun 20, 2020
by
Rayan CHIKHI
Browse files
--max-size isnt recognized by prefetch?!
parent
262e1ba3
Changes
1
Show whitespace changes
Inline
Side-by-side
src/batch_processor.py
View file @
04f89dde
...
...
@@ -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/'
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment