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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix options of cljam.algo.pileup/pileup #146
Conversation
Codecov Report
@@ Coverage Diff @@
## master #146 +/- ##
==========================================
+ Coverage 85.72% 85.73% +0.01%
==========================================
Files 69 69
Lines 4826 4831 +5
Branches 469 469
==========================================
+ Hits 4137 4142 +5
Misses 220 220
Partials 469 469
Continue to review full report at Codecov.
|
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.
LGTM 馃憤
384c207
to
c15393a
Compare
Added a minor change and amended the commit. |
Codecov Report
@@ Coverage Diff @@
## master #146 +/- ##
==========================================
+ Coverage 85.72% 85.99% +0.27%
==========================================
Files 69 70 +1
Lines 4826 5020 +194
Branches 469 472 +3
==========================================
+ Hits 4137 4317 +180
- Misses 220 231 +11
- Partials 469 472 +3
Continue to review full report at Codecov.
|
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.
Looks good. Thank you for fixing that.
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.
Thanks! The code body looks fine, but the descriptions of options
are missing in mpileup
and create-mpileup
. I think you should add the same as pileup
description or statements referring to pileup
docstring.
src/cljam/algo/pileup.clj
Outdated
@@ -187,8 +196,8 @@ | |||
|
|||
(defn mpileup | |||
"Pile up alignments from multiple sources." | |||
[region & sam-readers] | |||
(apply align-pileup-seqs (map #(pileup % region) sam-readers))) | |||
[region options & sam-readers] |
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.
A description of options
is missing in docstring.
@@ -197,6 +206,8 @@ | |||
([in-sam in-ref out-mplp] | |||
(create-mpileup in-sam in-ref out-mplp nil)) | |||
([in-sam in-ref out-mplp region] | |||
(create-mpileup in-sam in-ref out-mplp region nil)) | |||
([in-sam in-ref out-mplp region options] |
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.
A description of options
is missing in docstring.
@totakke Thanks for taking a look! I've added some docstrings. |
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.
馃憤
Summary
ignore-overlaps?
option tocljam.algo.pileup/pileup
min-base-quality
iszeronot positiveTests
lein check
馃啑lein test :all
馃啑