Skip to content

Commit

Permalink
Stopped forcing eutheria_odb10
Browse files Browse the repository at this point in the history
We will fix that properly in #100
  • Loading branch information
muffato committed Feb 26, 2024
1 parent 81c53c6 commit 3800af8
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [[1.1.1](https://github.com/sanger-tol/genomenote/releases/tag/1.1.1)] [2024-02-26]

### Enhancements & fixes

- Stopped forcing the `eutheria_odb10` BUSCO lineage to be used for all mammals.
This to synchronise this pipeline with the [BlobToolKit pipeline](https://github.com/sanger-tol/blobtoolkit).

## [[1.1.0](https://github.com/sanger-tol/genomenote/releases/tag/1.1.0)] - Golden Retriever - [2024-01-04]

### Enhancements & fixes
Expand Down
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: sanger-tol/genomenote v1.1.0
title: sanger-tol/genomenote v1.1.1
message: >-
If you use this software, please cite it using the
metadata from this file.
Expand Down Expand Up @@ -34,5 +34,5 @@ identifiers:
repository-code: "https://github.com/sanger-tol/genomenote"
license: MIT
commit: TODO
version: 1.1.0
version: 1.1.1
date-released: "2022-10-07"
6 changes: 2 additions & 4 deletions bin/get_odb.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,8 @@ def get_odb(ncbi_summary, lineage_tax_ids, file_out):
# Do the intersection to find the ancestors that have a BUSCO lineage
odb_arr = [lineage_tax_ids_dict[taxon_id] for taxon_id in ancestor_taxon_ids if taxon_id in lineage_tax_ids_dict]

# The most recent [-1] OBD10 lineage is selected, unless one of the lineage values is "eutheria", then choose "eutheria"
# NOTE: this rule is a guess that hasn't been confirmed by Karen
odb_val = "eutheria_odb10" if "eutheria_odb10" in odb_arr else odb_arr[-1]

# The most recent [-1] OBD10 lineage is selected
odb_val = odb_arr[-1]
out_dir = os.path.dirname(file_out)
make_dir(out_dir)

Expand Down
2 changes: 1 addition & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ manifest {
description = """Creating standarised genome assembly publications"""
mainScript = 'main.nf'
nextflowVersion = '!>=22.10.1'
version = '1.1.0'
version = '1.1.1'
doi = '10.5281/zenodo.7949384'
}

Expand Down

0 comments on commit 3800af8

Please sign in to comment.