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
SOaAS
psot.repository
Commits
6dbf885c
Commit
6dbf885c
authored
Aug 10, 2017
by
Lukas Jelonek
Browse files
Add chunkprocessing via drmaa
parent
8487d7da
Changes
1
Show whitespace changes
Inline
Side-by-side
psot/nextflow.py
View file @
6dbf885c
...
...
@@ -17,8 +17,9 @@ def flatten(d, parent_key='', sep='_'):
analysis_template
=
Template
(
'''
process ${id} {
executor 'drmaa'
input:
file fasta from for_${id}
file fasta from for_${id}
.splitFasta(by:100, file:'input')
output:
file "$${fasta}.${id}.results" into ${id}_results
...
...
@@ -74,7 +75,7 @@ process convert_${id}_to_json {
"""
}
'''
)
input_template
=
Template
(
''' file ${id}_result from ${id}_json'''
)
input_template
=
Template
(
''' file ${id}_result from ${id}_json
.collect()
'''
)
join_jsons_template
=
Template
(
'''
process join_documents {
...
...
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