Bioinformatics in Python: DNA Toolkit. Part 6: Protein search in a reading frame

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024

Комментарии • 11

  • @josefinemeyer7708
    @josefinemeyer7708 6 дней назад +1

    amazing series!! thank you:)

  • @peciuma5485
    @peciuma5485 4 года назад +2

    Just found your channel. Thank you for creating these videos and sharing them!

  • @sohamshirolkar
    @sohamshirolkar 4 года назад +1

    awesome function...learnt so much and good explanation as well...

  • @viktordemenev9616
    @viktordemenev9616 4 года назад +2

    For anyone looking at the for loop that checks the length of current_prot list of strings, iterates over a range of values representing indexes and accessing the strings inside via index (hastebin.com/ifacavoxej.cs). While this is a classic use of for loop that can be seen in other C-like languages in various forms (i=0; i

  • @facetme
    @facetme Год назад

    Great video. Thanks. For this function, I tried iterating the aa sequence from the end. Mark the current "_" as an end. Append every seq with newly found “M” to proteins[]. It seems less time and space used.

  • @lstein8670
    @lstein8670 4 года назад +1

    Nice

  • @abdulrhmana.elshiekh383
    @abdulrhmana.elshiekh383 2 года назад +1

    I didn't understand the last for loop "for i in range(len(current_prot))" It should append the element in the 0th position, am I right?, then after each iteration it should append to the last position, what did i get wrong

    • @rebelScience
      @rebelScience  2 года назад +1

      Hey! Sorry for the late reply. At 7:15 I explain that the length is not the length of the string, but of the list of strings. This is needed so we can accumulate multiple protein sequences at the same time. [i] value is not the position of the character in the string, but a value in the list, to which we add 'aa' character.
      Try playing around with changing values and use the debugger as I showed in the video. Experiment. This way you can understand better what is going on.

  • @petrossss3
    @petrossss3 3 года назад +1

    Hi, first of all , you do perfekt Videos! Amazing ! I am a newbie and i have a question . if i run the code i take this results : The Proteins from this sequance are : ["M', 'G', 'K', 'I', '"] , normally i must take results like this : The Proteins from this sequance are : ['MGKI'] . But there are separate with comma ! The code is like this video and for the print in main , i write this protein_transl=str(proteins_from_rf(translateSeq))
    , print("The Proteins from this sequance are : " + protein_transl) !
    if someone knows where is the mistakes let me please know ! Thanks in Advance !