The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Bio::Pipeline::Comparison::Generate::Evolve - Take in a reference genome and evolve it.

VERSION

version 1.123050

SYNOPSIS

Take in a reference genome and evolve it.

use Bio::Pipeline::Comparison::Generate::Evolve; my $obj = Bio::Pipeline::Comparison::Generate::Evolve->new(input_filename => 'reference.fa'); $obj->evolve; $obj->output_filename;

METHODS

evolve

Evolve the genome and introduce variation.

output_filename

Name of the output file. By default it gets generated from the input filename, but you can also pass in a name.

_base_change_probability

A Hash containing the mutation probablity of different bases. Can pass in new values or just use the defaults.

_snp_rate

The probability of a SNP occuring. Set by default but can be overridden.

_vcf_writer

A VCF file writer is created by default but you can pass one in if you like.

_evolve_base Take in a base and randomly evolve it.

SEE ALSO

AUTHOR

Andrew J. Page <ap13@sanger.ac.uk>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2012 by Wellcome Trust Sanger Institute.

This is free software, licensed under:

  The GNU General Public License, Version 3, June 2007