Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/audy/genome-pipeline
Bacterial genome processing filters and utilities based on HTML-Pipeline
https://github.com/audy/genome-pipeline
Last synced: about 18 hours ago
JSON representation
Bacterial genome processing filters and utilities based on HTML-Pipeline
- Host: GitHub
- URL: https://github.com/audy/genome-pipeline
- Owner: audy
- Created: 2014-09-19T19:29:54.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-09-23T16:40:07.000Z (about 10 years ago)
- Last Synced: 2024-09-08T02:57:34.134Z (25 days ago)
- Language: Ruby
- Homepage:
- Size: 1.62 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Genome::Pipeline
Genome processing filters and utilities
Inspired by [HTML::Pipeline](https://github.com/jch/html-pipeline).
```ruby
require 'genome/pipeline'genome = Genome::Genome.new(File.open('genome.fasta'))
pipeline = Genome::Pipeline.new Filter::PRODIGAL,
Filter::tRNAscanannotated_genome = pipeline[genome]
```# Installation
With RubyGems:
```bash
$ gem install -P HighSecurity genome-pipeline
```With Bundler:
```ruby
gem 'genome-pipeline'
```## Filters
Pipelines are made up of filters. Here is a simple filter that predicts
amino-acid coding sequences using Prodigal```ruby
class ProdigalFilter < Filterdef transform
# run prodigal
# read GFF and add add features to `genome`
@result =
@genome.fasta do |path|
stdin, stdout, stderr = Open3.popen3("prodigal -f gff -i #{path}")
Features.from_gff(stdout.readlines)
endsuper
end
end
```## List of Filters
### Gene Prediction
- Prodigal [XX]
### TODO
feature finding software:
(act on genome sequence)
- Augustus
- tRNAscan
- rnammer (closed source)
- GeneMark (closed source)
- snap (no Bacterial HMM)
- prokka (see `add-prokka` branch)
- barrnap
- ARAGORN
- repeatscout
- repeatmasker
- trfFilters that act on features:
- Quality Filter (remove features below a confidence threshold)
## Genome Object
Genomes are currently read from FASTA files and stored as objects. My future
plan is to save to an XML similar to NCBI GFF XML format that way the output
from one filter can always be piped directly into the input of another
(basically, the same way as HTML-pipeline works since HTML is just XML).## License
The MIT License (MIT)
Copyright (c) 2014 Austin G. Davis-Richardson
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.