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

kallisto|bustools 0.28.2 update #294

Merged
merged 39 commits into from
Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
e03cd46
Merge pull request #283 from nf-core/dev
grst Jan 10, 2024
19132ff
first commit: bump up kb versions
gennadyFauna Jan 22, 2024
90cb6a4
Merge pull request #293 from nf-core/dev
grst Jan 23, 2024
9e176ac
Merge branch 'nf-core:master' into kb_update
gennadyFauna Jan 24, 2024
4ef499e
renaming parameters
gennadyFauna Jan 29, 2024
fb6db73
Memory arg might need to be before fastq list?
gennadyFauna Jan 29, 2024
3ccd083
Update main.nf
gennadyFauna Jan 29, 2024
45e0b19
Removed t2g versions call
gennadyFauna Feb 10, 2024
50d3948
removing t2g.py
gennadyFauna Feb 12, 2024
b0d7c5d
Remove txp2gene.collect() call
gennadyFauna Feb 12, 2024
8630ef9
add t1c/t2c parameters to schema
gennadyFauna Feb 12, 2024
e503e21
Fixed kallisto_gene_map documentation
gennadyFauna Feb 12, 2024
752d051
Update nextflow_schema.json
gennadyFauna Feb 12, 2024
4d90d60
de-duplicating txp2gene args (lint complains)
gennadyFauna Feb 13, 2024
efb1487
Update nextflow_schema.json
gennadyFauna Feb 13, 2024
5ffdc88
txp2gene has to be moved if it's shared
gennadyFauna Feb 13, 2024
38344a5
adding explicit t1c and t2c arguments for kb
gennadyFauna Feb 13, 2024
336d5f4
Merge branch 'dev' into kb_update
grst Feb 14, 2024
bf27685
harmonizing with PR while that's in progress
gennadyFauna Feb 23, 2024
ac7e7cd
Update nextflow_schema.json
gennadyFauna Feb 23, 2024
8c4b872
Update main.nf
gennadyFauna Feb 23, 2024
8db2f95
Update kallisto_bustools.nf
gennadyFauna Feb 24, 2024
a1fdcda
Update kallisto_bustools.nf
gennadyFauna Feb 24, 2024
2aca75b
docker container update
gennadyFauna Feb 27, 2024
0f56093
manually updated md5s
gennadyFauna Feb 27, 2024
aae5fc5
Update main_pipeline_kallisto.test.snap
gennadyFauna Feb 27, 2024
740a5dc
update mtx construction
gennadyFauna Feb 27, 2024
e7f5994
update seurat too
gennadyFauna Feb 27, 2024
25ecada
this must have gotten fixed a few kb versions ago
gennadyFauna Feb 27, 2024
072d187
...and the R changes have to be updated in md5
gennadyFauna Feb 27, 2024
e006cdf
correcting var
gennadyFauna Feb 27, 2024
0187f8c
features too
gennadyFauna Feb 27, 2024
35dc973
version bump
Mar 4, 2024
f12cfbb
[automated] Fix linting with Prettier
nf-core-bot Mar 4, 2024
73e958c
Merge branch 'dev' into kb_update
grst Mar 7, 2024
fdda7a5
Delete .nf-test.log
grst Mar 7, 2024
6b46540
Update nextflow_schema.json
grst Mar 7, 2024
904743e
Fix nextflow schema
grst Mar 7, 2024
600619f
Update changelog
grst Mar 7, 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
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## v2.6.0dev - [date]

- [[#91](https://github.com/nf-core/scrnaseq/issues/91)] - Change from pytests to nf-test
- Change from pytests to nf-test ([#291](https://github.com/nf-core/scrnaseq/pull/291))
- Update template to v2.13.1 ([#309](https://github.com/nf-core/scrnaseq/pull/309))
- Update to kallisto|bustools v0.28.2 ([#294](https://github.com/nf-core/scrnaseq/pull/294))

## v2.5.1

Expand Down
4 changes: 2 additions & 2 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@
},
"kallistobustools/count": {
"branch": "master",
"git_sha": "3f5420aa22e00bd030a2556dfdffc9e164ec0ec5",
"git_sha": "de8215983defba48cd81961d620a9e844f11c7e7",
"installed_by": ["modules"]
},
"kallistobustools/ref": {
"branch": "master",
"git_sha": "3f5420aa22e00bd030a2556dfdffc9e164ec0ec5",
"git_sha": "de8215983defba48cd81961d620a9e844f11c7e7",
"installed_by": ["modules"]
},
"multiqc": {
Expand Down
34 changes: 0 additions & 34 deletions modules/local/gene_map.nf

This file was deleted.

10 changes: 5 additions & 5 deletions modules/local/mtx_to_h5ad.nf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ process MTX_TO_H5AD {
if (params.aligner == 'kallisto') {
mtx_matrix = "*count/counts_unfiltered/*.mtx"
barcodes_tsv = "*count/counts_unfiltered/*.barcodes.txt"
features_tsv = "*count/counts_unfiltered/*.genes.txt"
features_tsv = "*count/counts_unfiltered/*.genes.names.txt"
} else if (params.aligner == 'alevin') {
mtx_matrix = "*_alevin_results/af_quant/alevin/quants_mat.mtx"
barcodes_tsv = "*_alevin_results/af_quant/alevin/quants_mat_rows.txt"
Expand All @@ -54,13 +54,13 @@ process MTX_TO_H5AD {
else if (params.aligner == 'kallisto' && params.kb_workflow != 'standard')
"""
# convert file types
for input_type in spliced unspliced ; do
for input_type in nascent ambiguous mature ; do
mtx_to_h5ad.py \\
--aligner ${params.aligner} \\
--sample ${meta.id} \\
--input *count/counts_unfiltered/\${input_type}.mtx \\
--barcode *count/counts_unfiltered/\${input_type}.barcodes.txt \\
--feature *count/counts_unfiltered/\${input_type}.genes.txt \\
--input *count/counts_unfiltered/cells_x_genes.\${input_type}.mtx \\
--barcode $barcodes_tsv \\
--feature $features_tsv \\
--txp2gene ${txp2gene} \\
--star_index ${star_index} \\
--out ${meta.id}/${meta.id}_\${input_type}_matrix.h5ad ;
Expand Down
10 changes: 5 additions & 5 deletions modules/local/mtx_to_seurat.nf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ process MTX_TO_SEURAT {
} else if (params.aligner == "kallisto") {
matrix = "*count/counts_unfiltered/*.mtx"
barcodes = "*count/counts_unfiltered/*.barcodes.txt"
features = "*count/counts_unfiltered/*.genes.txt"
features = "*count/counts_unfiltered/*.genes.names.txt"
} else if (params.aligner == "alevin") {
matrix = "*_alevin_results/af_quant/alevin/quants_mat.mtx"
barcodes = "*_alevin_results/af_quant/alevin/quants_mat_rows.txt"
Expand All @@ -43,11 +43,11 @@ process MTX_TO_SEURAT {
if (params.aligner == 'kallisto' && params.kb_workflow != 'standard')
"""
# convert file types
for input_type in spliced unspliced ; do
for input_type in nascent ambiguous mature ; do
mtx_to_seurat.R \\
*count/counts_unfiltered/\${input_type}.mtx \\
*count/counts_unfiltered/\${input_type}.barcodes.txt \\
*count/counts_unfiltered/\${input_type}.genes.txt \\
*count/counts_unfiltered/cells_x_genes.\${input_type}.mtx \\
$barcodes \\
$features \\
${meta.id}/${meta.id}_\${input_type}_matrix.rds \\
${aligner}
done
Expand Down
2 changes: 1 addition & 1 deletion modules/nf-core/kallistobustools/count/environment.yml

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

32 changes: 23 additions & 9 deletions modules/nf-core/kallistobustools/count/main.nf

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

12 changes: 6 additions & 6 deletions modules/nf-core/kallistobustools/count/meta.yml

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

98 changes: 98 additions & 0 deletions modules/nf-core/kallistobustools/count/tests/main.nf.test

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

Loading
Loading