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

Merge changes from main into develop #1

Open
wants to merge 321 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
321 commits
Select commit Hold shift + click to select a range
84607b4
Modified pipelines paths where necessary
victor5lm Jun 18, 2024
40b82c3
Updated CHANGELOG.md
victor5lm Jun 18, 2024
0211853
Modified some auxiliar viralrecon files
victor5lm Jun 18, 2024
8ab1812
Fixed some routes in a few templates and auxiliar files
victor5lm Jun 27, 2024
0cbb21d
Updated mag template
victor5lm Jun 27, 2024
841bedd
Merge changes from main into hotfix (#195)
github-actions[bot] Feb 1, 2024
18a1fe7
Fixed error because items can be none, empty list, or list with content
svarona Jul 1, 2024
fdcc10c
Updated assembly's lablog and config files
victor5lm Jul 4, 2024
c3ec911
Fixed minor mistakes in the lablog file
victor5lm Jul 4, 2024
aa92965
Updated CHANGELOG.md
victor5lm Jul 4, 2024
9242e86
Updated ariba's lablog
victor5lm Jul 4, 2024
ac13add
Fixed minor mistakes in the config file
victor5lm Jul 4, 2024
e0d1c30
Replaced kmerfinder database for latest
victor5lm Jul 4, 2024
a0d054a
Updated amrfinderplus lablog
victor5lm Jul 4, 2024
1014102
Updated snippy lablog
victor5lm Jul 4, 2024
338997b
Updated services.json
victor5lm Jul 4, 2024
8abcc98
Removed genomeev and mtbseq_assembly templates
victor5lm Jul 4, 2024
0237954
Updated CHANGELOG.md
victor5lm Jul 4, 2024
31535cf
Updated iqtree lablog
victor5lm Jul 4, 2024
f8fb17e
Updated snippy lablog
victor5lm Jul 4, 2024
318543b
Fixed minor mistakes in snippy's lablog
victor5lm Jul 4, 2024
8112532
Updated CHANGELOG.md
victor5lm Jul 4, 2024
130c402
Updated lablog so that references are directly available in refgenie
victor5lm Jul 9, 2024
852b011
Updated CHANGELOG.md
victor5lm Jul 9, 2024
0d53c4a
Fixed minor mistake in the lablog
victor5lm Jul 10, 2024
543c121
Moved obtain_family function inside if statement, for speed purposes
victor5lm Jul 10, 2024
b6248bd
Moved obtain_family function out of the ifstatement, and removed some…
victor5lm Jul 11, 2024
84d2596
Updated services.json with the new bacass version, fixed a refgenie-r…
victor5lm Jul 22, 2024
d894cee
Removed some extra quotation marks from the mtbseq template
victor5lm Jul 22, 2024
5a75ae8
Updated CHANGELOG.md
victor5lm Jul 22, 2024
913cbb3
Added the corresponding \ characters when doing cut
victor5lm Jul 23, 2024
75c4f54
Fixed symlink creation in 99-stats folder (MAG).
jaimeozaez Jul 29, 2024
d3385bb
Added dot
jaimeozaez Jul 29, 2024
db83060
Updated CHANGELOG.md
jaimeozaez Jul 29, 2024
8d70a3a
added emmtyper template
Daniel-VM Jul 26, 2024
f5df419
fixing paths and folder names
Daniel-VM Jul 29, 2024
806cd2c
add emmtyper to results lablog
Daniel-VM Jul 29, 2024
e55bb8d
fixed folder name and dir accessing
Daniel-VM Jul 29, 2024
f55e7bc
allow emmtyper to run via singularity
Daniel-VM Jul 29, 2024
56262a4
update changelog in #300
Daniel-VM Jul 29, 2024
78554bb
added reviewer suggestions in #300
Daniel-VM Jul 29, 2024
b9f1498
fix singularity bind
Daniel-VM Jul 29, 2024
2f7fd5e
renamed logs folder
Daniel-VM Jul 30, 2024
309dd28
Fixed IRMA's lablog so that the info is not displayed several times n…
victor5lm Aug 1, 2024
790a728
Substituted pipelines_new by pipelines in line 8
victor5lm Aug 1, 2024
2cf15d9
Updated CHANGELOG.md
victor5lm Aug 1, 2024
8fa9e2a
Added new line to remove all_samples_completo.txt before creating it,…
victor5lm Aug 5, 2024
4620576
Modified the email_creation function so that new lines are applied wh…
victor5lm Aug 7, 2024
66da332
Updated CHANGELOG.md
victor5lm Aug 7, 2024
f209cea
Ran black --check and black commands so that black_lint does not fail
victor5lm Aug 8, 2024
e72dfbc
Added log to pangolin-data update stage. Added check for correct update
jaimeozaez Aug 2, 2024
3f1d9fb
Fixed typo
jaimeozaez Aug 2, 2024
c3e5dc6
Enabled module load singularity inside of the lablog
jaimeozaez Aug 2, 2024
8675931
Moved nextclade_dataset_tag and nextclade_dataset_name inside sbatch …
jaimeozaez Aug 5, 2024
6879896
Added singularity module load check and screen confirmation messages
jaimeozaez Aug 6, 2024
5738917
Modified name of fasta and gff files (family instead ref) when using …
jaimeozaez Aug 6, 2024
8e412a7
Updated path for artic SARS primer.bed inside refgenie folder
jaimeozaez Aug 6, 2024
9ad6d57
Moved obtain_family function inside if statement, in order to use it …
jaimeozaez Aug 6, 2024
74896c3
Modified the way the references are finded. Substituted refgenie seek…
jaimeozaez Aug 6, 2024
5a026a2
Added copy stage for config and params files and added date and time …
jaimeozaez Aug 6, 2024
ceb0e06
Substituted refgenie add by refgenie build when including new referen…
jaimeozaez Aug 6, 2024
8115d72
Modified final message. Moved module load singularity stage outside d…
jaimeozaez Aug 6, 2024
c3188b3
Created lablog_viralrecon.log
jaimeozaez Aug 6, 2024
a3196c6
Added log_message function
jaimeozaez Aug 7, 2024
b7cfcc3
Added log_message to every message in the lablog
jaimeozaez Aug 7, 2024
4385ce5
Fixed typo
jaimeozaez Aug 7, 2024
caf50f3
Fixed log_message function when used outside service folder (pangolin…
jaimeozaez Aug 7, 2024
76581f4
Fixed bug in check_references function
jaimeozaez Aug 7, 2024
c86be82
Added some messages when building and adding new references
jaimeozaez Aug 7, 2024
b22611a
Added srun to refgenie build and refgenie add functions. Created prom…
jaimeozaez Aug 7, 2024
8e846ff
Resolved CHANGELOG.md conflict
jaimeozaez Aug 8, 2024
1638ad8
Modified message when pangolin-data is already updated. Added confirm…
jaimeozaez Aug 8, 2024
9792924
Added checking stage por proper performance of refgenie build and ref…
jaimeozaez Aug 8, 2024
b1586df
Updated log_message function including prompt message in terminal. Re…
jaimeozaez Aug 8, 2024
cbd7183
Fixed bug
jaimeozaez Aug 8, 2024
63f69d7
Added timestamp variable to log_message function
jaimeozaez Aug 9, 2024
dbf8de4
Fixed bug. Now, references with no family are assigned to miscellanous
jaimeozaez Aug 9, 2024
e1c8149
Substituted break by return
jaimeozaez Aug 9, 2024
43fc68e
Changed color to last message
jaimeozaez Aug 13, 2024
2b08b9c
Modified name of gff file (now is named as family)
jaimeozaez Aug 14, 2024
b75d1c1
Removed srun from refgenie build and refgenie add in order to avoid w…
jaimeozaez Aug 14, 2024
003a226
Added loading stage for micromamba refgenie enviroment
jaimeozaez Aug 16, 2024
2f6bfdc
Updated CHANGELOG.md
jaimeozaez Aug 16, 2024
936df9a
created python for irma vcf
svarona Aug 1, 2024
84ab72b
@saramonzon changes to add minority variants WIP
svarona Aug 1, 2024
fc748ca
Added frequency and depth as parameter filters
svarona Aug 1, 2024
ac9dcce
Added TOTAL_DP to stats
svarona Aug 1, 2024
0673ef9
Updated VCF data to fit in VCFv4.2 format
svarona Aug 1, 2024
3254106
Exclude reference alles in both alignment and stats files
svarona Aug 1, 2024
a036242
Added code to update minority allele
svarona Aug 1, 2024
2b80fa5
Added code for minority deletions
svarona Aug 1, 2024
5276af3
Fixed line that was excluding deletions
svarona Aug 1, 2024
321d1e3
Added total dp
svarona Aug 1, 2024
15166b1
refactored a little bit
svarona Aug 1, 2024
2eb5e3b
Updated docstrings
svarona Aug 1, 2024
182af9b
black
svarona Aug 1, 2024
a698f50
Updated changelog
svarona Aug 1, 2024
432ebd8
Managed deletions at the begining of alignment
svarona Aug 6, 2024
69f7193
Managed missing data in stats
svarona Aug 6, 2024
d5c64ba
Managed minority deletions
svarona Aug 6, 2024
8ba38ee
managed minority deletions
svarona Aug 6, 2024
878a42b
black
svarona Aug 6, 2024
b1f4ba6
Fixed alt_allele in insertions
svarona Aug 7, 2024
258c2cb
Added management of low af insertions at the end of the sequence
svarona Aug 7, 2024
e229ed7
Added mvmoneo to sftp users
svarona Aug 16, 2024
6e6e27e
Updated changelog
svarona Aug 16, 2024
5db8f81
fixed typo
svarona Aug 16, 2024
051504c
updated new tx2gene table name innf-core pipeline
svarona Aug 14, 2024
7c82f7e
updated plots por DETs
svarona Aug 14, 2024
1d42ab1
added original timeseries script
svarona Aug 14, 2024
577d0b5
prettier
svarona Aug 14, 2024
dbf382d
Fixed new nf-core pipeline file name
svarona Aug 14, 2024
4c9155b
removed unnecessary variables
svarona Aug 14, 2024
f028965
Added time series plots
svarona Aug 14, 2024
dd74983
Created option to pass date specific order
svarona Aug 14, 2024
2bc8851
Updated changelog
svarona Aug 16, 2024
424a4ad
Added bbaladron to SFTP users
svarona Aug 16, 2024
834c088
Updated changelog
svarona Aug 16, 2024
fdf6271
Added pikavirus configuration
jaimeozaez Aug 19, 2024
6c9da28
Added plasmidID configuration
jaimeozaez Aug 19, 2024
67f491b
Added wgmlst_chewbbaca configuration
jaimeozaez Aug 19, 2024
f6e8d05
Added wgmlst_ctaranis configuration
jaimeozaez Aug 19, 2024
616b08e
Added characterization configuration
jaimeozaez Aug 19, 2024
c39b700
Updated CHANGELOG.md
jaimeozaez Aug 19, 2024
3bb2d22
added files of template characterization-taxprofiler
Daniel-VM Aug 23, 2024
f74e484
fixed file end lines
Daniel-VM Aug 23, 2024
d61a555
update changelog #320
Daniel-VM Aug 23, 2024
f0a183e
uppdate execution time and database paths
Daniel-VM Aug 30, 2024
180447b
relocated template taxprofiler
Daniel-VM Aug 30, 2024
9ccbdcb
udpdate documentation of template taxprofiler
Daniel-VM Aug 30, 2024
a2fb0ae
fixed path to results in taxprofiler results lablog
Daniel-VM Aug 30, 2024
fad6293
fixed indentation
Daniel-VM Aug 30, 2024
2f16d06
added krona rhtml to results folder
Daniel-VM Aug 30, 2024
573758e
added user to sftp
Daniel-VM Aug 30, 2024
708b855
added prefix to krona html results
Daniel-VM Aug 30, 2024
e61ac18
added init config for mag template
Daniel-VM Aug 22, 2024
0d9e380
added mag-complete lablogs
Daniel-VM Aug 22, 2024
1711849
changed comp queue
Daniel-VM Aug 22, 2024
7dc3947
renaming folders in mag template
Daniel-VM Aug 22, 2024
9d542db
update mag config params
Daniel-VM Aug 22, 2024
72721a9
fix lablog in mag_tax
Daniel-VM Aug 22, 2024
092ee8f
minor config update
Daniel-VM Aug 23, 2024
d1506ac
update changelog #321
Daniel-VM Aug 23, 2024
73893dd
dummy changes
Daniel-VM Aug 23, 2024
f46ea4d
created tempalte for mag_all
Daniel-VM Sep 3, 2024
b67f886
increase timelimit to mag module and add todo
Daniel-VM Sep 5, 2024
0f1f4ac
add mag_all results lablog and documentation
Daniel-VM Sep 5, 2024
34a852d
allow step for refinement
Daniel-VM Sep 5, 2024
730ed93
skip concoct due to excess in timelimt
Daniel-VM Sep 5, 2024
3b0a8e8
update readme in #321
Daniel-VM Sep 5, 2024
7452159
Added several changes in bioinfo_doc.py to allow the inclusion of ver…
victor5lm Sep 6, 2024
1bea0ec
Added a software versions section in the jinja delivery template
victor5lm Sep 6, 2024
b426298
Added the labels for each service in services.json
victor5lm Sep 6, 2024
cc3e7ad
Changed safe from False to True
victor5lm Sep 6, 2024
429ad72
Updated CHANGELOG.md
victor5lm Sep 6, 2024
34f0ab7
Removed trailing whitespace
victor5lm Sep 6, 2024
0e57696
Ran black on bioinfo_doc.py
victor5lm Sep 6, 2024
5710839
Created a new config file for viralrecon to keep relevant kraken files
victor5lm Sep 9, 2024
a5b56ef
Updated release version tag in __main__.py
victor5lm Sep 9, 2024
b4c3ec2
Updated get_service_paths function in utils.py to handle the profile …
victor5lm Sep 9, 2024
75d682a
Updated pipeline version in rnaseq template
victor5lm Sep 9, 2024
1743cee
Corrected paths in characterization lablog
victor5lm Sep 9, 2024
0a42dc7
Added skip_asciigenome in viralrecon_params.yml
victor5lm Sep 9, 2024
919abca
Created a .sh file to remove the first three columns of mapping_illum…
victor5lm Sep 9, 2024
e42f593
Updated mag pipeline version in the template
victor5lm Sep 9, 2024
c01d25f
Updated ariba singularity image in characterization/REFERENCES/lablog
victor5lm Sep 9, 2024
6f11842
Updated CHANGELOG.md
victor5lm Sep 9, 2024
359df2d
Created MLVA template as part of characterization
victor5lm Sep 9, 2024
5a2e7c4
Fixed linting mistakes
victor5lm Sep 9, 2024
aaddfcc
Ran black on utils.py
victor5lm Sep 9, 2024
7ae2ec7
Added a permissions field in the global section
victor5lm Sep 10, 2024
59061ea
Added a remake_permissions() function to utils.py to allow permission…
victor5lm Sep 10, 2024
3259d88
Updated scratch.py to always make permissions correct after copying f…
victor5lm Sep 10, 2024
c209458
Added a new bu-isciii function to fix permissions of a custom folder
victor5lm Sep 10, 2024
1f09726
Updated CHANGELOG.md
victor5lm Sep 10, 2024
175f1a2
Fixed linting mistake
victor5lm Sep 10, 2024
10906ed
Ran black on scratch.py and utils.py
victor5lm Sep 10, 2024
3cdc353
Used 2775 for directory chmod in configuration.json
victor5lm Sep 10, 2024
1b357d4
Simplified the remake_permissions() function in utils.py
victor5lm Sep 10, 2024
28efba0
Ran black on utils.py
victor5lm Sep 10, 2024
01ebf45
Updated mag lablogs so that they can be used with the 3.0.3 version
victor5lm Sep 11, 2024
6b57413
Updated the get_md5() function
victor5lm Sep 11, 2024
6a56e68
Updated CHANGELOG.md
victor5lm Sep 11, 2024
477f672
Updated sftp_user.json
victor5lm Sep 11, 2024
fa0cae4
Updated setup.py
victor5lm Sep 11, 2024
94c0b2f
Updated version tag in __main__.py
victor5lm Sep 11, 2024
f335695
Fixed a minor mistake in bioinfo_doc.py
victor5lm Sep 11, 2024
a22f57b
Updated the remove_columns_mapping_table.sh script
victor5lm Sep 11, 2024
6b76d88
Updated README.md
victor5lm Sep 11, 2024
4d7207a
Updated CHANGELOG.md
victor5lm Sep 11, 2024
0217dce
Updated CHANGELOG.md
victor5lm Sep 12, 2024
98ae82c
Added 2.X.Xhot section to CHANGELOG.md
victor5lm Sep 12, 2024
16c0990
Merge changes from main into hotfix (#195) (#337)
github-actions[bot] Sep 12, 2024
cadb3e8
fixed path database and update emmtyper params
Daniel-VM Sep 12, 2024
bfc74b2
update changelog #339
Daniel-VM Sep 12, 2024
e8de247
update sarek version in exomeeb (#341)
OPSergio Sep 19, 2024
8610379
Created code to generate amended consensus without ambiguities but ma…
svarona Aug 30, 2024
1efabf3
Updated changelog
svarona Aug 30, 2024
17c4170
Fixd changelog
svarona Sep 19, 2024
6bbc75a
Created postprocessing script for amended files
svarona Sep 19, 2024
f61fb26
included postprocessing script in lablog
svarona Sep 19, 2024
9b82b76
Shortened code to look better
svarona Sep 19, 2024
7de042b
Updated the 03-annotation/lablogs in exomeeb, exometrio and wgstrio s…
victor5lm Sep 30, 2024
9bdafed
Updated bioinfo_doc.py to allow more options when creating the delive…
victor5lm Sep 30, 2024
78bc8e7
Updated excel_generator.py to be more informative
victor5lm Sep 30, 2024
c4c1704
Updated sftp_user.json
victor5lm Sep 30, 2024
1a7cddd
Updated 03-MTBSeq/lablog to handle the first sample name appropriately
victor5lm Sep 30, 2024
3c4a1b7
Fixed linting mistakes
victor5lm Sep 30, 2024
9ae84d8
Updated CHANGELOG.md
victor5lm Oct 1, 2024
b9c628f
Updated setup.py
victor5lm Oct 1, 2024
f0dabc7
Updated __main__.py
victor5lm Oct 1, 2024
8ad81f9
Merge changes from main into hotfix (#195) (#346)
github-actions[bot] Oct 1, 2024
5745c4c
Included actions to publish release to pypi
Shettland Oct 15, 2024
71d9b20
Updated CHANGELOG
Shettland Oct 15, 2024
4f8ba02
Updated new pip instructions
Shettland Oct 15, 2024
232fe74
Updated the fix-permissions module in __main__.py
victor5lm Oct 28, 2024
ccdc0b8
Updated taxprofiler.config
victor5lm Oct 28, 2024
87ed16d
Updated sftp_user.json
victor5lm Oct 28, 2024
0d8ab7e
Fixed viralrecon's lablog and remove_columns script
victor5lm Oct 28, 2024
fd33b73
Updated mtbseq templates
victor5lm Oct 28, 2024
a0324ed
Updated bioinfo_doc.py to handle the Unable to send e-mail error message
victor5lm Oct 28, 2024
088195d
Updated new_service.py to check FASTQ integrity
victor5lm Oct 28, 2024
7d2064e
Updated CHANGELOG.md, setup.py and __main__.py
victor5lm Oct 28, 2024
ece6b01
Fixed some linting mistakes in new_service.py
victor5lm Oct 28, 2024
573b691
Ran black on new_service.py
victor5lm Oct 28, 2024
922e14b
Removed an extra comma from sftp_user.json
victor5lm Oct 28, 2024
f5cfa8f
Removed conda env line from viralrecon's results lablog
victor5lm Oct 29, 2024
56c795b
Substituted /srv/fastq_repo by its variable name
victor5lm Oct 29, 2024
91b561c
Ran black on new_service.py
victor5lm Oct 29, 2024
b694e9e
Merge changes from main into hotfix (#195) (#359)
github-actions[bot] Oct 29, 2024
d235299
Added alberto.campoy to sftp_user.json
victor5lm Nov 12, 2024
a169912
Fixed the md5sum function to check only the integrity of the files re…
victor5lm Nov 12, 2024
eb32373
Added the locus_tag option to the PROKKA process in the bacass config…
victor5lm Nov 12, 2024
6e1a2a1
Updated CHANGELOG.md
victor5lm Nov 13, 2024
64c1d8c
Ran black on new_service.py
victor5lm Nov 13, 2024
177cb55
Fixed code to propperly handle a service withput samples
svarona Nov 28, 2024
acfa0b5
updated changelog
svarona Nov 28, 2024
c45324d
fixed linting
svarona Nov 28, 2024
fd7e494
Changed read_length variable creation to add read length correctly to…
victor5lm Dec 23, 2024
4acd0ea
Changed "Buenas" by "Estimado/a" in email.j2
victor5lm Dec 23, 2024
eb09ec0
Updated create_irma_stats.sh to include %mapped_reads
victor5lm Dec 23, 2024
053b190
Changed /data/bi/ by /data/ucct/bi/ in all necessary files
victor5lm Dec 23, 2024
82667f3
Updated CHANGELOG.md, setup.py and __main__.py for the new release
victor5lm Dec 23, 2024
5a33367
Merge changes from main into hotfix (#195) (#382)
github-actions[bot] Dec 23, 2024
a5638bf
Removed middle_obx from config files
victor5lm Dec 24, 2024
344542f
Replaced /data/bi by /data/ucct/bi where necessary
victor5lm Dec 24, 2024
4062a53
Updated CHANGELOG.md
victor5lm Dec 24, 2024
4b5ff10
Updated CHANGELOG.md, setup.py and __main__.py for the new release
victor5lm Dec 27, 2024
4615be7
Merge changes from main into hotfix (#195) (#388)
github-actions[bot] Dec 27, 2024
56ec138
Merge changes from main into hotfix (#195)
github-actions[bot] Feb 1, 2024
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
49 changes: 49 additions & 0 deletions .github/workflows/pypi_publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Publish package python distribution to Pypi

on:
release:
types: [published]
workflow_dispatch:

jobs:
build:
name: Build distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12.7
- name: Install pypi/build
run: >-
python3 -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
run: python3 -m build
- name: Store the distribution packages
uses: actions/upload-artifact@v4
with:
name: python-package-distributions
path: dist/

publish-to-pypi:
name: Publish dist to PyPI
needs:
- build
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/buisciii-tools
permissions:
id-token: write
steps:
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
32 changes: 28 additions & 4 deletions .github/workflows/python_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ name: python_lint

on:
push:
paths:
- '**/*.py'
branches: "**"
pull_request:
paths:
- '**/*.py'
types: [opened, reopened, synchronize, closed]
branches: "**"

jobs:
flake8_py3:
Expand All @@ -19,17 +18,42 @@ jobs:
architecture: x64
- name: Checkout PyTorch
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install flake8
run: pip install flake8
- name: Check for Python file changes
id: file_check
uses: tj-actions/changed-files@v44
with:
sha: ${{ github.event.pull_request.head.sha }}
files: |
**.py
- name: Run flake8
if: steps.file_check.outputs.any_changed == 'true'
run: flake8 --ignore E501,W503,E203,W605
- name: No Python files changed
if: steps.file_check.outputs.any_changed != 'true'
run: echo "No Python files have been changed."

black_lint:
runs-on: ubuntu-latest
steps:
- name: Setup
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install black in jupyter
run: pip install black[jupyter]
- name: Check for Python file changes
id: file_check
uses: tj-actions/changed-files@v44
with:
sha: ${{ github.event.pull_request.head.sha }}
files: '**.py'
- name: Check code lints with Black
if: steps.file_check.outputs.any_changed == 'true'
uses: psf/black@stable
- name: No Python files changed
if: steps.file_check.outputs.any_changed != 'true'
run: echo "No Python files have been changed."
213 changes: 193 additions & 20 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,163 @@ All notable changes to this project will be documented in this file.

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).

## [2.2.Xdev] - 2024-0X-XX : https://github.com/BU-ISCIII/buisciii-tools/releases/tag/2.2.X
## [2.2.4] - 2024-12-27 : https://github.com/BU-ISCIII/buisciii-tools/releases/tag/2.2.4

### Credits

- [Victor Lopez](https://github.com/victor5lm)

### Template fixes and updates

- Replaced /data/bi/ by /data/ucct/bi where necessary [#385](https://github.com/BU-ISCIII/buisciii-tools/pull/385).
- Removed middle_obx from config files [#385](https://github.com/BU-ISCIII/buisciii-tools/pull/385).

### Modules

#### Added enhancements

#### Fixes

#### Changed

#### Removed

### Requirements

## [2.2.3] - 2024-12-23 : https://github.com/BU-ISCIII/buisciii-tools/releases/tag/2.2.3

### Credits

Code contributions to the new version:

- [Victor Lopez](https://github.com/victor5lm)
- [Sarai Varona](https://github.com/svarona)

### Template fixes and updates

- Updated sftp_user.json, added the locus-tag option for the PROKKA process in the bacass config file and changed new_service.py so that integrity is checked only for the samples of interest [#363](https://github.com/BU-ISCIII/buisciii-tools/pull/363).
- Replaced /data/bi/ by /data/ucct/bi/ [#380](https://github.com/BU-ISCIII/buisciii-tools/pull/380).
- Updated bacass version in all pertinent files [#380](https://github.com/BU-ISCIII/buisciii-tools/pull/380).
- Updated read length variable definition when creating the mapping_illumina.tab file [#380](https://github.com/BU-ISCIII/buisciii-tools/pull/380).
- Updated create_irma_stats.sh to include %mapped_reads [#380](https://github.com/BU-ISCIII/buisciii-tools/pull/380).
- Changed "Buenas" by "Estimado/a" in email.j2 [#380](https://github.com/BU-ISCIII/buisciii-tools/pull/380).

### Modules

#### Added enhancements

#### Fixes

- Fixed new-service to correctly handle when there are no samples in service [#372](https://github.com/BU-ISCIII/buisciii-tools/pull/372). Fixes issue [#371](https://github.com/BU-ISCIII/buisciii-tools/issues/371)

#### Changed

#### Removed

### Requirements

## [2.X.Xhot] - 2024-0X-0X : https://github.com/BU-ISCIII/buisciii-tools/releases/tag/2.X.2

### Credits

### Template fixes and updates

### Modules

#### Added enhancements

#### Fixes

#### Changed

#### Removed

### Requirements

## [2.2.2] - 2024-10-28 : https://github.com/BU-ISCIII/buisciii-tools/releases/tag/2.2.2

### Credits

Code contributions to the new version:

- [Pablo Mata](https://github.com/Shettland)
- [Victor Lopez](https://github.com/victor5lm)

### Template fixes and updates

- Updated the fix-permissions module in __main__.py [#356](https://github.com/BU-ISCIII/buisciii-tools/pull/356).
- Fixed the singularity cache directory in taxprofiler.config [#356](https://github.com/BU-ISCIII/buisciii-tools/pull/356).
- Updated sftp_user.json [#356](https://github.com/BU-ISCIII/buisciii-tools/pull/356).
- Fixed viralrecon's lablog and the remove_columns_mapping_table.sh auxiliary script [#356](https://github.com/BU-ISCIII/buisciii-tools/pull/356).
- Updated the singularity image in the mtbseq templates [#356](https://github.com/BU-ISCIII/buisciii-tools/pull/356).
- Fixed a bug in bioinfo_doc.py [#356](https://github.com/BU-ISCIII/buisciii-tools/pull/356).
- Updated new_service.py to check FASTQ integrity via md5sum [#356](https://github.com/BU-ISCIII/buisciii-tools/pull/356).

### Modules

#### Added enhancements

- Included a new github action to automatically publish releases to pypi [#351](https://github.com/BU-ISCIII/buisciii-tools/pull/351)

#### Fixes

#### Changed

#### Removed

### Requirements

## [2.X.Xhot] - 2024-0X-0X : https://github.com/BU-ISCIII/buisciii-tools/releases/tag/2.X.1

### Credits

Code contributions to the hotfix:

### Template fixes and updates

### Modules

#### Added enhancements

#### Fixes

#### Changed

#### Removed

### Requirements

## [2.2.1] - 2024-10-01 : https://github.com/BU-ISCIII/buisciii-tools/releases/tag/2.2.1

### Credits

Code contributions to the new version:

- [Daniel Valle](https://github.com/Daniel-VM)
- [Sarai Varona](https://github.com/svarona)
- [Victor Lopez](https://github.com/victor5lm)
- [Sergio Olmos](https://github.com/OPSergio)

### Template fixes and updates

- Fixed path to blast database and update Emmtyper params [#339](https://github.com/BU-ISCIII/buisciii-tools/pull/339)
- Updated sarek version (v3.4.4) in ExomeEB-ExomeTrio-WGSTrio templates [#341] (https://github.com/BU-ISCIII/buisciii-tools/pull/341)
- Fixed IRMAs config for amended consensus [#325](https://github.com/BU-ISCIII/buisciii-tools/pull/325).
- Improved excel_generator.py and bioinfo_doc.py email creation function, and updated sftp_user.json, setup.py, main.py and some lablogs [#344](https://github.com/BU-ISCIII/buisciii-tools/pull/344).

### Modules

#### Added enhancements

#### Fixes

#### Changed

#### Removed

### Requirements

## [2.2.0] - 2024-09-12 : https://github.com/BU-ISCIII/buisciii-tools/releases/tag/2.2.0

### Credits

Expand All @@ -15,6 +171,7 @@ Code contributions to the new version:
- [Sarai Varona](https://github.com/svarona)
- [Daniel Valle](https://github.com/Daniel-VM)
- [Víctor López](https://github.com/victor5lm)
- [Juan Ledesma](https://github.com/juanledesma78)

### Template fixes and updates

Expand Down Expand Up @@ -43,38 +200,54 @@ Code contributions to the new version:
- Included annotated tab description in exome-trios markdowns [#273](https://github.com/BU-ISCIII/buisciii-tools/pull/273)
- Installed all necessary singularity images and modified all templates so that, instead of using conda environments or loaded modules, the corresponding singularity images are used [#272](https://github.com/BU-ISCIII/buisciii-tools/pull/272)
- Updated sarek version in exomeeb, exometrio and wgstrio templates [#277](https://github.com/BU-ISCIII/buisciii-tools/pull/277)
- Extension file of all_samples_virus_table_filtered (from csv to tsv) in lablog_viralrecon_results changed [#278](https://github.com/BU-ISCIII/buisciii-tools/pull/278)
- Fixed singularity-images path when updating pangolin database in lablog_viralrecon. Added line break after prompted input. [#282](https://github.com/BU-ISCIII/buisciii-tools/pull/282)
- Updated characterization and snippy templates to fit bacass pipeline. Corrected path in 05-iqtree in snippy template. [#283](https://github.com/BU-ISCIII/buisciii-tools/pull/283)
- Included multiqc_report.html in RESULTS folder in every service, where necessary [#265] (https://github.com/BU-ISCIII/buisciii-tools/pull/265)
- Added MAG tempalte and removed MAG from other templates [#288](https://github.com/BU-ISCIII/buisciii-tools/pull/288)
- Added amrfinderplus to characterization template. [#289] (https://github.com/BU-ISCIII/buisciii-tools/pull/289)
- Updated all files so that paths referring to /pipelines/ are updated according to the new structure [#287](https://github.com/BU-ISCIII/buisciii-tools/pull/287)
- Updated assembly, ariba, snippy, amrfinderplus and iqtree templates, removed genomeev and mtbseq_assembly templates and updated services.json [#295](https://github.com/BU-ISCIII/buisciii-tools/pull/295)
- Changed viralrecon's lablog so that references are available within refgenie [#296](https://github.com/BU-ISCIII/buisciii-tools/pull/296)
- Updated services.json, mtbseq's lablog, viralrecon's lablog and assembly's config file [#299](https://github.com/BU-ISCIII/buisciii-tools/pull/299)
- Added lablog to automate gene characterization with emmtyper, including unzipping assemblies. [#300](https://github.com/BU-ISCIII/buisciii-tools/pull/300)
- Fixed 99-stats (MAG) template. [#301](https://github.com/BU-ISCIII/buisciii-tools/pull/301)
- Created a python script to process IRMA's results and create a standard vcf file against reference. [#304](https://github.com/BU-ISCIII/buisciii-tools/pull/304)
- Fixed IRMA's lablog so that the sequences of the samples are not displayed several times neither in the .txt files of each influenza type nor in all_samples_completo.txt [#305](https://github.com/BU-ISCIII/buisciii-tools/pull/305)
- Modified bioinfo_doc.py so that new lines in the delivery message are applied in the email [#307](https://github.com/BU-ISCIII/buisciii-tools/pull/307)
- Added several improvements in lablog_viralrecon (created log files, modified check_references function behaviour, enabled config files regeneration) [#306](https://github.com/BU-ISCIII/buisciii-tools/pull/306)
- Fixed bug when lablog_viralrecon tries to download references that don't belong to any family. [#310](https://github.com/BU-ISCIII/buisciii-tools/pull/310)
- Added mvmoneo to SFTP users. [#317](https://github.com/BU-ISCIII/buisciii-tools/pull/317)
- Added scripts for time series RNAseq and updated differential expression code for differentially expressed transcripts [#316](https://github.com/BU-ISCIII/buisciii-tools/pull/316).
- Added bbaladron to SFTP users [#316](https://github.com/BU-ISCIII/buisciii-tools/pull/316).
- Added new template for comprehensive taxonomy profiling using the nf-core/taxprofiler pipeline [#320](https://github.com/BU-ISCIII/buisciii-tools/pull/320).
- Added full execution support for the MAG template [#321](https://github.com/BU-ISCIII/buisciii-tools/pull/321).
- Added labels to services.json and updated bioinfo_doc.py and jinja_template_delivery.j2 so that software versions data is displayed in the delivery pdf [#330](https://github.com/BU-ISCIII/buisciii-tools/pull/330).
- Updated several templates (singularity images, outdated paths, improvements, etc) [#331](https://github.com/BU-ISCIII/buisciii-tools/pull/331)
- Added permissions fixing after running scratch_copy, as well as a new fix-permissions module in the tools [#332](https://github.com/BU-ISCIII/buisciii-tools/pull/332).
- Updated MAG lablogs and utils.py [#334](https://github.com/BU-ISCIII/buisciii-tools/pull/334).
- Updated some files (setup.py, __main__.py, README, etc) for the 2.2.0 release [#335](https://github.com/BU-ISCIII/buisciii-tools/pull/335).

### Modules

#### Added enhancements

- PR [#274](https://github.com/BU-ISCIII/buisciii-tools/pull/274): added `--dev` option, configuration dev and test folder structure.
- PR [#276](https://github.com/BU-ISCIII/buisciii-tools/pull/276): wkhtmlpdf does not need absolute path to executable. Added better error handling when executable does not exists.
- PR [#288](https://github.com/BU-ISCIII/buisciii-tools/pull/288) Allowed to handle more than one service at a time, related to issue [#217](https://github.com/BU-ISCIII/buisciii-tools/issues/217)

#### Fixes

- Fixed archive module. Updated correct header for scout tsv [#258](https://github.com/BU-ISCIII/buisciii-tools/pull/258).
- Fixed clean module. Corrected purge_files function. Renaming stage moved from clean to rename_nocopy option. Updated services.json file with correct paths for some services. [#280](https://github.com/BU-ISCIII/buisciii-tools/pull/280)
- Fixed autoclean-sftp function. [#281](https://github.com/BU-ISCIII/buisciii-tools/pull/281)
- Fixed bioinfo_doc.py. Modified it so that this module creates a .pdf file including new-line characters, without merging lines into one single line [#259](https://github.com/BU-ISCIII/buisciii-tools/pull/259).
- PR [#288](https://github.com/BU-ISCIII/buisciii-tools/pull/288) Fixed updating service's state to in_progress multiple times, related with issue [#285](https://github.com/BU-ISCIII/buisciii-tools/issues/285)
- Review and update of services.json for files and folders cleaning [#318](https://github.com/BU-ISCIII/buisciii-tools/pull/318).

#### Changed

#### Removed

### Requirements

## [2.X.1hot] - 2024-0X-0X : https://github.com/BU-ISCIII/buisciii-tools/releases/tag/2.X.1

### Credits

Code contributions to the hotfix:

### Template fixes and updates

### Modules

#### Added enhancements

#### Fixes

#### Changed
- Forcing python lint to success if no .py files are in PR [#279](https://github.com/BU-ISCIII/buisciii-tools/pull/279)

#### Removed

Expand Down
Loading
Loading