Skip to content

Commit aa65ad5

Browse files
authored
Merge pull request #70 from sanger-tol/dev
Bug fix fasta for release
2 parents 15a1475 + b5c4a5f commit aa65ad5

File tree

5 files changed

+28
-4
lines changed

5 files changed

+28
-4
lines changed

.github/workflows/linting.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- uses: actions/setup-node@v3
3333

3434
- name: Install Prettier
35-
run: npm install -g prettier
35+
run: npm install -g prettier@3.1.0
3636

3737
- name: Run Prettier --check
3838
run: prettier --check ${GITHUB_WORKSPACE}

CHANGELOG.md

+24
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,30 @@
33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
44
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
55

6+
## [[1.1.1](https://github.com/sanger-tol/variantcalling/releases/tag/1.1.1)] - Shang Zhou - [2024-02-02]
7+
8+
### Enhancements & fixes
9+
10+
- Bug fix when reference fasta file name end with .fa or .fa.gz
11+
12+
### Parameters
13+
14+
This release with the following initial parameters:
15+
16+
| Old parameter | New parameter |
17+
| ------------- | ------------- |
18+
19+
> **NB:** Parameter has been **updated** if both old and new parameter information is present. </br> **NB:** Parameter has been **added** if just the new parameter information is present. </br> **NB:** Parameter has been **removed** if new parameter information isn't present.
20+
21+
### Software dependencies
22+
23+
Note, since the pipeline is using Nextflow DSL2, each process will be run with its own [Biocontainer](https://biocontainers.pro/#/registry). This means that on occasion it is entirely possible for the pipeline to be using different versions of the same tool. However, the overall software dependency changes compared to the last release have been listed below for reference. Only `Docker` or `Singularity` containers are supported, `conda` is not supported.
24+
25+
| Dependency | Old version | New version |
26+
| ---------- | ----------- | ----------- |
27+
28+
> **NB:** Dependency has been **updated** if both old and new version information is present. </br> **NB:** Dependency has been **added** if just the new version information is present. </br> **NB:** Dependency has been **removed** if version information isn't present.
29+
630
## [[1.1.0](https://github.com/sanger-tol/variantcalling/releases/tag/1.1.0)] - Shang Tang - [2023-12-20]
731

832
### Enhancements & fixes

nextflow.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ manifest {
215215
description = """Variant calling pipeline for PacBio data using DeepVariant"""
216216
mainScript = 'main.nf'
217217
nextflowVersion = '!>=22.10.1'
218-
version = '1.1.0'
218+
version = '1.1.1'
219219
doi = 'https://doi.org/10.5281/zenodo.7890527'
220220
}
221221

subworkflows/local/input_filter_split.nf

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ workflow INPUT_FILTER_SPLIT {
5454
.map { meta, fasta -> [ fasta.baseName, fasta ] }
5555
.join (
5656
SAMTOOLS_FAIDX.out.fai
57-
.map { mata, fai -> [ fai.baseName - '.fasta', fai ] }
57+
.map { mata, fai -> [ fai.baseName - ~/.fa\w*$/, fai ] }
5858
)
5959
.set { fasta_fai }
6060

workflows/variantcalling.nf

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ workflow VARIANTCALLING {
8585

8686
ch_versions = Channel.empty()
8787
ch_fasta
88-
.map { fasta -> [ [ 'id': fasta.baseName - '.fasta' - '.fa' ], fasta ] }
88+
.map { fasta -> [ [ 'id': fasta.baseName - ~/.fa\w*$/ ], fasta ] }
8989
.first()
9090
.set { ch_genome }
9191

0 commit comments

Comments
 (0)