Skip to content

Commit

Permalink
Merge pull request #45 from peterk87/fix/subtype-report-columns
Browse files Browse the repository at this point in the history
Fix subtype report columns for "1_Subtype Predictions" sheet
  • Loading branch information
peterk87 authored Aug 18, 2023
2 parents aaeb177 + fc96525 commit bda4dc7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
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).

## [[3.3.4](https://github.com/CFIA-NCFAD/nf-flu/releases/tag/3.3.4)] - 2023-08-18

### Fixes

* Subtyping report summary sheet "1_Subtype Predictions" shows only N subtype results

## [[3.3.3](https://github.com/CFIA-NCFAD/nf-flu/releases/tag/3.3.3)] - 2023-08-16

This release fixes issues with subtype report generation script (`parse_influenza_blast_results.py`), primarily subtype predictions being `N/A` for samples where the top BLAST hits are user-specified sequences for the HA and NA segments.
Expand Down
2 changes: 1 addition & 1 deletion bin/parse_influenza_blast_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ def report(
df_all_blast_pandas.rename(
columns=dict(BLAST_RESULTS_REPORT_COLUMNS)
)
df_subtype_predictions = df_subtype_results[cols].rename(
df_subtype_predictions = df_subtype_results[SUBTYPE_RESULTS_SUMMARY_COLUMNS].rename(
columns=SUBTYPE_RESULTS_SUMMARY_FINAL_NAMES
)
df_H = df_H.rename(columns=SUBTYPE_RESULTS_SUMMARY_FINAL_NAMES)
Expand Down
2 changes: 1 addition & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ manifest {
description = 'Influenza A virus genome assembly pipeline'
homePage = 'https://github.com/CFIA-NCFAD/nf-flu'
author = 'Peter Kruczkiewicz, Hai Nguyen'
version = '3.3.3'
version = '3.3.4'
nextflowVersion = '!>=22.10.1'
mainScript = 'main.nf'
doi = '10.5281/zenodo.7011213'
Expand Down

0 comments on commit bda4dc7

Please sign in to comment.