Skip to content

Count the frequency of amminoacids in the protein sequence #2

@KristinaGagalova

Description

@KristinaGagalova

That can be done through a package or a counter in python.

Input:

test_protein_sequence: "MADEEKLPPGWEKRMSRSSGRVYYFNHITNASQWERPSGNSSSG"
test_name_sequence: "my_protein"

Output:

{
 'A': 2,
 'C': 0,
 'D': 1,
 'E': 4,
 'F': 1,
 'G': 5,
 'H': 1,
 'I': 1,
 'K': 2,
 'L': 1,
 'M': 2,
 'N': 2,
 'P': 2,
 'Q': 1,
 'R': 4,
 'S': 7,
 'T': 1,
 'V': 2,
 'W': 2,
 'Y': 2
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions