Skip to content
Snippets Groups Projects
Commit df417991 authored by Arnaud Kerhornou's avatar Arnaud Kerhornou
Browse files

Adding tRNA_pseudogenes to the array of genes objects when specified biotype is tRNA

parent 64926e35
No related branches found
No related tags found
No related merge requests found
......@@ -109,6 +109,10 @@ sub run_script {
if ($biotype) {
@objects = @{$object_adaptor->fetch_all_by_biotype($biotype)};
if ($biotype eq "tRNA") {
# Fetch also all tRNA_pseudogene genes
push (@genes, @{$object_adaptor->fetch_all_by_biotype('tRNA_pseudogene')});
}
} else {
@objects = @{$object_adaptor->fetch_all()};
}
......
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