Bio/SeqIO/Handler/GenericRichSeqHandler.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 36 | 61 | 59.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
460 | 0 | 0 | 0 | ref $factory and $factory->isa('Bio::Factory::LocationFactoryI') |
485 | 0 | 0 | 0 | ref $coll and $coll->isa('Bio::AnnotationCollectionI') |
544 | 1 | 0 | 30 | $date and $date =~ s/\s*((\d{1,2})-(\w{3})-(\d{2,4})).*/$1/ |
636 | 0 | 0 | 10 | defined $name and length $name |
721 | 4 | 0 | 24 | $gi and index($gi, 'GI:') == 0 |
817 | 26 | 0 | 30 | $seqformat eq 'genbank' and $data->{'ORGANISM'} =~ /(.+?)\s(\S+;[^\n\.]+)/ox |
832 | 1 | 0 | 16 | $data->{'CROSSREF'} and $data->{'CROSSREF'} =~ /NCBI_TaxID=(\d+)/ |
1091 | 777 | 41 | 0 | $primary_tag eq 'source' and exists $data->{'db_xref'} |
1092 | 0 | 1 | 35 | $self->{'_params'}{'-species'} and $data->{'db_xref'} =~ /taxon:(\d+)/mosx |
1113 | 818 | 0 | 0 | $seqid and not $loc->is_remote |
line | l | !l | condition |
---|---|---|---|
687 | 15 | 0 | $rest ||= '' |
839 | 30 | 26 | $data->{'ORGANISM'} || '' |
853 | 2 | 54 | $organelle ||= '' |
854 | 16 | 40 | $common ||= '' |
971 | 0 | 1 | $db || 'GenBank' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
311 | 1646 | 0 | 0 | $data->{'NAME'} || $self->throw('No name tag defined!') |
527 | 29 | 2 | 0 | $self->{'_params'}{'-alphabet'} eq 'dna' or @tokens > 2 |
657 | 3 | 10 | 4 | $seq_div eq 'Reviewed' || $seq_div eq 'STANDARD' |
2 | 2 | 0 | $seq_div eq 'Unreviewed' || $seq_div eq 'PRELIMINARY' | |
762 | 8 | 9 | 34 | $version =~ /\(Rel\. (\d+), Last sequence update\)/ or $version =~ /sequence version (\d+)\./ |
8 | 9 | 17 | $version =~ /\(Rel\. (\d+), Last annotation update\)/ or $version =~ /entry version (\d+)\./ | |
904 | 0 | 0 | 0 | $dbsrc =~ /(\S+)\.(\d+)/ or $dbsrc =~ /(\S+)/ |