-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
208 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,45 @@ | ||
[![Build Status](https://travis-ci.org/tleonardi/bedparse.svg?branch=master)](https://travis-ci.org/tleonardi/bedparse) | ||
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) | ||
|
||
[![Docs Status](https://readthedocs.org/projects/bedparse/badge/?version=master&style=flat)](https://bedparse.readthedocs.io/en/master/) | ||
[![JOSS Status](http://joss.theoj.org/papers/22763a3b37fde13e548e884edd3221fa/status.svg)](http://joss.theoj.org/papers/22763a3b37fde13e548e884edd3221fa) | ||
[![License: MIT](https://img.shields.io/badge/License-MIT-brightgreen.svg)](https://opensource.org/licenses/MIT) | ||
|
||
# Bedparse | ||
|
||
![](docs/bedparse.svg) | ||
|
||
Bedparse is a simple python module and CLI tool to perform common operations on BED files. | ||
|
||
It offers the following functionality: | ||
* Filtering of transcripts based on annotations | ||
* Joining of annotation files based on transcript names | ||
* Conversion from GTF to BED format | ||
* Conversion from UCSC to Ensembl chromosome names (and viceversa) | ||
* Conversion from bed12 to bed6 | ||
* Promoter reporting | ||
* Intron reporting | ||
* CDS reporting | ||
* UTR reporting | ||
It offers 11 sub-commands that implement the following functionality: | ||
* `filter`: Filtering of transcripts based on annotations | ||
* `join`: Joining of annotation files based on transcript names | ||
* `gtf2bed`: Conversion from GTF to BED format | ||
* `convertChr`: Conversion from UCSC to Ensembl chromosome names (and viceversa) | ||
* `bed12tobed6`: Conversion from bed12 to bed6 | ||
* `promoter`: Promoter reporting | ||
* `introns`: Intron reporting | ||
* `cds`: CDS reporting | ||
* `3pUTR` and `5pUTR`: UTR reporting | ||
* `validateFormat`: Check that the file conforms with the BED format | ||
|
||
## Installation | ||
|
||
Installing is as simple as: | ||
|
||
``` | ||
pip install bedparse | ||
``` | ||
|
||
## Basic usage | ||
|
||
The basic syntax in the form: `bedparse subcommand [parameters]`. | ||
|
||
For a list of all subcommands and a brief explanation of what they do, use: `bedparse --help`. | ||
|
||
For a detailed explanation of each subcommand and a list of its parameters, use the `--help` option after the subcommand's name, e.g.: `bedparse promoter --help` | ||
|
||
## Documentation | ||
|
||
Our documentation is hosted on [Read the Docs](https://bedparse.readthedocs.io/en/latest/). | ||
|
||
We also have a short [tutorial](https://bedparse.readthedocs.io/en/latest/Tutorial.html) to guide you through the basic functions. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
bedparse.bedline module | ||
======================= | ||
|
||
.. automodule:: bedparse.bedline | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
Oops, something went wrong.