Skip to main content

A project for handling fiber-seq data.

Project description

fibertools

https://img.shields.io/pypi/v/fibertools.svg https://img.shields.io/travis/mrvollger/fibertools.svg Documentation Status Updates

A python package for handling Fiber-seq data.

Install

pip install fibertools

Features

usage: fibertools [-h] [-t THREADS] [-v] [-V] {bam2bed,add-m6a,add-nucleosomes,model,split,trackhub,bed2d4} ...

positional arguments:
{bam2bed,add-m6a,add-nucleosomes,model,split,trackhub,bed2d4}
                        Available subcommand for fibertools
    bam2bed             Extract m6a calls from bam and output bed12.
    add-m6a             Add m6A tag
    add-nucleosomes     Add Nucleosome and MSP tags
    model               Make MSP features
    split               Split a bed over many output files.
    trackhub            Make a trackhub from a bed file.
    bed2d4              Make a multi-track d4 file from a bed file.

optional arguments:
-h, --help            show this help message and exit
-t THREADS, --threads THREADS
                        n threads to use (default: 1)
-v, --verbose         increase logging verbosity (default: False)
-V, --version         show program's version number and exit

Add nucleosomes and MSPs to a fibertools-rs m6A bam

Create the model

fibertools add-nucleosomes --input input.bam > model.json

Add nucleosomes with the model:

fibertools add-nucleosomes --input input.bam --model model.json > output.bam

Note that by default the input bam file is read from stdin and the output bam file is written to stdout.

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.0 (2022-05-01)

  • First release on PyPI.

Project details


Download files

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

Source Distribution

fibertools-0.3.0.tar.gz (1.2 MB view hashes)

Uploaded Source

Built Distribution

fibertools-0.3.0-py2.py3-none-any.whl (28.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page