96a51024a383d56a2be823d61b10c09020d2f2cd,src/biotite/sequence/io/fasta/convert.py,,_convert_to_sequence,#Any#,192

Before Change


    except AlphabetError:
        pass
    try:
        return NucleotideSequence(nuc_seq_str, ambiguous=True)
    except AlphabetError:
        raise ValueError("FASTA data cannot be converted either to "
                         ""NucleotideSequence" nor to "ProteinSequence"")

After Change


    try:
        // For nucleotides uracil is represented by thymine and
        // there is is only one letter for completely unknown nucleotides
        return NucleotideSequence(seq_str.replace("U","T").replace("X","N"))
    except AlphabetError:
        pass
    try:
        if "U" in seq_str:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: biotite-dev/biotite
Commit Name: 96a51024a383d56a2be823d61b10c09020d2f2cd
Time: 2020-11-10
Author: patrick.kunzm@gmail.com
File Name: src/biotite/sequence/io/fasta/convert.py
Class Name:
Method Name: _convert_to_sequence


Project Name: biotite-dev/biotite
Commit Name: f4d2e082c97532863a01c89432164e23977c6108
Time: 2020-09-16
Author: patrick.kunzm@gmail.com
File Name: src/biotite/sequence/io/fasta/convert.py
Class Name:
Method Name: _convert_to_sequence


Project Name: biotite-dev/biotite
Commit Name: c56502495fe023f3fd918bdaf705fa857f0b7c5c
Time: 2018-06-21
Author: patrick.kunzm@gmail.com
File Name: src/biotite/sequence/io/fasta/convert.py
Class Name:
Method Name: _convert_to_sequence


Project Name: biotite-dev/biotite
Commit Name: d18240796dcf8d29006b60cf4e3e48907dff8b8e
Time: 2020-11-10
Author: patrick.kunzm@gmail.com
File Name: src/biotite/sequence/io/genbank/sequence.py
Class Name:
Method Name: _convert_seq_str