Skip to content

Commit

Permalink
correct POD: 'indices' => metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
fortune9 committed May 14, 2015
1 parent 0165fb4 commit 2c1815c
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 30 deletions.
26 changes: 17 additions & 9 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,25 @@ One amino acid can be encoded by more than one synonymous codon, and
synonymous codons are unevenly used. For example, some codons are used
more often than other synonymous ones in highly expressed genes
(I<Sharp and Li 1987>). To measure the unevenness of codon usage, multiple
indices of codon usage bias have been developed, such as Fop
metrics of codon usage bias have been developed, such as Fop
(Frequency of optimal codons), CAI (Codon Adaptation Index), tAI (tRNA
Adaptation Index), and ENC (Effective Number of Codons). Biased codon
usage is widespread, visible in all species. It is important both to
identify codons having high translational efficiency (often named
identify codons having high translational efficiency (often termed
optimal codons) and to study the distribution of codon usage among
genes (e.g., genes with more optimal codons versus genes with fewer
optimal codons).

So far, no software exists to compute all the above CUB indices, and
it is worse that parameters in existing software are often fixed,
so one can compute certain types of CUB indices for a limited list of
species and can not modify parameters. For example, when one wants to
So far, no software implements all the above CUB metrics in one place.
More importantly, parameters in existing software are often fixed,
so one can compute certain types of CUB metrics for a limited list of
species and cannot tune parameters. For example, when one wants to
identify optimal codons in certain tissues, it may be better to use
most highly expressed genes to calculate CAI index, which is
most highly expressed genes of that tissue to calculate CAI, which is
impossible with existing software.

This package mainly solves these two problems: providing tools
computing all common CUB indices and allowing users to tune parameters
computing all common CUB metrics and allowing users to tune parameters
freely. We also incorporate or extend some method variants, such as
GC-content corrected ENC, background-data normalized CAI, etc.
See the relevant methods' description in CUB classes for more details.
Expand All @@ -39,12 +39,15 @@ See the relevant methods' description in CUB classes for more details.

To install this module, run the following commands:

a. If install after downloading the package,

perl Makefile.PL
make
make test
make install

or install directly from CPAN as
b. install directly from CPAN as

cpan Bio::CUA

4. SUPPORT AND DOCUMENTATION
Expand Down Expand Up @@ -88,3 +91,8 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see L<http://www.gnu.org/licenses/>.

6. CITATION

Zhenguo Zhang and Daven C. Presgraves, CUA: a Flexible Codon Usage
Analyzer (In preparation)

35 changes: 22 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,35 @@
##1. Bio-CUA
##1. Bio-CUA

Version: 1.01

##2. Purpose
##2. Purpose

The aim of this distribution is to provide comprehensive and flexible
tools to analyze codon usage bias (CUB) and relevant problems.

One amino acid can be encoded by more than one synonymous codon, and
synonymous codons are unevenly used. For example, some codons are used
more often than other synonymous ones in highly expressed genes
(I<Sharp and Li 1987>). To measure the unevenness of codon usage, multiple
indices of codon usage bias have been developed, such as Fop
metrics of codon usage bias have been developed, such as Fop
(Frequency of optimal codons), CAI (Codon Adaptation Index), tAI (tRNA
Adaptation Index), and ENC (Effective Number of Codons). Biased codon
usage is widespread, visible in all species. It is important both to
identify codons having high translational efficiency (often named
identify codons having high translational efficiency (often termed
optimal codons) and to study the distribution of codon usage among
genes (e.g., genes with more optimal codons versus genes with fewer
optimal codons).

So far, no software exists to compute all the above CUB indices, and
it is worse that parameters in existing software are often fixed,
so one can compute certain types of CUB indices for a limited list of
species and can not modify parameters. For example, when one wants to
So far, no software implements all the above CUB metrics in one place.
More importantly, parameters in existing software are often fixed,
so one can compute certain types of CUB metrics for a limited list of
species and cannot tune parameters. For example, when one wants to
identify optimal codons in certain tissues, it may be better to use
most highly expressed genes to calculate CAI index, which is
most highly expressed genes of that tissue to calculate CAI, which is
impossible with existing software.

This package mainly solves these two problems: providing tools
computing all common CUB indices and allowing users to tune parameters
computing all common CUB metrics and allowing users to tune parameters
freely. We also incorporate or extend some method variants, such as
GC-content corrected ENC, background-data normalized CAI, etc.
See the relevant methods' description in CUB classes for more details.
Expand All @@ -37,13 +39,15 @@ See the relevant methods' description in CUB classes for more details.

To install this module, run the following commands:

a. If install after downloading the package,

perl Makefile.PL
make
make test
make install

or install directly from CPAN as
b. install directly from CPAN as

cpan Bio::CUA

##4. SUPPORT AND DOCUMENTATION
Expand Down Expand Up @@ -85,5 +89,10 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses/.
along with this program. If not, see L<http://www.gnu.org/licenses/>.

##6. CITATION

Zhenguo Zhang and Daven C. Presgraves, CUA: a Flexible Codon Usage
Analyzer (In preparation)

6 changes: 3 additions & 3 deletions lib/Bio/CUA.pm
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ One amino acid can be encoded by more than one synonymous codon, and
synonymous codons are unevenly used. For example, some codons are used
more often than other synonymous ones in highly expressed genes (I<Sharp
and Li 1987>). To measure the unevenness of codon usage, multiple
indices of codon usage bias have been developed, such as Fop
metrics of codon usage bias have been developed, such as Fop
(Frequency of optimal codons), CAI (Codon Adaptation Index), tAI (tRNA
Adaptation Index), and ENC (Effective Number of Codons). The causes of
CUB phenomena are complicated, including, mutational bias, selection on
translational efficiency or accurancy. CUB is one fundamental concept
in genetics.
So far, no software exists to compute all the above CUB indices, and
worse is that parameters of CUB calculations are often fixed in
So far, no software exists to compute all the above CUB metrics, and
more importantly parameters of CUB calculations are often fixed in
software, so one can only analyze genes in a limited list of species
and one can not incorporate its own parameters such as sequences of
highly expressed genes in a tissue.
Expand Down
6 changes: 3 additions & 3 deletions lib/Bio/CUA/CUB/Builder.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package Bio::CUA::CUB::Builder;
=head1 NAME
Bio::CUA::CUB::Builder -- A module to calculate codon usage bias (CUB)
indices at codon level and other parameters
metrics at codon level and other parameters
=head1 SYNOPSIS
Expand All @@ -31,9 +31,9 @@ indices at codon level and other parameters
Codon usage bias (CUB) can be represented at two levels, codon and
sequence. The latter is often computed as the geometric means of the
sequence's codons. This module caculates CUB indices at codon level.
sequence's codons. This module caculates CUB metrics at codon level.
Supported CUB indices include CAI (codon adaptation index), tAI (tRNA
Supported CUB metrics include CAI (codon adaptation index), tAI (tRNA
adaptation index), RSCU (relative synonymous codon usage), and their
variants. See the methods below for details.
Expand Down
4 changes: 2 additions & 2 deletions lib/Bio/CUA/CUB/Calculator.pm
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ Bio::CUA::CUB::Calculator -- A module to calculate codon usage bias
Codon usage bias (CUB) can be represented at two levels, codon and
sequence. The latter is often computed as the geometric means of the
sequence's codons. This module caculates CUB indices at sequence
sequence's codons. This module caculates CUB metrics at sequence
level.
Supported CUB indices include CAI (codon adaptation index), tAI (tRNA
Supported CUB metrics include CAI (codon adaptation index), tAI (tRNA
adaptation index), Fop (Frequency of optimal codons), ENC (Effective
Number of Codons) and their variants. See the methods below for
details.
Expand Down

0 comments on commit 2c1815c

Please sign in to comment.