A simple library and CLI tool to manipulate BED files
Project description
Bedparse
Bedparse is a simple python module and CLI tool to perform common operations on BED files.
It offers 11 sub-commands that implement the following functionality:
filter
: Filtering of transcripts based on annotationsjoin
: Joining of annotation files based on transcript namesgtf2bed
: Conversion from GTF to BED formatconvertChr
: Conversion from UCSC to Ensembl chromosome names (and viceversa)bed12tobed6
: Conversion from bed12 to bed6promoter
: Promoter reportingintrons
: Intron reportingcds
: CDS reporting3pUTR
and5pUTR
: UTR reportingvalidateFormat
: Check that the file conforms with the BED format
Installation
Installing is as simple as:
pip install bedparse
Basic usage
The basic syntax in the form: bedparse subcommand [parameters]
.
For a list of all subcommands and a brief explanation of what they do, use: bedparse --help
.
For a detailed explanation of each subcommand and a list of its parameters, use the --help
option after the subcommand's name, e.g.: bedparse promoter --help
Documentation
Our documentation is hosted on Read the Docs.
We also have a short tutorial to guide you through the basic functions.
Publications
If you use bedparse please cite the following paper:
Leonardi, (2019). Bedparse: feature extraction from BED files. Journal of Open Source Software, 4(34), 1228, https://doi.org/10.21105/joss.01228
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file bedparse-0.2.3.tar.gz
.
File metadata
- Download URL: bedparse-0.2.3.tar.gz
- Upload date:
- Size: 24.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1597b3de525a8d2e4ffe9ca73b2d6b59c1f54f0fe3ad248b42c2f36e50ce8f3 |
|
MD5 | 9b596fe9bd6f698c7e1f0c47dc83779a |
|
BLAKE2b-256 | b22ab106423e42993fe2eef7f506621c6140fed9a64c4d86d4132b2396db3ac9 |
File details
Details for the file bedparse-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: bedparse-0.2.3-py3-none-any.whl
- Upload date:
- Size: 21.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa0845901fe187b241b51e6356db4ec6d2db2ffb4e1eaa35efbc4a4d373e372b |
|
MD5 | 4845c609674b07358f762174d41db6c9 |
|
BLAKE2b-256 | 7ecff552eeaa65598f9b8267b826a1741f84c228200099edc7e5a8dbacfaabc9 |