-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🧹 D3b-ify Sentieon Updates #15
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems good overall, just some small concerns and edits. Not sure if you can address or Haodong needs to
$include: ../scripts/get_dnascope_model.py | ||
arguments: | ||
- position: 0 | ||
valueFrom: 'pip install pyyaml requests;' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure I am a big fan of having to install a package every time. Can we find/create an image that has what's needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Normally I'd agree but:
- this isn't part of the workflow and would only be run in a one-off context
- there really isn't a good docker out there that has pyyaml and requests built in
secondaryFiles: | ||
- pattern: .fai | ||
required: true | ||
- pattern: ^.dict |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it that the dict is not actually needed, or the tool will create it if it doesn't exist?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hard to say. The tool is a bit of a panacea so it might be required for different run modes but not for everything.
prefix: --minimap2_args | ||
util_sort_args: | ||
type: string? | ||
doc: "Extra arguments for sentieon util sort (default: '--cram_write_options version=3.0,compressor=rans')" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So --util_sort_args takes in by default an arg that looks like an option? Maybe it's a wrapper thing that's not apparent from here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's what it says. Seems like it's the equivalent of doing "extra args"
- pattern: .crai | ||
required: false | ||
outputBinding: | ||
glob: ["*.cram", "*.bam"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
glob: ["*.cram", "*.bam"] | |
glob: "*.[b|cr]am" |
this works too, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No. Haodong is leveraging the fact that CWL's glob declaration can take an array of strings. What you're probably thinking about is *.{b,cr}am
which would be a singular string that can grab both BAMs and CRAMs. Both solutions are acceptable.
Co-authored-by: Miguel Brown <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
send it!
Description
Ports over the changes made by Sentieon to their Long Reads workflows.
Integrates their new CLI tool and models
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Test Configuration:
Checklist: