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.4.0.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bed2seq-0.4.0-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bed2seq-0.4.0.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for bed2seq-0.4.0.tar.gz
Algorithm Hash digest
SHA256 058b7f503071e9134fb8ce60343a4b7cb8a7f91400aa68d9f303548d8c46e5df
MD5 537b76a63ee8ce67df068a6dc9c2a781
BLAKE2b-256 e89961e9572ab330d9c5244ee112e29d37e4b9243c94b7a12cbcff40c17c7f76

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bed2seq-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 19.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for bed2seq-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5140b4f64c5525ed3ec8d10455bd718c4fd6c8c689658d17b335d7e86a107652
MD5 bfb4a072e03fc63ffec95358b49d34ce
BLAKE2b-256 4daa53248ee01b5608de0a368034a67ca4c878a4dc6d2e6fe45facf7f5193681

See more details on using hashes here.

Supported by

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