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

data orgin #1

Open
conniecl opened this issue Nov 20, 2017 · 3 comments
Open

data orgin #1

conniecl opened this issue Nov 20, 2017 · 3 comments

Comments

@conniecl
Copy link

conniecl commented Nov 20, 2017

Hi, Wang @lepisorus,
I want to calculate the D statistic as you show in the script Dstatistics/abba-baba.sh
, but I'm confused about the Tripsacum.fa you use as the ancestral genome, since Tripsacum do not have a reference genome ? And how to get the Tripsacum.fa? Sincerely hope can get your advice, and thanks in advance.

/data004/software/GIF/packages/ANGSD/0.614/angsd -doAbbababa 1 -blockSize 1000 -anc /home/lwang/lwang/SRA/Tripsacum/Tripsacum.fa -doCounts 1 -bam ${BAMLIST} -uniqueOnly 1 -minMapQ 30 -minQ 20 -minInd 3 -P 8 -checkBamHeaders 0 -rf /home/lwang/lwang/SRA/scaffoldNamesWithData.txt -out ${OUTFILE}

@lepisorus
Copy link
Contributor

Hi, Thanks for your interests. The tripsacum fasta file was generated via ANGSD, extracting consensus sequence from bam files. Please refer to "angsd.abba-baba.sh" for instructions.

@conniecl
Copy link
Author

conniecl commented Nov 21, 2017

Hi @lepisorus ,
Thanks for your kindly explanation, I used the command as you show in "angsd.abba-baba.sh" , after using the unique map bam file and raw bam file, the result(Tripsacum.fa) is very different, may be caused by the coverage? Is there any suggestion about the bam file? Since I'm confused about it.
Besides, I also try to caculate the fd_introgression based on your scripts, but why you choose Mexican lowland as the reference population(P1), instead of other landrance? And thanks again

@lepisorus
Copy link
Contributor

lepisorus commented Nov 21, 2017 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

2 participants