btmartin721 / raxml_ascbias Goto Github PK
View Code? Open in Web Editor NEWScript for removing or counting invariant sites for the RAxML ascertainment bias corrections
License: MIT License
Script for removing or counting invariant sites for the RAxML ascertainment bias corrections
License: MIT License
Hi again - Well I think your script runs fine but I noticed that there might be one small issue that could potentially inflate counts of the invariant sites. In fact I've tested this with another in-house script (its not quite as fast and I did not write it). Lets assume in Col 1 or any col for that matter there is one or 2 samples with an N at one position and every other genome contain bases at that position. Will your script call this position as a monomorphic site? Because my understanding is even if there are bases at all the other positions, that site is not considered monomorphic.
Based on your example...will this:
ANAT
AART
AAAG
AA-G
Produce this?
AT
AT
AG
AG
Thanks
When I try to run the script, I get the following error:
ValueError: not enough values to unpack (expected 2, got 0)
Any suggestions?
Hello I have some WGS samples and I ran gubbins following whole genome SNP alignment to remove recombinant sites which produces a phylip file. I used that as input and ran your script as stated in the readme python3 ./ascbias.py -p Gubbins.filtered_polymorphic_sites.phylip -o testout.phy
The output file just returns 0s....specifically 0 0 0 0.
Any clue and why that might be?
Hi,
I was using the ascbias.py script to remove the invariant sites. It seems to not work for me. I first converted my vcf file to phylip format using the script https://raw.githubusercontent.com/edgardomortiz/vcf2phylip/master/vcf2phylip.py, and then using this script to remove invariant sites for raxml phylogeny inference. But the phylip file after processing still contains IUPAC sites, and raxml was conplaining there are invariant sites in the input file that I shouldn't user the model GTR+ASC_LEWIS.
Do you know what could be the reason?
thanks,
Cui
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.