Skip to main content
# Metasort

A Digital Health Hack Weekend Project using OneCodex API.

Filter reads based on taxonomy assignment from OneCodex.

Upload a Fast(a/q) file and download individual files sorted by species.

## CLI

set your OneCodex API key

export ONE_CODEX_API_KEY=f8xxxxxxxxxxx78

source venv/bin/activate
pip install metasort

metasort seq.fq /path/to/outdir

example output:

wc -l /path/to/outdir/*.fq | sort -n -k1 | tail
19648 /path/to/outdir/Cellular organisms.fq
30016 /path/to/outdir/Staphylococcus aureus subsp. aureus.fq
81680 /path/to/outdir/Bacteria.fq
126364 /path/to/outdir/Staphylococcus epidermidis.fq
398684 /path/to/outdir/Staphylococcus.fq
2030880 /path/to/outdir/Firmicutes.fq
3195432 /path/to/outdir/Staphylococcus aureus.fq


## Web

Usage:

pip install -r requirements
python webapp.py

Live demo here:

[https://genome-sort.herokuapp.com/](https://genome-sort.herokuapp.com/)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

metasort-0.3.6.3.tar.gz (548.9 kB view details)

Uploaded Source

File details

Details for the file metasort-0.3.6.3.tar.gz.

File metadata

  • Download URL: metasort-0.3.6.3.tar.gz
  • Upload date:
  • Size: 548.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for metasort-0.3.6.3.tar.gz
Algorithm Hash digest
SHA256 9f2bed2d48de97b28b21f0ff4a1bb5fcb58247cf5b3185d5ea845d238e9b1b2b
MD5 8ed62e1f16ec489c97bf4a44757b8b8d
BLAKE2b-256 2743ffa4e9bc4484460d40bf448956dd38ac67906e39165c44ac4fe24593cd26

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.6.3 This release

1 file

0.3.6.2

1 file

0.3.6.1

1 file

0.3.6

1 file

0.3.5

1 file

0.3.4

1 file

0.3.3.2

1 file

0.3.3

1 file

0.3.1

1 file

0.3

1 file

0.2

1 file

0.1.2

1 file

0.1.1

1 file

0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page