For the given index number, find which amino acid is present in the given index number of the fasta sequence
0
0
Entering edit mode
2.3 years ago

For the given index number, find which amino acid is present in the given index number of the fasta sequence by python

index number = 138

fasta sequence = MVPPPPSRGGAARGQLGRSLGPLLLLLALGHTWTYREEPEDGDREICSESKIATTKYPCLKSSGELTTCYRKKCCKGYKFVLGQCIPEDYDVCAEAPCEQQCTDNFGRVLCTCYPGYRYDRERHRKREKPYCLDIDECASSNGTLCAHICINTLGSYRCECREGYIREDDGKTCTRGDKYPNDTGHEKSENMVKAGTCCATCKEFYQMKQTVLQLKQKIALLPNNAADLGKYITGDKVLASNTYLPGPPGLPGGQGPPGSPGPKGSPGFPGMPGPPGQPGPRGSMGPMGPSPDLSHIKQGRRGPVGPPGAPGRDGSKGERGAPGPRGSPGPPGSFDFLLLMLADIRNDITELQEKVFGHRTHSSAEEFPLPQEFPSYPEAMDLGSGDDHPRRTETRDLRAPRDFYP

fasta • 957 views
ADD COMMENT
0
Entering edit mode

seq[137]

ADD REPLY
0
Entering edit mode

i want it in python

ADD REPLY
0
Entering edit mode

That is in python. You would load in your fasta as a string, maybe called seq, and index your string to a desired position, in this case 137 (n-1 because python).

ADD REPLY

Login before adding your answer.

Traffic: 2308 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6