Skip to content

Add PIR writer support - #1370

Merged
peterjc merged 1 commit into
biopython:masterfrom
shuichiro-makigaki:add-pir-writer
Aug 22, 2017
Merged

peterjc merged 1 commit into
biopython:masterfrom
shuichiro-makigaki:add-pir-writer

Conversation

@shuichiro-makigaki

Copy link
Copy Markdown
Contributor

I hereby agree to dual license this and any previous contributions under both
the Biopython License Agreement AND the BSD 3-Clause License.

I am happy to be thanked by name in the NEWS.rst and
CONTRIB.rst files.

I have read the CONTRIBUTING.rst file and understand that AppVeyor and
TravisCI will be used to confirm the Biopython unit tests and flake8 style
checks pass with these changes.

@peterjc

peterjc commented Aug 21, 2017

Copy link
Copy Markdown
Member

Hello, thank you for working on this! Do you have a reason for needing PIR output? I added reading PIR to Bio.SeqIO but never used it for my own work.

As you will have seen, test_SeqIO.py covers the basic use of the new format - is there anything else you think ought to be tested directly?

And sorry, the TravisCI style checks failied due to a problem on the master branch - not your fault. That should be fixed on the master branch now...

@shuichiro-makigaki

Copy link
Copy Markdown
Contributor Author

Hello, thank you for working on this! Do you have a reason for needing PIR output? I added reading PIR to Bio.SeqIO but never used it for my own work.

I'm using PIR format writer for MODELLER (Template-based modeling tool) as personal work/research. (Indeed, I don't have an idea for another purpose...in the 21st century.)

As you will have seen, test_SeqIO.py covers the basic use of the new format - is there anything else you think ought to be tested directly?

Not for now. This patch is based on FASTA's, and the code is almost the same.

And sorry, the TravisCI style checks failied due to a problem on the master branch - not your fault. That should be fixed on the master branch now...

I will rebase my branch on master after it is fixed.

@peterjc

peterjc commented Aug 21, 2017

Copy link
Copy Markdown
Member

Thank you. It is interesting to know MODELLER wants PIR input.

The master branch should be fixed now, so please rebase the branch. You could also add yourself to the NEWS.rst and CONTRIB.rst files (which we sort alphabetically by first name).

@shuichiro-makigaki

Copy link
Copy Markdown
Contributor Author

Thanks.

Ooops, I forgot to add my name to the documents... Should I add it myself now?

@peterjc

peterjc commented Aug 21, 2017

Copy link
Copy Markdown
Member

GitHub is being very slow for me right now :(

If you can add yourself to the NEWS.rst and CONTRIB.rst that would be easiest for me, thank you.

MODELLER (template-based modeling tool) wants PIR format input.
This patch is based on FASTA's, and test cases are shared.
@codecov

codecov Bot commented Aug 21, 2017 •

Copy link
Copy Markdown

Codecov Report

Merging #1370 into master will increase coverage by <.01%.
The diff coverage is 89.13%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1370      +/-   ##
==========================================
+ Coverage   84.63%   84.64%   +<.01%     
==========================================
  Files         319      319              
  Lines       49001    49047      +46     
==========================================
+ Hits        41471    41514      +43     
- Misses       7530     7533       +3
Impacted Files Coverage Δ
Bio/SeqIO/__init__.py 84.43% <ø> (ø) ⬆️
Bio/SeqIO/PirIO.py 89.41% <89.13%> (-0.34%) ⬇️
Bio/NeuralNetwork/Gene/Schema.py 71.9% <0%> (+0.82%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c306fe2...4feb237. Read the comment docs.

@peterjc
peterjc merged commit 46209eb into biopython:master Aug 22, 2017
peterjc added a commit to biopython/biopython.github.io that referenced this pull request Aug 22, 2017
@peterjc

peterjc commented Aug 22, 2017

Copy link
Copy Markdown
Member

peterjc added a commit that referenced this pull request Sep 19, 2018
As the original author I have agreed, as have the contributors
since as per the git commit logs:

 - Olivier Morelle (@Oli4)
   #898 (comment)
 - Zachary Sailer (@Zsailer)
   #1450
 - Bertrand Néron (@bneron)
   #898 (comment)
 - Wibowo Arindrarto (@bow)
   #898 (comment)
 - Carlos Pena (@carlosp420)
   #898 (comment)
 - Christian Brueffer (@cbrueffer)
   #898 (comment)
 - Brad Chapman (@chapmanb)
   http://mailman.open-bio.org/pipermail/biopython-dev/2013-July/019903.html
 - Connor McCoy (@cmccoy)
   #898 (comment)
 - Eric Talevich (@etal)
   #898 (comment)
 - Wayne Decatur (@fomightez)
   #898 (comment)
 - Bertrand Néron (@freeh4cker)
   #898 (comment)
 - FGastaldello (@Gasta88)
   #1063
 - jchang (@jefftc)
   #898 (comment)
 - Uri Laserson (@laserson)
   #898 (comment)
 - Lenna Peterson (@lennax)
   #898 (comment)
 - Michiel de Hoon (@mdehoon)
   #898 (comment)
 - @morrme
   #1172 (comment)
 - Nick Negretti (@nimne)
   #1768 (comment)
 - Peter Cock (@peterjc)
   #898 (comment)
 - Shuichiro MAKIGAKI (@shuichiro-makigaki)
   #1370
 - Travis Wrightsman (@twrightsman)
   #898 (comment)
 - Thomas Schmitt (@wurstbonbon)
   #898 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants