[Bioperl-l] general question about possible attribute values

Florent Angly florent.angly at gmail.com
Wed Oct 24 17:25:25 EDT 2007

Have a look in Bio::Assembly::Contig::IO, that's where all the supported 
assembly input/output formats are located. It's convenient to use the 
BioPerl Deobfuscator:
'ace' and 'phrap' are the supported formats. The 'tigr' assembler format 
has been added in the CVS version recently too.

Dave Messina wrote:
> I couldn't find the formats for Bio::Assembly::Contig in any of the
> documentation either.
> In situations like these, I poke around in the code for methods that deal
> with whatever I'm looking for. In this case, I went to the pdoc for
> Bio::Assembly::Contig. In the synopsis, the assembly is loaded with
> Bio::Assembly::IO->new, and in Bio::Assembly::IO's Pdoc I found the
> _guess_format method:
> sub _guess_format {
>    my $class = shift;
>    my $arg   = shift;
> return unless defined($arg);
>    return 'ace'
>  if ($arg =~ /\.ace\.\d+$/i);
>    return 'phrap'
>  if ($arg =~ /\.phrap\.out$/i);
> }
> So it looks like 'ace' and 'phrap' are the two assembly formats that are
> supported.
> The other place where the question of formats often comes up is with
> sequence formats. Those are better documented, in the SeqIO HOWTO:
> http://www.bioperl.org/wiki/HOWTO:SeqIO#Formats
> Dave
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l

More information about the Bioperl-l mailing list