Comments (1)
Hi Shriram,
Thank you for your careful observation. The default cutoff I set is 0.80 actually. I will revise it.
In practice, please use the 'python3 merge.py ' to cluster the strains with different cutoff values like 0.85, 0.90, 0.95, 0.97, and so on. The script will save the results for different cutoff values. You can choose a meaningful value in your analysis.
In the script, I set --qual to filter SNP with SNP quality. Also, I set --snp_ratio to filter SNP according to the comparison of locus' depth and species' mean depth. You can use these two parameters to filter the SNP. So, I think it is not very necessary to use DP and MAPQ to filter SNP.
I think you can use 'samtools tview' or other tools to look at the reads mapping at the SNP locus. If the SNP is not reliable, you can filter SNP with stricter criteria. It is useful to test with different criteria.
Best,
Shuai
from pstrain.
Related Issues (14)
- metaphlan3 support? HOT 5
- Use existing metaphlan3 run HOT 5
- Threading and parallelisation across species HOT 12
- Reproducibility HOT 5
- Error running PStrain_V30.py script HOT 19
- Error: File truncated at line 1 Could not build fai index out/test//ref//merged_ref.fa.fai HOT 26
- Tutorial issues with gzip files HOT 1
- How to make a marker gene? HOT 1
- Could not build fai index ./output/test//ref//merged_ref.fa.fai HOT 4
- The strain_RA.txt different from the intermediate metaphlan2_output.txt HOT 4
- Auto detection of dependenies HOT 1
- Java version for GATK? HOT 2
- A snippet offering a for-loop based config construction script HOT 1
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 pstrain.