Repository navigation
Add discoMegablast keywords to qblast + test - #1470
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1470 +/- ##
==========================================
- Coverage 84.8% 84.78% -0.02%
==========================================
Files 321 321
Lines 49312 49323 +11
==========================================
+ Hits 41817 41819 +2
- Misses 7495 7504 +9
Continue to review full report at Codecov.
|
| megablast='on', | ||
| ), ['XM_635681.1', 'XM_008496783.1']) | ||
|
|
||
| def run_qblast(self, program, database, query, e_value, entrez_filter, additional_args, expected_hits): |
There was a problem hiding this comment.
You've inserted additional_args into the argument list, rather than adding it to the end. If this was a public API, that would be bad. As this is internal to the test script only, it should be fine.
There was a problem hiding this comment.
I wanted to keep expected_hits the last parameter for semantic reasons. I can change this so additional_args would be an optional keyword argument.
There was a problem hiding this comment.
OK, yes - that is a good enough reason.
| # the actin related protein 2/3 complex, subunit 1B [Mus musculus] | ||
| self.run_qblast("blastp", "nr", "NP_075631.2", 0.001, | ||
| "rat [ORGN]", ['9506405', '13592137', '37589612', '149064087', '56912225']) | ||
| "rat [ORGN]", dict(megablast='FALSE'), ['9506405', '13592137', '37589612', '149064087', '56912225']) |
There was a problem hiding this comment.
Style wise, avoid the very long line by using more line breaks.
Also why not write {'megablast': 'FALSE'} here (and likewise later on)?
There was a problem hiding this comment.
No special reason. I'll change it to {'megablast': 'FALSE'} then
|
I've noted some minor style things. @bow is this something you could review please? |
|
@peterjc Aside from the current comments, the rest seems fine ~. |
|
Changed the |
|
@mxposed Do you want to be listed and thanked by name in the NEWS.rst and CONTRIB.rst files? |
|
@peterjc I'll skip for now, thank you) |
|
@mxposed OK, that's fine. |
|
Merged, thank you for your contribution. |
Closes issue biopython#1879, part of biopython#898. The original author Jeff Chang and contributors since as recorded in version control have agreed: - Fábio Madeira (@biomadeira) biopython#898 (comment) - Benjamin Vaisvil (@bvaisvil) biopython#1613 - Carlos Pena (@carlosp420) biopython#898 (comment) - Chang Soon Ong (@chengsoonong) biopython#1879 (comment) - Christian Brueffer (@cbrueffer) biopython#898 (comment) - Brad Chapman (@chapmanb) http://mailman.open-bio.org/pipermail/biopython-dev/2013-July/019903.html - Christiam Camacho (@christiam) biopython#898 (comment) - Christopher Jenness (@christopherjenness) biopython#1535 - Iddo Friedberg (@idoerg) biopython#898 (comment) - Jeff Chang (@jefftc) biopython#898 (comment) - Michiel de Hoon (@mdehoon) biopython#898 (comment) - Jay Bird (@mxposed) biopython#1470 (comment) - Peter Cock (@peterjc) biopython#898 (comment) - Nick Semenkovich (@semenko) biopython#898 (comment) - Sjoerd de Vries biopython#1879 (comment) - Soroush Saffari (@sorsaffari) biopython#1819 - Suresh Panneerselvam (@Amrithasuresh) biopython#1575 - Vincent Davis (@vincentdavis) biopython#898 (comment) The one exception is Chris Wroe, who we have not been able to contact, but their small contribution from Feb 2004 was later deprecated and removed in 2007.
Closes issue #1879, part of #898. The original author Jeff Chang and contributors since as recorded in version control have agreed: - Fábio Madeira (@biomadeira) #898 (comment) - Benjamin Vaisvil (@bvaisvil) #1613 - Carlos Pena (@carlosp420) #898 (comment) - Chang Soon Ong (@chengsoonong) #1879 (comment) - Christian Brueffer (@cbrueffer) #898 (comment) - Brad Chapman (@chapmanb) http://mailman.open-bio.org/pipermail/biopython-dev/2013-July/019903.html - Christiam Camacho (@christiam) #898 (comment) - Christopher Jenness (@christopherjenness) #1535 - Iddo Friedberg (@idoerg) #898 (comment) - Jeff Chang (@jefftc) #898 (comment) - Michiel de Hoon (@mdehoon) #898 (comment) - Jay Bird (@mxposed) #1470 (comment) - Peter Cock (@peterjc) #898 (comment) - Nick Semenkovich (@semenko) #898 (comment) - Sjoerd de Vries #1879 (comment) - Soroush Saffari (@sorsaffari) #1819 - Suresh Panneerselvam (@Amrithasuresh) #1575 - Vincent Davis (@vincentdavis) #898 (comment) The one exception is Chris Wroe, who we have not been able to contact, but their small contribution from Feb 2004 was later deprecated and removed in 2007.
I hereby agree to dual licence this and any previous contributions under both
the Biopython License Agreement AND the BSD 3-Clause License.
I have read the
CONTRIBUTING.rstfile and understand that AppVeyor andTravisCI will be used to confirm the Biopython unit tests and
flake8stylechecks pass with these changes.