Skip to content
Snippets Groups Projects
Commit 15b2f05f authored by Alessandro Vullo's avatar Alessandro Vullo
Browse files

Method to check whether a genome is polyploid or not.

parent 939906fe
No related branches found
No related tags found
No related merge requests found
......@@ -1163,5 +1163,20 @@ sub get_alt_transcript_count {
return $self->{'alt_transcript_count'};
}
=head2 is_polyploid
Arg : None
Example : $is_polyploid = $genome->is_polyploid();
Description: Returns whether the genome is or is not polyploid.
Returntype : integer
Exceptions : none
Caller : general
Status : Stable
=cut
sub is_polyploid {
return shift->_meta_container->single_value_by_key('ploidy');
}
1;
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment