c56502495fe023f3fd918bdaf705fa857f0b7c5c,src/biotite/sequence/io/fasta/convert.py,,_convert_to_sequence,#Any#,181
Before Change
except AlphabetError:
pass
try:
return ProteinSequence(seq_str)
except AlphabetError:
raise ValueError("FASTA data cannot be converted either to "
"NucleotideSequence nor to Protein Sequence")
After Change
code = ProteinSequence.alphabet.encode_multiple(seq_str)
seq = ProteinSequence()
seq.code = code
return seq
except AlphabetError:
pass
try:
code = NucleotideSequence.alphabet_amb.encode_multiple(seq_str)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances 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: 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: ebf130728a857583c9d4c900e0e3f39718685d43
Time: 2019-05-24
Author: patrick.kunzm@gmail.com
File Name: src/biotite/sequence/io/genbank/sequence.py
Class Name:
Method Name: get_sequence