Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added 'U' to non-ambiguous nucleotides to calculate gc_fraction #4727

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Lucandia
Copy link

  • 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 pre-commit
    locally, and understand that continuous integration checks 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.)

Closes #4722
The nucleotide 'U' is added to the non-ambiguous nucleotides to calculate the GC content (gc_fraction function in SeqUtils). In this way, the gc_fraction supports RNA sequences (added a test for it). 'U' is also added to gc_values in order to calculate the weighted gc_fraction.

@Lucandia Lucandia requested a review from peterjc as a code owner May 13, 2024 10:56
Copy link
Member

@peterjc peterjc left a comment

Choose a reason for hiding this comment

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

This look good to me - @MarkusPiotrowski can you give a quick second opinion?

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.

GC content for RNA sequences
2 participants