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

Uploaded Source

Built Distribution

bed2seq-0.3.2-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bed2seq-0.3.2.tar.gz
  • Upload date:
  • Size: 17.9 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.2.tar.gz
Algorithm Hash digest
SHA256 38f9be45b549f079b49dba2869e068ceeac702bfa56461a1c9cbee07fd3c72a0
MD5 9ece897c34355487964737d092add92d
BLAKE2b-256 3d2224c74ee63c2f0a0b4c5d695c56a81aac7f4bff1029e665f0614e572722b5

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: bed2seq-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 19.1 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 84b2af67b1a1117841f0f1c4d0528173b0a182e278fd0e4a996d9fd7f2677eb8
MD5 adb8035761cb950f956b5741b8dc02b7
BLAKE2b-256 8e063df3edd7da51e0338c87fba70dc8c2ea12e5679dcb0dd6102c9a0165edd7

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