Skip to content

Commit

Permalink
Changed the plant etc script to add versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
s-andrews committed Nov 3, 2017
1 parent 0a22e93 commit 67ab25b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Empty file modified Scripts/export_annotated_embl_from_assembly.pl
100644 → 100755
Empty file.
6 changes: 6 additions & 0 deletions Scripts/export_annotated_embl_from_plant_or_bacteria.pl
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,15 @@
use Bio::Location::Split;
use Bio::Location::Simple;
use Bio::EnsEMBL::DBSQL::OntologyDBAdaptor;
use Bio::EnsEMBL::ApiVersion;


$|++;

system("clear") == 0 or warn "Couldn't clear screen";

my $version = software_version();

my $registry = load_registry();

my $GO_adapter = $registry->get_adaptor( 'Multi', 'Ontology', 'GOTerm' );
Expand Down Expand Up @@ -177,6 +180,9 @@ sub process_genome {
warn "Processing genome ".$db_adapter->species()."\n";

my $assembly = $db_adapter->get_adaptor('coordsystem')->fetch_all->[0]->version();

$assembly .= "_v$version";

my $species = $db_adapter->species();

my $readable_species = $species;
Expand Down

0 comments on commit 67ab25b

Please sign in to comment.