-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Longread coverage workflow #82
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.
How can I test this ? All test profiles fail because of missing data
We will be reviewing test data for automated testing shortly. Currently tested locally with both S and L size parameters. |
What's the command-line for running the tests ? |
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.
Why did you replace sort
with bedtools sort
? The authors themselves say it's not very useful, cf the disclaimer at the bottom of https://bedtools.readthedocs.io/en/latest/content/tools/sort.html
bin/findHalfcoverage.py
Outdated
action="store", type="string", dest="depth", | ||
help="depthgraph file, bp count at each depth") | ||
parser.add_option("-w", "--wiggle", | ||
action="store", type="string", dest="wig", default=5, |
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 that the value is kept as a float, not a string
action="store", type="string", dest="wig", default=5, | |
action="store", type="float", dest="wig", default=5, |
bin/findHalfcoverage.py
Outdated
action="store", type="string", dest="wig", default=5, | ||
help="wiggle room to add to depth cutoff ie 30X + wiggleroom. Default is 5X") | ||
parser.add_option("--cut", | ||
action="store", type="string", dest="covcut", default=60, |
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.
action="store", type="string", dest="covcut", default=60, | |
action="store", type="float", dest="covcut", default=60, |
bin/findHalfcoverage.py
Outdated
|
||
if options.wig == None: | ||
options.wig = 5 | ||
|
||
if options.covcut == None: | ||
options.covcut = 60 | ||
|
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 needed anymore
if options.wig == None: | |
options.wig = 5 | |
if options.covcut == None: | |
options.covcut = 60 | |
bin/findHalfcoverage.py
Outdated
action="store", type="string", dest="covcut", default=60, | ||
help="%Number for coverage cutoff to include in results. ie 50% of scaffold needs to be under diploid peak etc. Default is 60%") | ||
parser.add_option("-t", "--totalsize", | ||
action="store", type="string", dest="totsize", default=250000, |
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.
action="store", type="string", dest="totsize", default=250000, | |
action="store", type="int", dest="totsize", default=250000, |
Updated findHalfCoverage.py with corrections. |
Added long read coverage workflow and required modules for it.
PR checklist
nf-core lint
).nextflow run . -profile test,docker --outdir <OUTDIR>
).docs/usage.md
is updated.docs/output.md
is updated.CHANGELOG.md
is updated.README.md
is updated (including new tool citations and authors/contributors).