How to solve Mendel's First Law problem on Rosalind

  Рет қаралды 1,695

Sugar, splice, and studies in mice

Sugar, splice, and studies in mice

Күн бұрын

Пікірлер: 21
@priyaltripathi1832
@priyaltripathi1832 8 ай бұрын
Thankyou so much! I absolutely loved your explanation and was able to solve this question so easily. I'm really grateful.
@ian565
@ian565 3 жыл бұрын
thanks for taking the time to make this, I was stuck for a little bit but I was able to solve it after you drew out the tree diagram.
@alexkesin
@alexkesin 3 жыл бұрын
Thank you so much for the walkthrough!!!!!! The tree diagram helped me conceptualize this problem a lot :) What I did a little differently was that I hard coded finding the chances for each scenario (dom-dom, dom-hetero...recessive-hetero, recessive-dom, etc), multiplied the scenario by its respective probability (e.g. rec-hetero * .5), and then found what the sum of all of the scenarios that could yield dominant phenotypes over the total number of scenarios. Hope that makes sense :p
@nikitamaurya4518
@nikitamaurya4518 9 ай бұрын
Hi, this code does not provide the correct answer. Can you please help me?
@osominor419
@osominor419 3 жыл бұрын
Thank you so much! I had been banging my head on the keyboard for 3 days because of this
@nikitamaurya4518
@nikitamaurya4518 9 ай бұрын
Hi, this code does not provide the correct answer. Can you please help me?
@alexandrupavilcu
@alexandrupavilcu 2 жыл бұрын
Very good explanation, I finally solved it! Thank you so much!
@nikitamaurya4518
@nikitamaurya4518 9 ай бұрын
Hi, this code does not provide the correct answer. Can you please help me?
@Matik01ns
@Matik01ns 2 жыл бұрын
Thank you so much for explanation!
@Hiraeth_hiraeth
@Hiraeth_hiraeth 5 ай бұрын
very helpful! thank you~
@ahnafrahman5805
@ahnafrahman5805 5 ай бұрын
Hi! Why use numpy at all? def calculate_probability(k, m, n): total = k + m + n # Calculate probabilities for each genotype combination prob_aa_aa = (n / total) * ((n - 1) / (total - 1)) prob_Aa_aa = (m / total) * (n / (total - 1)) prob_Aa_Aa = (m / total) * ((m - 1) / (total - 1)) * 0.25 prob_dom = 1 - prob_aa_aa - prob_Aa_aa - prob_Aa_Aa return prob_dom k, m, n = 16, 26, 15 result = calculate_probability(k, m, n)
@SabbirAhmedSozol
@SabbirAhmedSozol 4 жыл бұрын
Question was confusing thank you for the explanation.. make more videos.. really helpful..
@sugarspliceandstudiesinmic754
@sugarspliceandstudiesinmic754 4 жыл бұрын
omg I'm glad it helped!! I will definitely try to post more!
@nikitamaurya4518
@nikitamaurya4518 9 ай бұрын
This code does not provide the correct answer. Please help.
@khaidirkhaizuki378
@khaidirkhaizuki378 4 жыл бұрын
Good video... I really hope you doing more
@tedarcher9120
@tedarcher9120 3 жыл бұрын
My solution is : D = 2 H = 2 R = 2 S = D + H + R P_R = (R/S)*((R-1)/(S-1)+H/((S-1)*2)) P_H = 0.5*(H/S)*(R/(S-1)+(H-1)/((S-1)*2)) print(1-(P_R+P_H)) Where D is the number of dominant organisms, H is the number of heterozygous organisms and R is the number of recessive organisms.
@nikitamaurya4518
@nikitamaurya4518 9 ай бұрын
Thanks for sharing! can you please share how did you derive P_R and P_H formula
@nikitamaurya4518
@nikitamaurya4518 9 ай бұрын
My answer is 0.83 instead of 0.78.
@Jacob-sl6ur
@Jacob-sl6ur 3 жыл бұрын
Yeah I understood nothing unfortunately, but that's just because my brain is smoother than the smooth ER. I had to copy your code, sorry :/
Rosalind Problems: GC Content, FASTA File Format, Data Processing
17:02
Pedigree Analysis
30:30
Nicole Lantz
Рет қаралды 328 М.
小路飞和小丑也太帅了#家庭#搞笑 #funny #小丑 #cosplay
00:13
家庭搞笑日记
Рет қаралды 10 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 29 МЛН
When Cucumbers Meet PVC Pipe The Results Are Wild! 🤭
00:44
Crafty Buddy
Рет қаралды 62 МЛН
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 33 МЛН
American was shocked by 7 Slavic countries word differences!!
15:29
World Friends
Рет қаралды 850 М.
Obsolete Meat / Hatsune Miku & Kasane Teto
3:49
32ki
Рет қаралды 5 МЛН
Rosalind Problems: Fibonacci, Rabbits and Recurrence Relations
15:08
Rosalind Problems: Counting DNA Nucleotides
8:23
rebelScience
Рет қаралды 25 М.
I never understood why you can't go faster than light - until now!
16:40
FloatHeadPhysics
Рет қаралды 4,1 МЛН
1st & 2nd Mendelian Laws | Genetics 🧬
5:32
Medicosis Perfectionalis
Рет қаралды 35 М.
ITZY "Imaginary Friend" M/V
3:52
JYP Entertainment
Рет қаралды 12 МЛН
AVOID THIS NONSENSE FROM ENGLISH WITH LUCY, ENGLISH WITH VENYA PAK, POC ENGLISH, VERONIKA LANGUAGE
25:03
English for Everyone with Kevin and Liza
Рет қаралды 10 М.
The first 20 hours -- how to learn anything | Josh Kaufman | TEDxCSU
19:27
小路飞和小丑也太帅了#家庭#搞笑 #funny #小丑 #cosplay
00:13
家庭搞笑日记
Рет қаралды 10 МЛН