Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requirement of genotypic data for intermidiate generations #2

Open
yan-cheng-lin opened this issue Sep 11, 2024 · 5 comments
Open

Requirement of genotypic data for intermidiate generations #2

yan-cheng-lin opened this issue Sep 11, 2024 · 5 comments

Comments

@yan-cheng-lin
Copy link

yan-cheng-lin commented Sep 11, 2024

Hello,

It seems that the genotypic data of the intermidiate generations is essential for the analysis.
I'm interested in your program, however, I did not have any genotypic data of the intermidiate generations (G1-G3).
I have only genotypic data of founders and final DH lines.
Can I create sudo-parents with missing genotypic data instead?

Best regards,
YCL

@GoliczGenomeLab
Copy link
Owner

Dear @yan-cheng-lin,

Apologies for the late reply.

haploMAGIC was designed for detecting crossovers that occurred in specific meiotic events by comparing the parental genotypic sequences that recombined with the offspring sequence resulting from recombination events during meosis. So yes, unfortunately for you, haploMAGIC demands full pedigree and SNP sequence of all the individuals of the families (in your case, G0-G3) to be analyzed.

What is your population design? MAGIC or do you have the same common parent (NAM)?

Currently, I am working on a new tool that compares the last generation and the first generation inbred lines, that is the RILs/DHs and the founder lines, builds haplotype blocks and detects recombination events. I think that would be of interest for you.

All best,
@jamonterotena

@yan-cheng-lin
Copy link
Author

Hello @jamonterotena,

Thank you for your reply, and also sorry for my late reply.
The population is a eight founder MAGIC DH populations from funnel crossing design.

Currently, I had reconstructed the founder haplotype mosaic by hidden markov model.
However, due to the genotyping error and lack of polymorphism between some founders, the estimation of recombination would be quite bias, if I counted directly from the changing of haplotypes along chromosome.
Your new tool that compares directly from the last generation and the founder for recombination estimation would be interesting. I am looking forward to it.

Best regards,
YCL

@GoliczGenomeLab
Copy link
Owner

Dear @yan-cheng-lin,

I just uploaded haploRILs. I hope they can help you with your task 😃

Please, let me know if you have any issue using the code or suggestion for improvement. Also, I will probably add new functionalities regarding your struggle with lack of polymorphism, so stay updated about the latest versions!

Best regards,
@jamonterotena

@yan-cheng-lin
Copy link
Author

yan-cheng-lin commented Oct 18, 2024

Hi @jamonterotena,

Thanks for the updated, that looks great.
I already tried out haploRILs this morning.
The functions works for my data. (but I have to modify the path for the haploRILs_function.R)

I would like to ask for your opinion about the parameter setting {nSnp} {step} {K}.
I have 2.7M SNP in total, but I guess it would be better to use the subset ~50K SNP. And compare the stability of the results.
Thus, what values would you recommend to use with ~50K SNP for 10 chromosomes of maize dataset?

P.S. I got a lot of warning messages when running the code, maybe you can check for it.
"summarise() has grouped output by 'id', 'nSnp', 'K', 'blocksFiltered'. You
can override using the .groups argument."

Best regards,
Yan-Cheng

@GoliczGenomeLab
Copy link
Owner

I replied on the haploRILs issues section!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants