Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fixes #18

Merged
merged 15 commits into from
May 9, 2024
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 51 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,62 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## v1.0dev - [date]

Initial release of nf-core/reportho, created with the [nf-core](https://nf-co.re/) template.
Although its location and design may vary greatly, the mainsail is always a key source of propulsion for a ship.

This is the initial release of nf-core/reportho, created with the [nf-core](https://nf-co.re/) template.

### `Credits`

The following people have made significant contributions to the release through design, development and review:

- [Igor Trujnara](https://github.com/itrujnara)
- [Luisa Santus](https://github.com/luisas)
- [Jose Espinosa-Carrasco](https://github.com/JoseEspinosa)
- [Alessio Vignoli](https://github.com/alessiovignoli)

We also thank everyone else from the nf-core community who has participated in planning and development.

### `Added`

The pipeline was created. In particular, it has the following features:

- fetching of ortholog predictions from public databases, through APIs and from local snapshots
- systematic comparison of the predictions and calculation of comparison statistics
- creation of an ortholog list with user-defined criteria
- basic downstream analysis of the obtained ortholog list
- generation of a human-readable report

### `Fixed`

Nothing yet.

### `Dependencies`

The pipeline has the following notable dependencies:

| Program | Version |
| --------------- | ------- |
| Python | 3.11.0 |
| Python Requests | 2.31.0 |
| Biopython | 1.83 |
| R | 4.3.3 |
| PyYAML | 5.4.1 |
| T-COFFEE | 13.46.0 |
| pigz | 2.8 |
| csvtk | 0.26.0 |
| Node | 21.6.2 |
| Yarn | 1.22.19 |
| React | 18.3.1 |

At release date, the following database versions were current:
JoseEspinosa marked this conversation as resolved.
Show resolved Hide resolved

| Database | Version |
| -------------- | ------------- |
| OMA | Jul2023 |
| PANTHER | 18 |
| OrthoInspector | Eukaryota2023 |
| EggNOG | 5.0 |

### `Deprecated`

Nothing.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@

## Introduction

> [!WARNING]
> This pipeline is still in active development. While the overall design will remain stable, all technical details, such as parameter names, are subject to change without notice.

**nf-core/reportho** is a bioinformatics pipeline that compares and assembles orthology predictions for a query protein. It fetches ortholog lists for a query (or its closest annotated homolog) from public sources, calculates pairwise and global agreement, and generates a consensus list with the desired level of confidence. Optionally, it offers common analysis on the consensus orthologs, such as MSA and phylogeny reconstruction. Additionally, it generates a clean, human-readable report of the results.

<!-- Tube map -->
Expand Down
2 changes: 1 addition & 1 deletion bin/fetch_oma_by_sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def main() -> None:
break

# Write exact match status
if entry["identified_by"] == "exact match":
if json["identified_by"] == "exact match":
print("true", file=open(sys.argv[4], 'w'))
else:
print("false", file=open(sys.argv[4], 'w'))
Expand Down
4 changes: 2 additions & 2 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"nf-core": {
"utils_nextflow_pipeline": {
"branch": "master",
"git_sha": "cd08c91373cd00a73255081340e4914485846ba1",
"git_sha": "5caf7640a9ef1d18d765d55339be751bb0969dfa",
"installed_by": ["subworkflows"]
},
"utils_nfcore_pipeline": {
Expand All @@ -61,7 +61,7 @@
},
"utils_nfvalidation_plugin": {
"branch": "master",
"git_sha": "cd08c91373cd00a73255081340e4914485846ba1",
"git_sha": "5caf7640a9ef1d18d765d55339be751bb0969dfa",
"installed_by": ["subworkflows"]
}
}
Expand Down
8 changes: 4 additions & 4 deletions modules/local/dump_params.nf
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ process DUMP_PARAMS {
val use_centroid
val min_score
val skip_downstream
val use_iqtree
val use_fastme
val skip_iqtree
val skip_fastme

output:
tuple val(meta), path("params.yml"), emit: params
Expand All @@ -32,8 +32,8 @@ process DUMP_PARAMS {
use_centroid: ${use_centroid}
min_score: ${min_score}
skip_downstream: ${skip_downstream}
use_iqtree: ${use_iqtree}
use_fastme: ${use_fastme}
skip_iqtree: ${skip_iqtree}
skip_fastme: ${skip_fastme}
END_PARAMS
"""

Expand Down
2 changes: 1 addition & 1 deletion modules/local/identify_seq_online.nf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ process IDENTIFY_SEQ_ONLINE {
prefix = task.ext.prefix ?: meta.id
"""
fetch_oma_by_sequence.py $fasta id_raw.txt ${prefix}_taxid.txt ${prefix}_exact.txt
uniprotize_oma.py id_raw.txt > ${prefix}_id.txt
uniprotize_oma_online.py id_raw.txt > ${prefix}_id.txt

cat <<- END_VERSIONS > versions.yml
"${task.process}":
Expand Down
2 changes: 1 addition & 1 deletion modules/local/make_report.nf
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ process MAKE_REPORT {
${task.process}:
Node: \$(node --version)
Yarn: \$(yarn --version)
React: \$(yarn view react version)
React: \$(yarn info react version | cut -d \$'\n' -f 2)
Python: \$(python --version | cut -d ' ' -f 2)
END_VERSIONS
"""
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading