Skip to content

generic protein alphabet for all translation output - #2929

Merged
peterjc merged 3 commits into
biopython:masterfrom
peterjc:simple_translation_alpha
May 29, 2020
Merged

peterjc merged 3 commits into
biopython:masterfrom
peterjc:simple_translation_alpha

Conversation

@peterjc

@peterjc peterjc commented May 29, 2020

Copy link
Copy Markdown
Member

i.e. Stop using the HasStopCodon and Gapped classes, and stop using the ExtendedIUPACProtein class too (since that doesn't cover stop or gap symbols).

See #2928 and more generally #2046.

  • 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.rst file, have run flake8 locally, and
    understand that AppVeyor and TravisCI will be used to confirm the Biopython unit
    tests and style checks pass with these changes.

  • I have added my name to the alphabetical contributors listings in the files
    NEWS.rst and CONTRIB.rst as part of this pull request, am listed
    already, or do not wish to be listed. (This acknowledgement is optional.)

i.e. Stop using the HasStopCodon and Gapped classes,
and stop using the ExtendedIUPACProtein class too
(since that doesn't cover stop or gap symbols).

See biopython#2928 and more generally biopython#2046.
@peterjc
peterjc requested a review from mdehoon May 29, 2020 12:31
@peterjc

peterjc commented May 29, 2020

Copy link
Copy Markdown
Member Author

Missed a test...

@mdehoon mdehoon left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You may as well throw out the alphabets while you're at it.

@peterjc

peterjc commented May 29, 2020

Copy link
Copy Markdown
Member Author

Step by step - this alone is taking longer than I expected.

@codecov

codecov Bot commented May 29, 2020 •

Copy link
Copy Markdown

Codecov Report

Merging #2929 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2929   +/-   ##
=======================================
  Coverage   83.97%   83.98%           
=======================================
  Files         321      321           
  Lines       52116    52085   -31     
=======================================
- Hits        43767    43743   -24     
+ Misses       8349     8342    -7     
Impacted Files Coverage Δ
Bio/SeqFeature.py 86.76% <ø> (ø)
Bio/Seq.py 98.03% <100.00%> (-0.16%) ⬇️
Bio/Align/AlignInfo.py 91.66% <0.00%> (+2.09%) ⬆️

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 25e6caf...b496751. Read the comment docs.

@peterjc

peterjc commented May 29, 2020

Copy link
Copy Markdown
Member Author

Seems the Travis Arm64 build is getting stuck, that's been failing lately anyway.

OK to merge this?

@peterjc
peterjc merged commit 800649e into biopython:master May 29, 2020
@peterjc
peterjc deleted the simple_translation_alpha branch May 29, 2020 14:51
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