johnne / clean_asv_data Goto Github PK
View Code? Open in Web Editor NEWCode to clean up ASV clustering results and generate stats
License: MIT License
Code to clean up ASV clustering results and generate stats
License: MIT License
Create script to generate
resolved taxonomic annotation for all clusters in the corresponding counts file.
I am suggesting a simple approach where we sort the cluster annotations according to the number of reads. By definition, our clusters will be uniformly annotated down to the family level. From the genus level, I suggest we accumulate annotations by read number until we reach some critical threshold, like 50%. If we have a single annotation then, we use that annotation for the cluster. Otherwise we use an annotation like “unresolved” to indicate that there is ambiguity in the annotation of the cluster at that level. I like to use a distinct term, because the majority-rule annotation may well be something with “_X” or “unclassified”.
For Arthropoda:
At 80%, there are 724, 1258 and 2269 unresolved clusters
Script to generate a file with:
all ASVs with the total number of reads and the total number of samples in which they occur (and possibly other stats).
Script to generate a file with:
all clusters and their read numbers in all samples
Script to generate a file with:
a subset file of ASVs after removing clusters/ASVs unclassified at the family level (“_X” or “unclassified”), clusters with < 3 reads, and ASVs occurring in more than 20% of blanks.
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.