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 Жыл бұрын
I forgot to remove the ''>" initially and it kept getting marked incorrect on Rosalind. Thanks for pointing this out!
@erinm46052 жыл бұрын
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
@rebelScience2 жыл бұрын
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.
@TheFunkogolik4 жыл бұрын
Thanks! Waiting for next one!
@sohamshirolkar4 жыл бұрын
great work!
@shantipriyabodeboina5604 жыл бұрын
Make more videos... really helpful..
@rebelScience4 жыл бұрын
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.
@danielajbq3 жыл бұрын
Youre my idol thank you!!!!
@TrungLe-rk9vp3 жыл бұрын
You try to give the video more brightness it will be great if you do
@Jonix-redhat4 жыл бұрын
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!
@rebelScience4 жыл бұрын
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.
@nardineharrab7 ай бұрын
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 !