This is a test version of Biostars. For the public version, visit https://www.biostars.org.
For the given index number, find which amino acid is present in the given index number of the fasta sequence

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

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).

0 answers

No answers yet.

Log in to answer this question.