-
Notifications
You must be signed in to change notification settings - Fork 9
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
Does MAPpoly have an option for allotetraploids populations? #59
Comments
Allotetraploids behave like diploids so you can use mappoly by importing as a diploid crop. mappoly is also good at mapping outcrossing highly heterozygous populations. If your crop is a true allotetraploid and have true disomic pairing action then you need to treat it as a diploid from upstream processes including snp calling steps and aligning the data to two separate reference genomes (ie. chrom 1a chrom 1b etc.). |
Thanks a lot! I have the updog dosage call, as to my understanding fitpoly works only for arrays and mine is RADseq data. But I am not sure how to incorpore the sequence position information to reconstruct the recomb. fraction matrix. Is it possible to add this information without transform all to discrete data in a csv? It is important to use probability data as my depth is low and updog inputs the genotypes from the prior distribution, so I would have many low quality markers in my linkage maps. Ps. I tried with read_geno ploidy =2 with the csv format of the tutorials but I have the issue: Error in stats::chisq.test(x = seg.obs, p = seg.exp[names(seg.obs)]) : Thanks again |
If you use the less stable experimental build of MAPpoly using the below code
the chrom and genome.pos arguements are two vectors that are the same order of the markers in your multidog object. these two vectors will help you import from updog and include the genomic information. so assuming you have a dataframe with three columns describing your multidog object: marker, chrom, and genome position. in the same order of the markers in the multidog object you can just point the chrom and genome.pos to the second and third column respectively Lines 92 to 96 in c970ed7
hope this helps, if you get confused let me know i'll be glad to help, |
Thanks Jeekin! I don't have chromosome positions so I created the data frame from the updog output with marker and genome_position. However, when I run the code it says:
I double checked and they have the same number of markers (26210), I tried using a list after the prob.thres=0.8, and adding a chrom column with NA, but still have the same error. Any suggestion? |
is the f12nmarkpos object the dataframe you created? if so, the genome.pos needs to be a vector so you would set as 1st i would try the f12nmarkpos$genome_position 2nd i would try to make a third column and make it all 1 so |
Hello, many thanks for your quick answers. I am back with this dataset and now, I am having some troubles importing from updog. The file is huge as I didn't want to filter too much (170879 markers 122 individuals) and I am getting this error: Is it because I should filter the missing data before to have less markers? (I was planning doing the prob.thres = 0.80 to indirectly filter those) Many thanks! |
Thank you for developing MAPpoly and for the very well documented tutorials. I have a multiparenting population of allotetraploids, and I was wondering if there is any option in MAPpoly to work with allopolyploids, or if you have any suggestion for this
The text was updated successfully, but these errors were encountered: