python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Get ID and protein sequences in biopython
I have this code.
from Bio import SeqIO
for seq_record in SeqIO.parse("aminoacids.txt", "fasta"):
print(seq_record.id)
print(repr(seq_record.seq))
Output:
NP_414584.1
Seq('MNT...
arteagavskiy
Votes: 0
Answers: 1
Finding CDRs (sequence) by its definition
I am puzzling to find the CDRs by its definition. Definition is to be matched with the previous and next sequence pattern (known as prefix and suffix respectively) and the CDR is between them. Moreove...
Hossain
Votes: 0
Answers: 0
Reading a sequence in pairs and increase the base by +1
I want to read a sequence Amino Acid Sequence ("ACDEFGHIKL") in a pair of predefined motif length lets say 3 and print it. output will be [ACD,EFG,HIK]. but next time I want to increase its ...
shivam
Votes: 0
Answers: 3
Parsing Specific lines from a pdb file using python
is there a way to parse the BFactor of a protein from its PDB file using Biopython/python?
I am trying with biopython but i am not able to fetch the b factor of the proteins of my interest.
arinjoy datta
Votes: 0
Answers: 0