Skip to main content

From a BED file, return the sequences according to the genome supplied

Project description

bed2seq

From a BED file, return the sequences according to the genome supplied

Installation

Solution 1 (Preferred)

Install with pip

pip install bed2seq

Solution 2

Installation from github:

git clone https://github.com/Bio2M/bed2seq.git

The pyfaidx python package is required, install it with pip, apt or your preferred method.

usage

positional arguments:
  bed                   bed file

options:
  -h, --help            show this help message and exit
  -g genome, --genome genome
                        genome as fasta file
  -a APPEND, --append APPEND
                        enlarge the sequence ('-a 20' append 20 bp on each side)
  -r, --remove          only with '--append' option, keep only appended part
  -n, --nostrand        don't reverse complement when strand is '-'
  -o OUTPUT, --output OUTPUT
                        Output file (default: <input_file>-bed2seq.fa)
  -v, --version         show program's version number and exit

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

bed2seq-0.3.0.tar.gz (17.0 kB view details)

Uploaded Source

Built Distribution

bed2seq-0.3.0-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

Details for the file bed2seq-0.3.0.tar.gz.

File metadata

  • Download URL: bed2seq-0.3.0.tar.gz
  • Upload date:
  • Size: 17.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for bed2seq-0.3.0.tar.gz
Algorithm Hash digest
SHA256 cf55efd39b797fb784246564db982d5b9476a9a766679a23d90f566c1fa4910f
MD5 426a0da06c362ad8a307ddd4f99806bf
BLAKE2b-256 65f092e6a60008786f38989bd59f6be2c48030568fdf12899a2a1c6b25bc241a

See more details on using hashes here.

Provenance

File details

Details for the file bed2seq-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: bed2seq-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 17.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for bed2seq-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 832cea6811f42538ccf45f4bb7970031e06c32adae30e6c575636291b72afa7e
MD5 4311a1ff570f12f8607dfb5ee7fb587c
BLAKE2b-256 7c95af21c814c914fd6d2f6105c963c3b185ead1d29b2f39fface2326d8d0c2a

See more details on using hashes here.

Provenance

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