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

Which vcf to get manhattan plots? #43

Open
Harper75 opened this issue Jun 2, 2023 · 8 comments
Open

Which vcf to get manhattan plots? #43

Harper75 opened this issue Jun 2, 2023 · 8 comments

Comments

@Harper75
Copy link

Harper75 commented Jun 2, 2023

Hello,

I am using RAISD to identify selective sweeps in three different populations of an insect and I have been having trouble to get manhattan plots from my analyses. I am wondering if is related to the type (or size) of the vcf used.

When I use a complete vcf (all the individuals from the three populations together) with no missing data, leaving only biallelic sites, non binned (or pruned) and with no MAF filtering, I will not get the plot. If I split that vcf in the three different populations and analyse each separately, I will not get plots either.

However, if I filter for maf (0.05), do the binning, remove missing data, leave only biallelic sites and split the vcf in the three different populations, I will get plots for each population. Nevertheless, I wont get a plot of this binned vcf if I do not do the split and leave the individuals from all the populations together.

Although I want to look for differences in selective sweeps between populations, the fact that I get plots from some vcf's and not others makes me wonder which is the vcf that should be used for the analyses? Could you please help me with this?

Thanks for your help!

@alachins
Copy link
Owner

alachins commented Jun 2, 2023 via email

@Harper75
Copy link
Author

Harper75 commented Jun 2, 2023

Thanks for your quick reply.

Yes I do get a report for each chromosome either with or without plot.

Thanks again

@alachins
Copy link
Owner

alachins commented Jun 6, 2023 via email

@Harper75
Copy link
Author

Harper75 commented Jun 6, 2023

Here they are!

Thank you very much for all your help.
report_raisd.zip

@alachins
Copy link
Owner

One of the sets does not contain any SNPs. This might be the reason that it didn' t generate the plot.
You can use the following ReportList and script to get the Manhattan plot.

rscript-manhattan.txt

RAiSD_ReportList.pop1.txt

@alachins
Copy link
Owner

You can call it like this: Rscript rscript-manhattan.txt pop1 0.995
and you get this (less sets in this example):
RAiSD_ManhattanPlot.pop1.pdf

@Harper75
Copy link
Author

Great, thanks a lot for your help!

@idaios
Copy link
Collaborator

idaios commented Jun 12, 2023 via email

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

3 participants