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

Allow for multiple stratification levels at once during functional classification #114

Open
droush opened this issue Apr 6, 2021 · 0 comments

Comments

@droush
Copy link
Collaborator

droush commented Apr 6, 2021

Taxonomic classification can be multiplexed to do multiple ranks at once, including the generation of read-to-rank maps for rank given rank.

For example,

woltka classify -i samdir -o . \
  -m taxid.map --nodes nodes.dmp --names names.dmp \
  -r none,free,phylum,class,order,family,genus,species \
  -u map_dir

However, a user is unable to pass a directory containing multiple read-to-rank maps to the classify function for functional stratification at multiple ranks.

i.e.

woltka classify \
  --input sam_dir \
  --coords coords.txt.xz \
  --map wol-to-protein.txt.xz \
  --names metacyc/23.0/protein_name.txt \
  --stratify read-to-rank-maps \
  --map-as-rank \
  --rank protein \
  --output protein.biom

I imagine we could implement this relatively easily, with some modifications for specifying output to take into account multiple ranks.

@qiyunzhu qiyunzhu reopened this Jun 27, 2021
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