0.0
No commit activity in last 3 years
No release in over 3 years
Takes a GFF and genomic sequence file, constructs CDS and when given a position and alternative base will report whether this change is in a coding region and if it results in a synonymous or non-synonymous mutation.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.4.2
~> 1.0.0
~> 1.6.4
>= 0
 Project Readme

bio-synreport¶ ↑

A gem that takes gene CDS sequences and GFF as input. From this a database is created and the user can interrogate the database object.The user may then pass a chromosome ID, a position and an alternative nucleotide. The database will return information about whether the suggested substitution creates a synonymous or non-synonymous substitution, and the identity of the changes as a hash with many attributes.

For example,

	 db = Bio::Util::SynReport.new(:gff => 'some_gff.gff', :fasta => 'some_cds.fa', :verbose => true)
	 chr, pos, ref,alt = 'Chr2', 15973794, 'C', 'T'
	 pp db.mutation_info(chr,pos,alt)

Would return something like,

{
:chr => 'Chr2', 
:strand => '-', 
:position => 15973794,
:original_codon => 'atg', 
:original_residue => 'Met', 
:mutant_codon => 'ttg', 
:mutant_residue => 'Lys', 
:position_in_codon => 1, 
:substitution_type => 'NON_SYN'
 }

To Do¶ ↑

The module isn’t the fastest thing in the world. Needs much speeding up…

Contributing to bio-synreport¶ ↑

  • Check out the latest master to make sure the feature hasn’t been implemented or the bug hasn’t been fixed yet

  • Check out the issue tracker to make sure someone already hasn’t requested it and/or contributed it

  • Fork the project

  • Start a feature/bugfix branch

  • Commit and push until you are happy with your contribution

  • Make sure to add tests for it. This is important so I don’t break it in a future version unintentionally.

  • Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.

Copyright © 2012 Dan MacLean. See LICENSE.txt for further details.