Rosalind Problems: GC Content, FASTA File Format, Data Processing

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

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

  • @kanefoster8780
    @kanefoster8780 4 года назад +4

    Elegant code explained so well! This content is such a lifeline for people like me who've learnt the language but none of the extra tricks you're including. Having a great time with these vids, looking forward to more

  • @meltemtutar4673
    @meltemtutar4673 11 месяцев назад

    I forgot to remove the ''>" initially and it kept getting marked incorrect on Rosalind. Thanks for pointing this out!

  • @erinm4605
    @erinm4605 2 года назад +3

    I keep receiving errors for my return 1.strip() for 1 in f.readlines portion of the code, I then tried arranging it in multiple ways until finally I got it to work with just having f.readlines and no other part but my output was different. My output was not organizing itself, basically outputting the same thing and when i got later in the code, it wasnt processing the gc count only giving me 0.0. How do i fix this? Am i missing a package to process that portion of the code, i know i have biopython and pip im not sure what im missing

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

      Hi Erin! Let's see:
      It is hard to tell what is going on as you did not provide any info on what error you are seeing.
      We can only guess here.
      * "keep receiving errors for my r 1.strip() for 1 in f.readlines portion of the code"
      If the variable name is 1, this might be the problem. Variable names can't be just a number. Try calling it my_sequence or something. Also, error should tell you exactly what is wrong.
      * "How do i fix this? Am i missing a package to process that portion of the code, i know i have biopython and pip I am not sure what I am missing"
      You don't need any packages for DNA Toolkit series, as we create everything from scratch. BioPython is a library/package that has a lot of functionality, already written for us. We don't use that. pip - is a package installer, so this also has nothing to do with the code we are working on in the DNA Toolkit series.
      Please join one of our communities in Telegram or Matrix, as it is easier to share code and screenshot there, and we have a lot of people who can help there too. All the links are in the description of every video.

  • @shantipriyabodeboina560
    @shantipriyabodeboina560 4 года назад +4

    Make more videos... really helpful..

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

      Hey! Thank you very much. I am really and truly glad it helped you. And I will make more videos. As this is not my main thing, the frequency of the videos is not great now, but I really love making them and I hope I can have a stable release cycle soon. I am still learning how to present things too.

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

    great work!

  • @TrungLe-rk9vp
    @TrungLe-rk9vp 2 года назад +1

    You try to give the video more brightness it will be great if you do

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

    Thanks! Waiting for next one!

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

    Youre my idol thank you!!!!

  • @Jonix-redhat
    @Jonix-redhat 4 года назад +2

    this might be a noob question because I only have ~1 month experience of python as well...but why do you use parenteses (key, value), it works without to? Is it just to make it easier to read or does it have some other function? thank you very much for your videos!

    • @rebelScience
      @rebelScience  4 года назад +3

      Hey! Sorry for the late reply. Yes, it is just for readability and probably my "old-school" habits from C/C++ days. I need to work on consistency I guess. But what is very good though, is you, realizing things like that and bringing them up. Just shows that you are very into it.

  • @nardineharrab
    @nardineharrab 5 месяцев назад +1

    am i the only one who tried all the possible solutions but the script either give me a 100% if the string only contains G and C or 0% if else !