diff --git a/modules/Bio/EnsEMBL/Gene.pm b/modules/Bio/EnsEMBL/Gene.pm index d42dcca9bac5d485c5db14f140acc51131c57e68..4fa670d70731d95958e77b42b7bd90ccdeefbedf 100755 --- a/modules/Bio/EnsEMBL/Gene.pm +++ b/modules/Bio/EnsEMBL/Gene.pm @@ -1516,6 +1516,9 @@ sub havana_gene { my $biotype = $gene->biotype('protin_coding'); Description: Returns the Biotype object of this gene. When no biotype exists, defaults to 'protein_coding'. + When used to set to a biotype that does not exist in + the biotype table, a biotype object is created with + the provided argument as name and object_type gene. Returntype : Bio::EnsEMBL::Biotype Exceptions : none diff --git a/modules/Bio/EnsEMBL/Transcript.pm b/modules/Bio/EnsEMBL/Transcript.pm index d50e6c139722908d22517e033c7622754772a699..c1839bca75d4674e9b9768b3b3b3a06d766afee5 100755 --- a/modules/Bio/EnsEMBL/Transcript.pm +++ b/modules/Bio/EnsEMBL/Transcript.pm @@ -3220,6 +3220,9 @@ sub get_Gene { my $biotype = $transcript->biotype('protin_coding'); Description: Returns the Biotype object of this transcript. When no biotype exists, defaults to 'protein_coding'. + When used to set to a biotype that does not exist in + the biotype table, a biotype object is created with + the provided argument as name and object_type transcript. Returntype : Bio::EnsEMBL::Biotype Exceptions : none