Skip to main content

A simple library and CLI tool to manipulate BED files

Project description

Build Status Docs Status JOSS Status DOI License: MIT

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 annotations
  • join: Joining of annotation files based on transcript names
  • gtf2bed: Conversion from GTF to BED format
  • convertChr: Conversion from UCSC to Ensembl chromosome names (and viceversa)
  • bed12tobed6: Conversion from bed12 to bed6
  • promoter: Promoter reporting
  • introns: Intron reporting
  • cds: CDS reporting
  • 3pUTR and 5pUTR: UTR reporting
  • validateFormat: 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


Download files

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

Source Distribution

bedparse-0.2.3.tar.gz (24.9 kB view details)

Uploaded Source

Built Distribution

bedparse-0.2.3-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

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

Hashes for bedparse-0.2.3.tar.gz
Algorithm Hash digest
SHA256 d1597b3de525a8d2e4ffe9ca73b2d6b59c1f54f0fe3ad248b42c2f36e50ce8f3
MD5 9b596fe9bd6f698c7e1f0c47dc83779a
BLAKE2b-256 b22ab106423e42993fe2eef7f506621c6140fed9a64c4d86d4132b2396db3ac9

See more details on using hashes here.

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

Hashes for bedparse-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fa0845901fe187b241b51e6356db4ec6d2db2ffb4e1eaa35efbc4a4d373e372b
MD5 4845c609674b07358f762174d41db6c9
BLAKE2b-256 7ecff552eeaa65598f9b8267b826a1741f84c228200099edc7e5a8dbacfaabc9

See more details on using hashes here.

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