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)
In a virtualenv, 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 as fasta file
-e, --extend EXTEND extend the sequence ('-a 20' append 20 bp on each side)
-r, --remove only with '-e/--extend' option, keep only axtended part
-n, --nostrand, --nostranded
don't reverse complement when strand is '-'
-a, --add-columns ADD_COLUMNS [ADD_COLUMNS ...]
Add one or more columns to header (ex: '-a 3 AA' will
add columns 3 and 27). The first column is '1' (or 'A')
-d, --delimiter DELIMITER
with -a/--add-columns and a fasta format output,
specifies a delimiter (default: '|')
-o, --output OUTPUT Output file (default: <input_file>-bed2seq.tsv)
-v, --version show program's version number and exit
Project details
Release history Release notifications | RSS feed
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.2.tar.gz
(18.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
bed2seq-0.4.2-py3-none-any.whl
(19.8 kB
view details)
File details
Details for the file bed2seq-0.4.2.tar.gz.
File metadata
- Download URL: bed2seq-0.4.2.tar.gz
- Upload date:
- Size: 18.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9a47dab957a9a447e05999c9c2b4207ee97d8712f3b1de4477b71f3e14aeed5
|
|
| MD5 |
c914fccdf43900d42918b1ccbee157ad
|
|
| BLAKE2b-256 |
6b60728cf5e3fc584fb7bdaa8d2faae88641b8eae82b319ef5105deaefae6227
|
File details
Details for the file bed2seq-0.4.2-py3-none-any.whl.
File metadata
- Download URL: bed2seq-0.4.2-py3-none-any.whl
- Upload date:
- Size: 19.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b17d45391195e5ec6f0916aaa778cccf37547b967923c891c2874e311b4a161
|
|
| MD5 |
ea1e1f421640aeaf7c1f7f5ffa00bf75
|
|
| BLAKE2b-256 |
9d196007eb1e583a243b7b464c5a3c4aef9585d859e8e707be9854945c1faf66
|