DOKK / manpages / debian 11 / roary / Bio::Roary::Output::CoreGeneAlignmentCoordinatesEMBL.3pm.en
Bio::Roary::Output::CoreGeneAlignmentCoordinatesEMBL(3pm) User Contributed Perl Documentation Bio::Roary::Output::CoreGeneAlignmentCoordinatesEMBL(3pm)

Bio::Roary::Output::CoreGeneAlignmentCoordinatesEMBL - Create an embl file for the header with locations of where genes are in the multifasta alignment of core genes

version 3.13.0

Create an embl file for the header with locations of where genes are in the multifasta alignment of core genes
use Bio::Roary::Output::CoreGeneAlignmentCoordinatesEMBL;

   my $obj = Bio::Roary::Output::CoreGeneAlignmentCoordinatesEMBL->new(
        output_filename => 'core_alignment_header.embl',
        multifasta_files => [
            't/data/multifasta_files/1.aln', 't/data/multifasta_files/outof_order.aln',
            't/data/multifasta_files/2.aln', 't/data/multifasta_files/3.aln'
        ],
        gene_lengths => {
            't/data/multifasta_files/1.aln'           => 1,
            't/data/multifasta_files/outof_order.aln' => 10,
            't/data/multifasta_files/2.aln'           => 100,
            't/data/multifasta_files/3.aln'           => 1000
        },
   );
   $obj->create_file;

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

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

This is free software, licensed under:

  The GNU General Public License, Version 3, June 2007
2019-11-08 perl v5.30.0