Comments (6)
Hi Jethro,
I suspect that there may be a genotype somewhere in the geno file that is causing problems. What I recommend is to try making a very small input file of just a few hundred lines and running on 1 thread to see if you get the same issue. If not, try extending the number of lines you include until you get the error. Hopefully this will locate the issue.
Best wishes,
Simon
from genomics_general.
Hi Jethro, I suspect that there may be a genotype somewhere in the geno file that is causing problems. What I recommend is to try making a very small input file of just a few hundred lines and running on 1 thread to see if you get the same issue. If not, try extending the number of lines you include until you get the error. Hopefully this will locate the issue. Best wishes, Simon
Hello Simon,
Thank you for your reply!
I have tried different scripts and it seems the following script will solve my problem.
python /home/location_to_software/genomics_general-master/phylo/phyml_sliding_windows.py -T 20 -g geno.beagle.vcf.gz --prefix --prefix geno.beagle.phyml_bionj.w10k -w 10000 --windType coordinate --model GTR -M 50
However, as I used TWISS to quantify the frequency of alternative phylogenetic topologies in sliding windows along the genome, it happens to be that among those possible species topologies, the most common topology exhibited different topology with NJ tree constructed by 4DTV SNPs. The reason why I used 4DTV SNPs to construct NJ trees is that only 4DTV NJ tree was as same as the genome phylogenetic tree among those species. For the whole genome SNPs will get an inconsistent result. This kind of problem also happens when I try to use Treemix software, So if it is possible, could you give me some advice?
Sincerely,
Jethro
from genomics_general.
Dear Jethro,
It is mathematically possible that the most common topology using twisst for windows along the genome is not the same as the genome-wide best topology. So I'm not sure there is a problem here?
Simon
from genomics_general.
Dear Jethro, It is mathematically possible that the most common topology using twisst for windows along the genome is not the same as the genome-wide best topology. So I'm not sure there is a problem here? Simon
Hello Simon,
Thanks for your reply!
Yeah, I agree with your idea that the genome-wide best topology is just a mathematical result, so it comes to me that if I specify the outgroups simonhmartin/twisst/issues/#44 https://github.com/simonhmartin/twisst/issues/44 like your answer in this issue, will the result be different?
Or will the result be different, if I use change a model like, RaxML model?
Sincerely,
Jethro
from genomics_general.
Hi Jethro,
I'm sorry I never got back to you on this. I don't really understand your question. Different tree inference methods give different results, but specifying an outgroup in TWISST does not change the result, it only changes the way the trees are represented (rooted vs unrooted).
from genomics_general.
Hi Jethro, I'm sorry I never got back to you on this. I don't really understand your question. Different tree inference methods give different results, but specifying an outgroup in TWISST does not change the result, it only changes the way the trees are represented (rooted vs unrooted).
OK, I understood, thank you for your answer.
from genomics_general.
Related Issues (20)
- filterGenotypes does not accept 'randomAlleles' as an output format HOT 6
- In the results of popgenWindows.py, Dxy > Fst HOT 2
- Can ABBA script was used with only one sample per species/population HOT 1
- ABBABABAwindows.py "TypeError: slidingCoordWindows()" HOT 2
- IndexError: list index out of range - freq & sfs HOT 2
- error with popgenWindows.py: "All populations must be represented by at least one sample." HOT 2
- ABBABABAwindows.py output halts half-way through scaffold (possibly due to outgroup?) HOT 2
- Query Regarding Fst Calculation Method in popgenWindows.py HOT 1
- popgenWindows only runs on some scaffolds HOT 4
- Error with parseVCF.py HOT 1
- raxml_sliding_windows.py::Unable to identify outgroups HOT 2
- filterGenotypes.py, popgenWindows.py, popsFile "nan" HOT 1
- Something wrong with popgenWindows.py HOT 1
- Empty outfile from popgenWindow.py
- Some bugs in popgenWindows.py HOT 5
- AssertionError: Sample ploidy (2) doesn't match number of sequences (8) HOT 1
- popgenWindows.py Dxy estimates are large with vcf with invariant sites HOT 7
- How to cite ? HOT 2
- ValueError: Sample B5 at Chr01:18606751 genotype . does not match explected ploidy of 2 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from genomics_general.