Skip to main content
# bayerstraits_16s
# This is a temp version of bayerstraits_16s
## Introduction
* bayerstraits_16s infers traits by 16S
* input: otu table (-t) and otu sequences (-s)
* requirement: mafft
* Optional: fasttree
![alt text](https://raw.githubusercontent.com/caozhichongchong/bayerstraits_16s/master/Methodology.png)

## Install
`pip install bayerstraits_16s`\
in preparation: `anaconda download caozhichongchong/bayerstraits_16s`

## Test (any of these two commands)
`bayerstraits_16s --test`\
`bayerstraits_16s -t your.otu.table -s your.otu.seqs`

## Availability
in preparation: https://anaconda.org/caozhichongchong/bayerstraits_16s

https://pypi.org/project/bayerstraits_16s

## How to use it
1. test the bayerstraits_16s\
`bayerstraits_16s --test`

2. try your data\
`bayerstraits_16s -t your.otu.table -s your.otu.seqs`\
`bayerstraits_16s -t your.otu.table -s your.otu.seqs -top 2000`\
Warning: please keep the exactly same OTU IDs in your.otu.table and your.otu.seqs!

3. use your own traits\
`bayerstraits_16s -t your.otu.table -s your.otu.seqs --rs your.own.reference.16s --rt your.own.reference.traits`

* your.own.reference.16s is a fasta file containing the 16S sequences of your genomes\
\>Genome_ID1\
ATGC...\
\>Genome_ID2\
ATGC...

* your.own.reference.traits is a metadata of whether there's trait in your genomes (0 for no and 1 for yes)\
Genome_ID1 0\
Genome_ID1 1

## Results
The result dir of "Bayers_model":
* `filename.infertraits.txt`: the OTUs inferring as butyrate-producing bacteria (1.0, 0.5)
and non-butyrate-producing bacteria (0.0).
* `filename.infertraits.abu`: the total abundance of butyrate-producing bacteria in all samples.
* `filename.infertraits.otu_table`: the otu_table of butyrate-producing bacteria in all samples.

The result dir of "Filtered_OTU":
* Some temp files of filtered OTUs, alignment, and tree.

## Copyright
Copyright: An Ni Zhang, Prof. Eric Alm, Alm Lab in MIT\
Citation: Not yet, coming soon!\
Contact: anniz44@mit.edu

Metadata

Release files for bayerstraits_16s 1.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bayerstraits_16s 1.0.6
File Size Uploaded Provenance Actions
bayerstraits_16s-1.0.6.tar.gz 1.6 MB Without provenance Details for bayerstraits_16s-1.0.6.tar.gz

Release files / bayerstraits_16s-1.0.6.tar.gz

Download URL bayerstraits_16s-1.0.6.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
bdf4e790330d1f616a306843b3dd6d576b6f5285f6f34d4d195bce0490ceef4b
BLAKE2b-256 checksum
How to use checksums
06c87ce4bc38f28824e2c9d455fdccd99d2986207e74b2fab8a27892b049de51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.7

Security for bayerstraits_16s 1.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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