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

Develop merge for 2.2.0 release #336

Merged
merged 458 commits into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
458 commits
Select commit Hold shift + click to select a range
23b173c
python linting test2
Shettland Jun 6, 2024
38c06c0
python linting test3
Shettland Jun 6, 2024
b745494
Updated diff-file checker version
Shettland Jun 6, 2024
b632b02
Test commit without py files
Shettland Jun 6, 2024
342067a
added versions dep to enviroment.yml file
saramonzon Jun 4, 2024
2c1be53
removed path for loading wkhtmlpdf, and catched error when executable…
saramonzon Jun 4, 2024
3be8b0b
removed wkhtmlpdf path from configs
saramonzon Jun 4, 2024
662c30a
clarified readme install instructions
saramonzon Jun 4, 2024
dac62fa
updated changelog
saramonzon Jun 4, 2024
ba47621
lintig
saramonzon Jun 4, 2024
f67600e
Fixed clean module (#280)
jaimeozaez Jun 7, 2024
5af33bb
Fixed autoclean-sftp function (#281)
jaimeozaez Jun 10, 2024
ff90493
Fixed singularity-images path when updating pangolin database in labl…
jaimeozaez Jun 12, 2024
9e9ce3a
Updated CHANGELOG.md
jaimeozaez Jun 10, 2024
7771433
removed tatus file
jaimeozaez Jun 10, 2024
9173ce5
Fixed conflict
jaimeozaez Jun 13, 2024
dfaf617
Fixed conflict
jaimeozaez Jun 13, 2024
fb05f50
Fixed conflict
jaimeozaez Jun 13, 2024
d02b8fc
Modified 02-preprocessing/lablog in snippy template in order to prope…
jaimeozaez Jun 13, 2024
11e4f0e
Modified 01-preprocessing/lablog in characterization template in orde…
jaimeozaez Jun 13, 2024
92ce0c0
Removed not needed lines
jaimeozaez Jun 13, 2024
3e373ac
Corrected path to phylo.aln file in iqtree lablog
jaimeozaez Jun 13, 2024
d1611cc
Updated Changelog
jaimeozaez Jun 13, 2024
730489f
Created RESULTS/lablog files where needed so that multiqc_report.html…
victor5lm May 17, 2024
c0043ae
Updated RESULTS/lablog files
victor5lm May 17, 2024
9cf3c17
Updated CHANGELOG.md
victor5lm Jun 14, 2024
b1dc18f
Fixed paths for symlink creation
victor5lm Jun 17, 2024
819d3d2
Modified viralrecon results lablog to make symlinks to the /*_mapping…
victor5lm Jun 18, 2024
4a10dca
Completed rnaseq results lablog
victor5lm Jun 18, 2024
450fadb
Modified viralrecon results lablog
victor5lm Jun 18, 2024
942adad
Fixed minor mistake in viralrecon results lablog
victor5lm Jun 18, 2024
d9077ca
Modified bioinfo_doc.py so that new lines are applied when creating t…
victor5lm Apr 29, 2024
951daa9
Updated CHANGELOG.md
victor5lm Apr 29, 2024
d864deb
New attempt: added the nl2br markdown extension
victor5lm Jun 25, 2024
c8497ef
Fixed linting mistake
victor5lm Jun 25, 2024
08ad531
Created mag template
svarona Jun 21, 2024
550609d
removed mag from other templates
svarona Jun 21, 2024
9d8b08d
Fixed new service to handle more than one service_id
svarona Jun 21, 2024
681bbe6
moved the code to utils
svarona Jun 24, 2024
f422a47
Fixed multiple service in clean module
svarona Jun 25, 2024
90df9e9
fixed multiple services in copy_sftp module
svarona Jun 25, 2024
b19358f
Fixed variable name for stderr
svarona Jun 25, 2024
2133274
Allow to continue after symb link error
svarona Jun 25, 2024
39de6de
Avoid updating to in_progress when already in_progress
svarona Jun 25, 2024
80f5df8
fixed black
svarona Jun 25, 2024
9db234b
Updated changelog
svarona Jun 25, 2024
0c2fd23
Removed owner Pablo
svarona Jun 27, 2024
236bec0
Changed safe to True
svarona Jun 27, 2024
bb50952
Fixed possible error when type does not exist in json
svarona Jun 27, 2024
387e4f4
Fixed black
svarona Jun 27, 2024
d01ac11
Created 03-armfinderplus and lablog
jaimeozaez Jun 26, 2024
4ac57c3
Added organism selection when lablog executed
jaimeozaez Jun 26, 2024
30cf68f
Added some format
jaimeozaez Jun 26, 2024
a838fb8
Modified lablog_characterization_results including amrfinderplus files
jaimeozaez Jun 26, 2024
03d3e3c
Renamed 03-amrfinderplus folder
jaimeozaez Jun 26, 2024
ebd448e
Fixed changelog conflict
jaimeozaez Jun 27, 2024
d65b977
Added tsv extension to output files for amrfinderplus
jaimeozaez Jun 27, 2024
4d44862
Modified lablog_characterization_results in order to creating symlink…
jaimeozaez Jun 27, 2024
a5bfa06
Updated plasmidid lablog
victor5lm Jun 18, 2024
448d670
Modified pipelines paths where necessary
victor5lm Jun 18, 2024
7cfdf7a
Updated CHANGELOG.md
victor5lm Jun 18, 2024
7ff5eb0
Modified some auxiliar viralrecon files
victor5lm Jun 18, 2024
d7828f4
Fixed some routes in a few templates and auxiliar files
victor5lm Jun 27, 2024
8869811
Updated mag template
victor5lm Jun 27, 2024
dc5dc82
Fixed error because items can be none, empty list, or list with content
svarona Jul 1, 2024
9bb8b3f
Updated assembly's lablog and config files
victor5lm Jul 4, 2024
8fa6ffd
Fixed minor mistakes in the lablog file
victor5lm Jul 4, 2024
173ff18
Updated CHANGELOG.md
victor5lm Jul 4, 2024
2b5e986
Updated ariba's lablog
victor5lm Jul 4, 2024
e57ee59
Fixed minor mistakes in the config file
victor5lm Jul 4, 2024
c4db03d
Replaced kmerfinder database for latest
victor5lm Jul 4, 2024
00d239f
Updated amrfinderplus lablog
victor5lm Jul 4, 2024
d016afc
Updated snippy lablog
victor5lm Jul 4, 2024
ac8d235
Updated services.json
victor5lm Jul 4, 2024
44b8de5
Removed genomeev and mtbseq_assembly templates
victor5lm Jul 4, 2024
5cc3413
Updated CHANGELOG.md
victor5lm Jul 4, 2024
70a22eb
Updated iqtree lablog
victor5lm Jul 4, 2024
79384ad
Updated snippy lablog
victor5lm Jul 4, 2024
4453108
Fixed minor mistakes in snippy's lablog
victor5lm Jul 4, 2024
11bdaef
Updated CHANGELOG.md
victor5lm Jul 4, 2024
a9f3e7a
Updated lablog so that references are directly available in refgenie
victor5lm Jul 9, 2024
eb59b66
Updated CHANGELOG.md
victor5lm Jul 9, 2024
4481875
Fixed minor mistake in the lablog
victor5lm Jul 10, 2024
5962b84
Moved obtain_family function inside if statement, for speed purposes
victor5lm Jul 10, 2024
a708501
Moved obtain_family function out of the ifstatement, and removed some…
victor5lm Jul 11, 2024
9f7fb9f
Updated services.json with the new bacass version, fixed a refgenie-r…
victor5lm Jul 22, 2024
456e253
Removed some extra quotation marks from the mtbseq template
victor5lm Jul 22, 2024
df0374f
Updated CHANGELOG.md
victor5lm Jul 22, 2024
77ae5e9
Added the corresponding \ characters when doing cut
victor5lm Jul 23, 2024
58a15df
Fixed symlink creation in 99-stats folder (MAG).
jaimeozaez Jul 29, 2024
11c06af
Added dot
jaimeozaez Jul 29, 2024
c5181b3
Updated CHANGELOG.md
jaimeozaez Jul 29, 2024
9c1b591
added emmtyper template
Daniel-VM Jul 26, 2024
c37ce5f
fixing paths and folder names
Daniel-VM Jul 29, 2024
edb2822
add emmtyper to results lablog
Daniel-VM Jul 29, 2024
e1fee0a
fixed folder name and dir accessing
Daniel-VM Jul 29, 2024
ee94735
allow emmtyper to run via singularity
Daniel-VM Jul 29, 2024
4177dbf
update changelog in #300
Daniel-VM Jul 29, 2024
95d0522
added reviewer suggestions in #300
Daniel-VM Jul 29, 2024
59400cb
fix singularity bind
Daniel-VM Jul 29, 2024
7e993a8
renamed logs folder
Daniel-VM Jul 30, 2024
79003ab
Fixed IRMA's lablog so that the info is not displayed several times n…
victor5lm Aug 1, 2024
dca905a
Substituted pipelines_new by pipelines in line 8
victor5lm Aug 1, 2024
a7bd213
Updated CHANGELOG.md
victor5lm Aug 1, 2024
a23ef4c
Added new line to remove all_samples_completo.txt before creating it,…
victor5lm Aug 5, 2024
13e66f1
Modified the email_creation function so that new lines are applied wh…
victor5lm Aug 7, 2024
9a41d15
Updated CHANGELOG.md
victor5lm Aug 7, 2024
9523959
Ran black --check and black commands so that black_lint does not fail
victor5lm Aug 8, 2024
41ce9a6
Added log to pangolin-data update stage. Added check for correct update
jaimeozaez Aug 2, 2024
4cb6322
Fixed typo
jaimeozaez Aug 2, 2024
5652463
Enabled module load singularity inside of the lablog
jaimeozaez Aug 2, 2024
625e029
Moved nextclade_dataset_tag and nextclade_dataset_name inside sbatch …
jaimeozaez Aug 5, 2024
fb8b365
Added singularity module load check and screen confirmation messages
jaimeozaez Aug 6, 2024
f9a5c65
Modified name of fasta and gff files (family instead ref) when using …
jaimeozaez Aug 6, 2024
da22b07
Updated path for artic SARS primer.bed inside refgenie folder
jaimeozaez Aug 6, 2024
67ab0e9
Moved obtain_family function inside if statement, in order to use it …
jaimeozaez Aug 6, 2024
4b65df3
Modified the way the references are finded. Substituted refgenie seek…
jaimeozaez Aug 6, 2024
1290bae
Added copy stage for config and params files and added date and time …
jaimeozaez Aug 6, 2024
17d04ca
Substituted refgenie add by refgenie build when including new referen…
jaimeozaez Aug 6, 2024
f7f98b9
Modified final message. Moved module load singularity stage outside d…
jaimeozaez Aug 6, 2024
abafecf
Created lablog_viralrecon.log
jaimeozaez Aug 6, 2024
41dc67a
Added log_message function
jaimeozaez Aug 7, 2024
fd187e8
Added log_message to every message in the lablog
jaimeozaez Aug 7, 2024
4abbecd
Fixed typo
jaimeozaez Aug 7, 2024
f356418
Fixed log_message function when used outside service folder (pangolin…
jaimeozaez Aug 7, 2024
d1b210b
Fixed bug in check_references function
jaimeozaez Aug 7, 2024
8018286
Added some messages when building and adding new references
jaimeozaez Aug 7, 2024
5ddca08
Added srun to refgenie build and refgenie add functions. Created prom…
jaimeozaez Aug 7, 2024
e3f8f38
Resolved CHANGELOG.md conflict
jaimeozaez Aug 8, 2024
f092bb9
Modified message when pangolin-data is already updated. Added confirm…
jaimeozaez Aug 8, 2024
5c7f64b
Added checking stage por proper performance of refgenie build and ref…
jaimeozaez Aug 8, 2024
0b3baa3
Updated log_message function including prompt message in terminal. Re…
jaimeozaez Aug 8, 2024
ab8b06f
Fixed bug
jaimeozaez Aug 8, 2024
4e1656d
Added timestamp variable to log_message function
jaimeozaez Aug 9, 2024
3164772
Fixed bug. Now, references with no family are assigned to miscellanous
jaimeozaez Aug 9, 2024
76fee55
Substituted break by return
jaimeozaez Aug 9, 2024
743b0f3
Changed color to last message
jaimeozaez Aug 13, 2024
2c6642d
Modified name of gff file (now is named as family)
jaimeozaez Aug 14, 2024
c789e8f
Removed srun from refgenie build and refgenie add in order to avoid w…
jaimeozaez Aug 14, 2024
e148200
Added loading stage for micromamba refgenie enviroment
jaimeozaez Aug 16, 2024
802c5e3
Updated CHANGELOG.md
jaimeozaez Aug 16, 2024
1dd5752
created python for irma vcf
svarona Aug 1, 2024
0089a27
@saramonzon changes to add minority variants WIP
svarona Aug 1, 2024
96147d9
Added frequency and depth as parameter filters
svarona Aug 1, 2024
f480699
Added TOTAL_DP to stats
svarona Aug 1, 2024
ffd88e9
Updated VCF data to fit in VCFv4.2 format
svarona Aug 1, 2024
4a11781
Exclude reference alles in both alignment and stats files
svarona Aug 1, 2024
49c1e82
Added code to update minority allele
svarona Aug 1, 2024
da9a306
Added code for minority deletions
svarona Aug 1, 2024
5b37802
Fixed line that was excluding deletions
svarona Aug 1, 2024
a805a2c
Added total dp
svarona Aug 1, 2024
71700ce
refactored a little bit
svarona Aug 1, 2024
33b1633
Updated docstrings
svarona Aug 1, 2024
10771a3
black
svarona Aug 1, 2024
3b7d5ae
Updated changelog
svarona Aug 1, 2024
347826e
Managed deletions at the begining of alignment
svarona Aug 6, 2024
4c4908a
Managed missing data in stats
svarona Aug 6, 2024
67a6092
Managed minority deletions
svarona Aug 6, 2024
fb1adb2
managed minority deletions
svarona Aug 6, 2024
3976ec8
black
svarona Aug 6, 2024
74a1de8
Fixed alt_allele in insertions
svarona Aug 7, 2024
73eca11
Added management of low af insertions at the end of the sequence
svarona Aug 7, 2024
551f077
Added mvmoneo to sftp users
svarona Aug 16, 2024
9204802
Updated changelog
svarona Aug 16, 2024
b4cafb9
fixed typo
svarona Aug 16, 2024
e195d6a
updated new tx2gene table name innf-core pipeline
svarona Aug 14, 2024
907f95c
updated plots por DETs
svarona Aug 14, 2024
24d875f
added original timeseries script
svarona Aug 14, 2024
7ea6b22
prettier
svarona Aug 14, 2024
672fdff
Fixed new nf-core pipeline file name
svarona Aug 14, 2024
982b53c
removed unnecessary variables
svarona Aug 14, 2024
525ff0c
Added time series plots
svarona Aug 14, 2024
f29b646
Created option to pass date specific order
svarona Aug 14, 2024
1a7dba2
Updated changelog
svarona Aug 16, 2024
e746344
Added bbaladron to SFTP users
svarona Aug 16, 2024
5945df1
Updated changelog
svarona Aug 16, 2024
ac0c0cc
Added pikavirus configuration
jaimeozaez Aug 19, 2024
5be069f
Added plasmidID configuration
jaimeozaez Aug 19, 2024
2277284
Added wgmlst_chewbbaca configuration
jaimeozaez Aug 19, 2024
4af7d15
Added wgmlst_ctaranis configuration
jaimeozaez Aug 19, 2024
b25764e
Added characterization configuration
jaimeozaez Aug 19, 2024
fd69fcc
Updated CHANGELOG.md
jaimeozaez Aug 19, 2024
6b048ee
added files of template characterization-taxprofiler
Daniel-VM Aug 23, 2024
09da67a
fixed file end lines
Daniel-VM Aug 23, 2024
4b3ef38
update changelog #320
Daniel-VM Aug 23, 2024
1306b1f
uppdate execution time and database paths
Daniel-VM Aug 30, 2024
43169d5
relocated template taxprofiler
Daniel-VM Aug 30, 2024
5c21df1
udpdate documentation of template taxprofiler
Daniel-VM Aug 30, 2024
bd4d9fa
fixed path to results in taxprofiler results lablog
Daniel-VM Aug 30, 2024
39bf2af
fixed indentation
Daniel-VM Aug 30, 2024
f29de30
added krona rhtml to results folder
Daniel-VM Aug 30, 2024
3e2c9b1
added user to sftp
Daniel-VM Aug 30, 2024
e4e6f16
added prefix to krona html results
Daniel-VM Aug 30, 2024
186b764
added init config for mag template
Daniel-VM Aug 22, 2024
4317a82
added mag-complete lablogs
Daniel-VM Aug 22, 2024
73c1d85
changed comp queue
Daniel-VM Aug 22, 2024
ce0df3d
renaming folders in mag template
Daniel-VM Aug 22, 2024
0a4226b
update mag config params
Daniel-VM Aug 22, 2024
56446d6
fix lablog in mag_tax
Daniel-VM Aug 22, 2024
07f75af
minor config update
Daniel-VM Aug 23, 2024
c3c8a71
update changelog #321
Daniel-VM Aug 23, 2024
05e5251
dummy changes
Daniel-VM Aug 23, 2024
a07f7a6
created tempalte for mag_all
Daniel-VM Sep 3, 2024
18f6d00
increase timelimit to mag module and add todo
Daniel-VM Sep 5, 2024
9d080bb
add mag_all results lablog and documentation
Daniel-VM Sep 5, 2024
228e758
allow step for refinement
Daniel-VM Sep 5, 2024
b766837
skip concoct due to excess in timelimt
Daniel-VM Sep 5, 2024
55968c1
update readme in #321
Daniel-VM Sep 5, 2024
48ee66b
Added several changes in bioinfo_doc.py to allow the inclusion of ver…
victor5lm Sep 6, 2024
ce07fec
Added a software versions section in the jinja delivery template
victor5lm Sep 6, 2024
443c2f0
Added the labels for each service in services.json
victor5lm Sep 6, 2024
8a1a425
Changed safe from False to True
victor5lm Sep 6, 2024
9a8f9b9
Updated CHANGELOG.md
victor5lm Sep 6, 2024
b8148a6
Removed trailing whitespace
victor5lm Sep 6, 2024
e681be0
Ran black on bioinfo_doc.py
victor5lm Sep 6, 2024
0ded6e1
Created a new config file for viralrecon to keep relevant kraken files
victor5lm Sep 9, 2024
c57f788
Updated release version tag in __main__.py
victor5lm Sep 9, 2024
43d0175
Updated get_service_paths function in utils.py to handle the profile …
victor5lm Sep 9, 2024
445491e
Updated pipeline version in rnaseq template
victor5lm Sep 9, 2024
b628205
Corrected paths in characterization lablog
victor5lm Sep 9, 2024
0245f94
Added skip_asciigenome in viralrecon_params.yml
victor5lm Sep 9, 2024
48bf916
Created a .sh file to remove the first three columns of mapping_illum…
victor5lm Sep 9, 2024
a070067
Updated mag pipeline version in the template
victor5lm Sep 9, 2024
bcb5173
Updated ariba singularity image in characterization/REFERENCES/lablog
victor5lm Sep 9, 2024
5c9a23c
Updated CHANGELOG.md
victor5lm Sep 9, 2024
e55ea29
Created MLVA template as part of characterization
victor5lm Sep 9, 2024
1930cfa
Fixed linting mistakes
victor5lm Sep 9, 2024
d779d44
Ran black on utils.py
victor5lm Sep 9, 2024
b7545f3
Added a permissions field in the global section
victor5lm Sep 10, 2024
7341b2e
Added a remake_permissions() function to utils.py to allow permission…
victor5lm Sep 10, 2024
df7c338
Updated scratch.py to always make permissions correct after copying f…
victor5lm Sep 10, 2024
e936f88
Added a new bu-isciii function to fix permissions of a custom folder
victor5lm Sep 10, 2024
4fbfc95
Updated CHANGELOG.md
victor5lm Sep 10, 2024
3bc16d4
Fixed linting mistake
victor5lm Sep 10, 2024
cdcb3b8
Ran black on scratch.py and utils.py
victor5lm Sep 10, 2024
4f17ee5
Used 2775 for directory chmod in configuration.json
victor5lm Sep 10, 2024
c1b80ad
Simplified the remake_permissions() function in utils.py
victor5lm Sep 10, 2024
2ddb2f4
Ran black on utils.py
victor5lm Sep 10, 2024
b2377ab
Updated mag lablogs so that they can be used with the 3.0.3 version
victor5lm Sep 11, 2024
e4af497
Updated the get_md5() function
victor5lm Sep 11, 2024
1ca89b8
Updated CHANGELOG.md
victor5lm Sep 11, 2024
3c3c5ba
Updated sftp_user.json
victor5lm Sep 11, 2024
ce8e746
Updated setup.py
victor5lm Sep 11, 2024
ef6ac3a
Updated version tag in __main__.py
victor5lm Sep 11, 2024
028faf6
Fixed a minor mistake in bioinfo_doc.py
victor5lm Sep 11, 2024
8079bb2
Updated the remove_columns_mapping_table.sh script
victor5lm Sep 11, 2024
8f71c76
Updated README.md
victor5lm Sep 11, 2024
a81d37b
Updated CHANGELOG.md
victor5lm Sep 11, 2024
40b093a
Updated CHANGELOG.md
victor5lm Sep 12, 2024
074f1e2
Added 2.X.Xhot section to CHANGELOG.md
victor5lm Sep 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
34 changes: 29 additions & 5 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 @@ -18,18 +17,43 @@ jobs:
python-version: 3.9.x
architecture: x64
- name: Checkout PyTorch
uses: actions/checkout@master
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."
97 changes: 95 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ 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.X.Xdev] - 2024-0X-XX : https://github.com/BU-ISCIII/buisciii-tools/releases/tag/2.X.X

### Credits

Expand All @@ -24,7 +24,7 @@ Code contributions to the new version:

### Requirements

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

### Credits

Expand All @@ -44,6 +44,99 @@ Code contributions to the hotfix:

### Requirements

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

### Credits

Code contributions to the new version:
- [Pablo Mata](https://github.com/Shettland)
- [Jaime Ozáez](https://github.com/jaimeozaez)
- [Sara Monzón](https://github.com/saramonzon)
- [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

- Updated documentation and results markdown for viralrecon, pikavirus and MAG [#247](https://github.com/BU-ISCIII/buisciii-tools/pull/247)
- Added documentation and results markdown for RNAseq [#248](https://github.com/BU-ISCIII/buisciii-tools/pull/248)
- Added documentation both output and results for plasmidID[#258](https://github.com/BU-ISCIII/buisciii-tools/pull/258)
- Added markdown of assembly analysis procedure [#244](https://github.com/BU-ISCIII/buisciii-tools/pull/244)
- Added output and results markdowns for ExomeEB, ExomeTrio and WGStrio [#249](https://github.com/BU-ISCIII/buisciii-tools/pull/249)
- Added markdown of assembly results folder [#250](https://github.com/BU-ISCIII/buisciii-tools/pull/250)
- Updated lablog results filenames where necessary (IRMA, seekndestroy, viralrecon and genomeev) [#253](https://github.com/BU-ISCIII/buisciii-tools/pull/253)
- Added output and results markdowns for cgMLST/wgMLST [#255](https://github.com/BU-ISCIII/buisciii-tools/pull/255)
- Added markdown for IRMA [#256](https://github.com/BU-ISCIII/buisciii-tools/pull/256)
- Included RESULTS/lablog for exomeeb, exometrio and wgstrio templates and updated files to clean [#260](https://github.com/BU-ISCIII/buisciii-tools/pull/260)
- Changed scratch copy queue to middle_obx
- Included missing folders in wgstrio template
- Changed exomiser-html-description to png format and fixed location of irma-sarek markdowns [#261](https://github.com/BU-ISCIII/buisciii-tools/pull/261)
- Updated configuration.json so that either idx or obx is used in case one of these queues is full [#263](https://github.com/BU-ISCIII/buisciii-tools/pull/263)
- Updated lablog_viralrecon script for the automation of the setup of viralrecon services. [#264](https://github.com/BU-ISCIII/buisciii-tools/pull/264)
- Included MULTIQC v.1.19 in viralrecon.config to fix error with string and numeric samples [#267](https://github.com/BU-ISCIII/buisciii-tools/pull/267)
- Updated MTBSeq template to fit bacass pipeline. [#268](https://github.com/BU-ISCIII/buisciii-tools/pull/268)
- IRMA template modified in order to avoid average overload.
- Added "01" to results folder creation in assembly template.
- Some prompt answers limited to 1 character in lablog_viralrecon.
- Created lablog_mtbseq_results. [#270](https://github.com/BU-ISCIII/buisciii-tools/pull/270)
- PR #271. Closes [#235](https://github.com/BU-ISCIII/buisciii-tools/issues/235), [#228](https://github.com/BU-ISCIII/buisciii-tools/issues/228) and [#196](https://github.com/BU-ISCIII/buisciii-tools/issues/196)
- 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

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

#### Removed

### Requirements

## [2.1.0] - 2024-04-19 : https://github.com/BU-ISCIII/buisciii-tools/releases/tag/2.1.0

### Credits
Expand Down
63 changes: 49 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ BU-ISCIII provides a serie or services in its portfolio for supporting bioinform

- [buisciii-tools](#buisciii-tools)
- [Installation](#installation)
- [Bioconda](#bioconda)
- [Pip](#pip)
- [Development version](#development-version)
- [Micromamba and pip](#micromamba-and-pip)
- [Dev version](#dev-version)
- [Usage](#usage)
- [Command-line](#command-line)
- [list](#list)
Expand All @@ -22,34 +21,47 @@ BU-ISCIII provides a serie or services in its portfolio for supporting bioinform
- [bioinfo\_doc](#bioinfo_doc)
- [archive](#archive)
- [autoclean\_sftp](#autoclean_sftp)
- [fix-permissions](#fix-permissions)
- [Acknowledgements](#acknowledgements)

## Installation

### Bioconda
### Micromamba and pip

```bash
conda create -n buisciii-tools pip
conda activate
conda env update --file environment.yml
micromamba create -n buisciii -f environment.yml
micromamba activate buisciii
pip install --force-reinstall --upgrade git+https://github.com/bu-isciii/buisciii-tools.git@main
```

### Pip
or

```bash
git checkout main
conda create -n buisciii -f environment.yml
conda activate
pip install .
```

### Development version
### Dev version

If you want to install the latest code in the repository:

```bash
conda create -n buisciii_dev pip
micromamba create -n buisciii_dev -f environment.yml
micromamba activate buisciii_dev
pip install --force-reinstall --upgrade git+https://github.com/bu-isciii/buisciii-tools.git@develop
```

or locally:

```bash
git checkout develop
micromamba create -n buisciii_dev -f environment.yml
micromamba activate buisciii_dev
pip install .
```

## Usage

### Command-line
Expand All @@ -72,7 +84,7 @@ Options:
-u, --api_user TEXT User for the API logging
-p, --api_password TEXT Password for the API logging
-c, --cred_file TEXT Config file with API logging credentials
--help Show this message and exit.
--help Show this message and exit

Commands:
list List available bu-isciii services.
Expand All @@ -83,6 +95,8 @@ Commands:
finish Service cleaning, remove big files, rename folders before...
bioinfo-doc Create the folder documentation structure in bioinfo_doc...
archive Archive services or retrieve services from archive
autoclean-sftp Clean old sftp services
fix-permissions Fix permissions
```

#### list
Expand Down Expand Up @@ -137,9 +151,10 @@ Output:
│ │ control, host removal and exploratory │ │
│ │ analysis of samples. │ │
│ ariba_characterization │ │ │
│ mag_met │ Bioinformatics best-practise analysis │ https://github.com/nf-core/mag │
│ │ pipeline for assembly, binning and │ │
│ │ annotation of metagenomes. │ │
│ mag_met │ 1- Bioinformatics best-practise analysis │ https://github.com/nf-core/mag or │
│ │ for taxonomic classification and │ https://github.com/nf-core/taxprofiler │
│ │ profiling; 2- Bioinformatics best-practise│ │
│ │ analysis pipeline for assembly, binning │ │
└────────────────────────┴───────────────────────────────────────────┴────────────────────────────────────────────┘
```

Expand Down Expand Up @@ -377,6 +392,26 @@ Options:
--help Show this message and exit.
```

#### fix-permissions

Example of usage:

```bash
bu-isciii fix-permissions -d /data/bi
```

Help:

```bash
Usage: bu-isciii fix-permissions [OPTIONS]

Fix permissions

Options:
-d, --input_directory PATH Input directory to fix permissions (absolute path) [required]
--help Show this message and exit.
```

## Acknowledgements

Python package idea and design is really inspired in [nf-core/tools](https://github.com/nf-core/tools).
Loading
Loading