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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: bed2seq-0.3.3.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/43.0 requests-toolbelt/0.9.1 requests/2.31.0 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for bed2seq-0.3.3.tar.gz
Algorithm Hash digest
SHA256 270bc35773ac394230005f68ccef4e9822e38f28e4038a2cd9ccc1455ddf7969
MD5 de310a5acb2655039fa90ee9992d388a
BLAKE2b-256 81d1690c5e0140a6f123be11effd4c4fb3b788c121c5a056b417bfaa309d637c

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: bed2seq-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 19.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/43.0 requests-toolbelt/0.9.1 requests/2.31.0 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for bed2seq-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fd8c6c144eb3e8bd692255871d47174ac07801f990ccf8e37ffe31da6f80aeab
MD5 f7963df5ec87f1346628f57fb6268dd7
BLAKE2b-256 6ebaf4cadf3fb220750f1bcc084c9b6e7e75b93765758909765fb7a0877512d6

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