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

Fastq screen #3574

Merged
merged 256 commits into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
256 commits
Select commit Hold shift + click to select a range
92c8a67
use id as index name
snesic May 22, 2023
13fd77b
prettier yml
snesic Jun 29, 2023
84551ed
Update modules/nf-core/fastqscreen/buildfromindex/main.nf
SPPearce Sep 29, 2023
e1e5346
Merge branch 'master' into fastq_screen
SPPearce Oct 2, 2023
99c7123
remove comment
snesic Oct 3, 2023
ac168d7
Update tests/modules/nf-core/fastqscreen/buildfromindex/main.nf
snesic Oct 3, 2023
b105024
Update modules/nf-core/fastqscreen/fastqscreen/meta.yml
snesic Oct 3, 2023
be1390b
Update tests/modules/nf-core/fastqscreen/buildfromindex/main.nf
snesic Oct 3, 2023
9088b35
change genome to database
snesic Oct 3, 2023
9aab90d
rename input
snesic Oct 3, 2023
3a1e332
remove meta2
snesic Oct 3, 2023
c47babb
update md5sum
snesic Oct 3, 2023
d667928
correct container
snesic Oct 3, 2023
b4c09ad
Update main.nf
snesic Oct 3, 2023
f2ffc4e
Update meta.yml
snesic Oct 4, 2023
cf4f2d6
remove inplace in sed to work on macos and linux
snesic Oct 4, 2023
3621748
Gem2/gem2bedmappability (#3572)
nvnieuwk Jun 30, 2023
1044859
Update genmap modules (#3579)
nvnieuwk Jun 30, 2023
825e7d6
Gcnvcaller modules (#3581)
ramprasadn Jun 30, 2023
cee34e4
Update germlinecnvcaller (#3584)
ramprasadn Jun 30, 2023
96f9900
Add singularity.registry = 'quay.io' for tests (#3499)
drpatelh Jul 1, 2023
0621760
Automatically rename input files in cellranger module (#3537)
grst Jul 1, 2023
f6b8a73
Bump taxpasta version (#3586)
jfy133 Jul 3, 2023
df24a27
change authorship (#3580)
mapo9 Jul 4, 2023
1a5a7d5
sub-tool names must be one word - msisensorpro/msisomatic (#3590)
muffato Jul 4, 2023
94aff59
License on sentieon script (#3594)
asp8200 Jul 4, 2023
62ebad4
New module: emboss/cons (#3583)
Joon-Klaps Jul 4, 2023
423dddc
Ucsc update (#3588)
DLBPointon Jul 4, 2023
8e7544f
Windowmasker update (#3587)
DLBPointon Jul 4, 2023
817bb6a
Use `gzip -cd` because `gunzip` preserves the group ownership (#3593)
muffato Jul 4, 2023
57c6b4c
update postprocessgermlinecnvcalls (#3596)
ramprasadn Jul 4, 2023
dc20759
update eklipse (#3598)
ramprasadn Jul 4, 2023
920f0ce
new module: mmseqs2/createdb (#3601)
Joon-Klaps Jul 5, 2023
ae17c95
add peka module (#3402)
CharlotteAnne Jul 5, 2023
10d3c42
salmon/quant update to handle multiple pairs of fastqs (#3438)
anoronh4 Jul 5, 2023
849d506
Metaphlan4 update: add --index (#3604)
LilyAnderssonLee Jul 6, 2023
a141bf8
Update bcftools query (#3605)
nvnieuwk Jul 6, 2023
1f8c181
New module: mmseqs/search (#3595)
Joon-Klaps Jul 6, 2023
b4a0fba
New module: mmseqs/cluster (#3600)
Joon-Klaps Jul 6, 2023
419fafd
New module: mmseqs/createtsv (#3603)
Joon-Klaps Jul 6, 2023
6cb4212
Add geoquery/getgeo (#3585)
Jul 7, 2023
6a88dac
bam_markduplicates_samtools (#3606)
priyanka-surana Jul 7, 2023
5cd20f6
FASTQ_ALIGN_BWAALN: Fixes bwa_aln subworkflow inconsistency with read…
jfy133 Jul 7, 2023
a3abf7b
Add mapAD/map (#3609)
jch-13 Jul 7, 2023
97c6087
Add proteus module (#3578)
WackerO Jul 7, 2023
2d04695
Update manta modules (#3615)
maxulysse Jul 10, 2023
c32c0e6
add varlociraptor call subcommand (#3529)
FriederikeHanssen Jul 11, 2023
c441209
add new module iCount-mini/metagene (#3612)
CharlotteAnne Jul 12, 2023
7edc9f0
Newmodule ngmerge (#3626)
CharlotteAnne Jul 12, 2023
8005a25
NEW MODULE: PURECLIP (#3624)
CharlotteAnne Jul 12, 2023
06733d8
fix integer overflow (#3620)
sstrong99 Jul 12, 2023
d231c0b
Fix metaeuk_easypredict when using mmseqs database (#3525)
prototaxites Jul 12, 2023
a1444ee
3630 add unstitched reads as emitted output of ngmerge (#3632)
CharlotteAnne Jul 12, 2023
b3173a9
Update vardictjava (#3633)
nvnieuwk Jul 13, 2023
a287fb5
Adding modules from #scrnaseq for simpleaf (#3619)
Jul 13, 2023
ead3f86
update icount mini version (#3640)
CharlotteAnne Jul 14, 2023
91c7b82
Bump taxpasta version (biocontainer not yet available) (#3639)
jfy133 Jul 14, 2023
2b5c356
Purecn/run (#3140)
aldosr Jul 14, 2023
6037b59
new module: samtools/import (#3642)
matthdsm Jul 14, 2023
16720b4
Adding seqkit sliding command (#3637)
DLBPointon Jul 17, 2023
1ccce75
Hicexplorer hicpca (#2933)
jianhong Jul 17, 2023
45955f3
Fix bug in pyrodigal module (#3643)
jasmezz Jul 19, 2023
e3665cb
Update gecco/run (#3652)
jasmezz Jul 19, 2023
a82f71f
New module: instrain/compare (#3623)
CarsonJM Jul 19, 2023
8ef2693
Update LAST modules to v1453 (#3303)
johannesnicolaus Jul 20, 2023
2605861
Hisat2-build: index construction w/ truly optional inputs (#3649)
JackCurragh Jul 20, 2023
bdab015
update metaphlan module (#3661)
LilyAnderssonLee Jul 21, 2023
e6ebe45
CNVKit 0.9.10 update (#3651)
adamrtalbot Jul 21, 2023
ae667bd
Update gatk3 modules (#3660)
TCLamnidis Jul 21, 2023
2a86f58
Update tiddit to v3.6.1 (#3663)
asp8200 Jul 23, 2023
fb809db
Update stubs for samtools flagstat (#3657)
ramsainanduri Jul 24, 2023
f288d50
R differential modules control over output prefixes (#3664)
Jul 25, 2023
3685123
Update stubs for samtools idxstats (#3665)
ramsainanduri Jul 25, 2023
3a96faf
Bump ensembl-vep modules to 110.0 (#3658)
maxulysse Jul 25, 2023
a127913
Remove containers with cache with snpEff too (#3670)
maxulysse Jul 25, 2023
4f9be87
Update stubs for bwa mem (#3671)
ramsainanduri Jul 26, 2023
f94a3e0
Additional optional output to homer/annotatepeaks (#3667)
lnblum Jul 26, 2023
88c5c2d
Hisat2 align splicesitesoptional (#3656)
JackCurragh Jul 27, 2023
10204f8
Fix invalid GATK container (#3673)
adamrtalbot Jul 27, 2023
deb1bc6
Update: bamtools, gstama, ultra (#3655)
sguizard Jul 27, 2023
2104443
Fix centrifuge: reduce number of input channels (#3674)
jfy133 Jul 27, 2023
706e30a
Github Actions uses fixed job names for branch protection rules (#3677)
adamrtalbot Jul 28, 2023
1fa0301
changed to version 0.4.0 (#3676)
yumisims Jul 31, 2023
d9bf13d
Update kmcp modules (#3680)
sofstam Aug 1, 2023
b76b952
Move conda-checks (first batch) (#3686)
asp8200 Aug 2, 2023
ca96ff7
Hierarchy of tests applied in order (#3679)
adamrtalbot Aug 2, 2023
d97bd9d
Add seqkit/fx2tab module (#3650)
heuermh Aug 2, 2023
7781483
Move conda-checks (third batch) (#3692)
asp8200 Aug 3, 2023
8bfe6c3
Move conda-checks (second batch) (#3690)
asp8200 Aug 3, 2023
aaa7c7b
Add snakemake module (#3682)
adamrtalbot Aug 3, 2023
7c3699a
ADD MODULE: Famsa guidetree (#3691)
luisas Aug 4, 2023
6482101
Updating multiqc to v1.15 (#3701)
asp8200 Aug 5, 2023
c0e6692
add stub tests for two stubborn modules (#3702)
FriederikeHanssen Aug 5, 2023
8fccded
Modify subworkflows to pass new nf-core linting (#3672)
mirpedrol Aug 7, 2023
997f49d
Add module mmseqs easysearch (#3699)
luisas Aug 7, 2023
a050ed7
New module: galah (#3666)
prototaxites Aug 7, 2023
8cb0451
Move conda-checks (fourth batch) (#3694)
asp8200 Aug 7, 2023
5479b6b
Update shinyngs, remove na.omit() from proteus (#3707)
WackerO Aug 8, 2023
705541b
Updating output-prefix for sentieon-bwaindex (#3708)
asp8200 Aug 8, 2023
ce030f3
Extra parenthesis removed and added stub (#3710)
saulpierotti Aug 9, 2023
e973f8f
Add GATK's CreateReadCountPanelOfNormals and DenoiseReadCounts (#3709)
ramprasadn Aug 9, 2023
fe0556c
Move conda-checks (fifth batch) (#3704)
asp8200 Aug 9, 2023
94a4de9
Adding extra meta-fields for sentieon/applyvarcal (#3716)
asp8200 Aug 10, 2023
ddc1312
Update bclconvert readme (#3646)
matthdsm Aug 10, 2023
cd2b8f4
Add sentieon datametrics (#3715)
ramprasadn Aug 10, 2023
76e3ac5
Add module famsa_align (#3697)
luisas Aug 10, 2023
e726e24
Adding extra meta-fields for sentieon/bwamem (#3717)
asp8200 Aug 10, 2023
efd22a8
Update CONCOCT_CONCOCT process label (#3669)
prototaxites Aug 10, 2023
cdb525b
Adding extra meta-fields for sentieon/dedup (#3718)
asp8200 Aug 10, 2023
d91eef2
Update other concoct containers (#3719)
prototaxites Aug 10, 2023
109724d
Add seqkit/tab2fx module (#3712)
heuermh Aug 10, 2023
889c1f6
Add sentieon readwriter (#3721)
ramprasadn Aug 10, 2023
ae44a23
Move conda-checks (sixth batch) (#3713)
asp8200 Aug 10, 2023
0c5d4e7
Add sentieon dnascope (#3722)
ramprasadn Aug 11, 2023
808a385
Update bcftools stats (#3703)
TCLamnidis Aug 11, 2023
0f103da
fixup: Snakemake meta.yml was incorrect (#3728)
adamrtalbot Aug 11, 2023
d7ec646
Move conda-checks (seventh batch) (#3723)
asp8200 Aug 11, 2023
b2374cc
METABAT2: reduced number of mv operations (#3732)
adamrtalbot Aug 11, 2023
a1addd5
update sentieon recipes (#3733)
ramprasadn Aug 11, 2023
18ccfcc
Add module: Clustalo guidetree (#3730)
luisas Aug 11, 2023
da925e2
Add sentieon dnamodelapply (#3726)
ramprasadn Aug 11, 2023
f108ed6
Add module: Clustalo align (#3734)
luisas Aug 12, 2023
dc2d5b5
GHA use shared singularity cache (#3738)
adamrtalbot Aug 14, 2023
26dc8f7
Add sentieon wgsmetrics (#3727)
ramprasadn Aug 15, 2023
b627a57
FastK has got a -M option to control the memory usage (#3742)
muffato Aug 15, 2023
220c0bb
Ashlar (#3551)
RobJY Aug 15, 2023
8d0ad10
Mafft version update (#3745)
muffato Aug 16, 2023
0807efd
Parabricks use stageInMode to prevent unpredictable file operations w…
adamrtalbot Aug 16, 2023
d25e04c
This MD5 differs between Conda and Singularity (#3746)
muffato Aug 16, 2023
3c14da7
Mmseqs: Documentation fix #3739 (#3743)
kenibrewer Aug 16, 2023
5a62c68
add bedtools groupby (#3751)
mashehu Aug 16, 2023
6038d0f
Add filter_vep (#3750)
ramprasadn Aug 16, 2023
2f76c34
Fixed bug raised in issue #3747 (#3748)
a4000 Aug 16, 2023
2abc283
Fix Snakemake output channel (#3754)
adamrtalbot Aug 17, 2023
ba4644d
Module quast update to meet guidelines again (#3753)
Joon-Klaps Aug 18, 2023
157cfed
Update test_data.config (#3761)
saulpierotti Aug 21, 2023
39db7cd
update gfaffix to 0.1.5 (#3767)
subwaystation Aug 21, 2023
f476d50
update dumpsoftwareversions (#3768)
ramprasadn Aug 21, 2023
7790772
Add sentieon tnscope (#3760)
ramprasadn Aug 21, 2023
bdd5372
Adding stubs to three Sentieon modules (#3776)
asp8200 Aug 22, 2023
5193fc9
update smoothxg to v0.7.1 (#3775)
subwaystation Aug 23, 2023
f79adc0
new module: Pairtools stats (#3631)
nservant Aug 23, 2023
74aa5a7
[pairtools/sort] Update memory usage (#3627)
nservant Aug 23, 2023
8933b32
kallisto: add meta information for references (#3777)
rannick Aug 23, 2023
a8ae8f1
Fix filename check for cellranger count (#3780)
grst Aug 24, 2023
3b160d3
Stitch (#3766)
saulpierotti Aug 24, 2023
0d963ab
STAR: update (#3771)
rannick Aug 25, 2023
600fc9e
update arriba to 2.4.0 and add meta info to references (#3770)
rannick Aug 25, 2023
f83bfe8
qualimap/rnaseq: add meta information for references (#3779)
rannick Aug 25, 2023
1413646
Update taxpasta 0.5.0 (#3782)
sofstam Aug 25, 2023
9e101d6
New module: star/starsolo (#3772)
Joaodemeirelles Aug 25, 2023
abe71f6
Update bakta to v1.8.2 (#3784)
jasmezz Aug 29, 2023
a88aead
New module: umitools/group (#3765)
Joon-Klaps Aug 29, 2023
aedbfb0
Update amrfinderplus (#3787)
jasmezz Aug 30, 2023
65b8cc6
ci: Switch to setup-nextflow (#3795)
edmundmiller Aug 31, 2023
108d1b4
Update SAMTOOLS_DEPTH (#3801)
nevinwu Sep 1, 2023
5c2cb4f
BUSCO: additional outputs (#3289)
priyanka-surana Sep 1, 2023
1cca032
Added support for multiple regions and added per-site r^2 optional ou…
saulpierotti Sep 4, 2023
db386ab
Update sentieon dnascope (#3790)
asp8200 Sep 4, 2023
11279eb
bump wfmash to v0.10.5 (#3806)
subwaystation Sep 4, 2023
80d508d
bump odgi modules to v0.8.3 (#3805)
subwaystation Sep 4, 2023
9bac432
Re-structure nf-test test files (#3807)
adamrtalbot Sep 4, 2023
f466953
sentieon/dnascope : Handling args (#3811)
asp8200 Sep 5, 2023
37ca1a0
Update lofreq call & lofreq callparallel modules (#3812)
nevinwu Sep 5, 2023
2ace4ac
Add mitohifi/mitohifi module (#3573)
ksenia-krasheninnikova Sep 5, 2023
ca577a9
Added new module csvtk/join (#3706)
anoronh4 Sep 6, 2023
4d3d993
update GATK's annotateintervals and filterintervals, and CNVkit's bat…
ramprasadn Sep 6, 2023
8af6c12
update GTDB-tk to 2.3.2 (#3791)
maxibor Sep 6, 2023
89a21c1
Make fasta_align_bwa explicitly note that the fasta channel requires …
SPPearce Sep 7, 2023
7fb5cf8
Update bamcmp (#3803)
SPPearce Sep 7, 2023
cee0835
update germlinecnvcaller (#3820)
ramprasadn Sep 7, 2023
d29c7d5
add kalign (#3825)
luisas Sep 7, 2023
02a1d46
Update stub and relevant tests for gatk's germlinecnvcaller (#3824)
ramprasadn Sep 7, 2023
38b3b1a
Update NGSCheckMate/ncm (#3827)
SPPearce Sep 8, 2023
8c3acbc
Update taxpasta version to 0.6.0 (#3830)
LilyAnderssonLee Sep 11, 2023
4c93ed1
Setting temp-dir for BCFTOOLS_SORT (#3832)
asp8200 Sep 12, 2023
e5134a8
Picard modules: Include check input-ouput naming convention (#3823)
Joon-Klaps Sep 12, 2023
60adc25
Add prefix to bwa/index (#3835)
nvnieuwk Sep 12, 2023
27e842b
Update the biocontainer link (#3836)
LilyAnderssonLee Sep 13, 2023
444a243
fix empty channel assignment in FASTQ_TRIM_FASTP_FASTQC subworkflow (…
Daniel-VM Sep 13, 2023
cc03de2
bump shinyngs (#3834)
pinin4fjords Sep 14, 2023
f7326a9
update version controlfreec (#3842)
FriederikeHanssen Sep 16, 2023
0d1cb58
FIX: Disable JVM hotspot in gatk4 modules (#3844)
maxulysse Sep 18, 2023
a909dbb
Expansionhunter 5.0.0 (#3845)
nvnieuwk Sep 18, 2023
97a8043
Seqtk seq 1.4 (#3846)
erikrikarddaniel Sep 19, 2023
1017fea
Ngscheckmate fastq (#3838)
SPPearce Sep 20, 2023
b36e593
Learnmsa align (#3849)
luisas Sep 21, 2023
3130234
Add INITIALISE subworkflow for starting nf-core pipelines (#3847)
adamrtalbot Sep 21, 2023
1918fa5
Flip order of operations in intialise so --help doesn't error if --in…
adamrtalbot Sep 21, 2023
b6364b7
INITIALISE uses take and emit (#3852)
adamrtalbot Sep 21, 2023
7a794a1
BRACKEN_BRACKEN: add extra missing output file (#3853)
jfy133 Sep 21, 2023
824ba8f
New module: GEM3 (#3837)
miqalvarez Sep 22, 2023
4be2bef
Fix initialise linting (#3860)
mashehu Sep 22, 2023
58964d3
add linting for subworkflows to ci (#3861)
mashehu Sep 22, 2023
2f9c8b0
remove 'subworkflows/' prefix in linting command (#3863)
mashehu Sep 25, 2023
b937044
Add license to cellranger count renaming script. (#3862)
grst Sep 25, 2023
f5be9fb
Fix output for bcl2fastq & bclconvert (#3796)
Aratz Sep 25, 2023
31b8e3b
fix variable name (#3866)
mashehu Sep 25, 2023
6952108
add new module for conifer (#3763)
icaromsc Sep 25, 2023
9fc367a
Add samtools reheader (#3869)
LouisLeNezet Sep 26, 2023
853c4e5
FIX: remove spaces in controlfreec modules (#3870)
maxulysse Sep 26, 2023
d47f03d
update KrakenUniq version to the latest (#3873)
LilyAnderssonLee Sep 27, 2023
b0dfcec
Add missing output to linting CI (#3877)
mashehu Sep 27, 2023
c115cad
Tcoffee align (#3855)
luisas Sep 27, 2023
a2c458a
Add linting ci (#3878)
mashehu Sep 27, 2023
188f1dd
Fix linting ci (#3882)
mashehu Sep 27, 2023
9b577ef
Fix typo (#3880)
luisas Sep 27, 2023
7f5b376
New module: quilt/quilt (#3804)
atrigila Sep 27, 2023
39d7fc8
Add NONPAREIL (#3885)
jfy133 Sep 27, 2023
a8aaaa6
Blastp (#3888)
vagkaratzas Sep 28, 2023
ac39ace
Blast (#3889)
vagkaratzas Sep 28, 2023
dbb2835
CUSTOM/MATRIXFILTER - NA handling (#3868)
WackerO Sep 28, 2023
0f8a50d
Add config option to manta modules (#3890)
nvnieuwk Sep 28, 2023
5cafadf
Update main.nf to include stub (#3876)
DLBPointon Sep 28, 2023
2674cc6
add GITHUB_TOKEN and use it for paths-filter instead of the default g…
mirpedrol Sep 28, 2023
9e9332e
Fix variable typo in amrfinderplus/run (#3892)
jasmezz Sep 28, 2023
399f91b
Bamcmp sw (#3802)
SPPearce Sep 28, 2023
df01462
Vcf impute glimpse multiple input bug correction (#3875)
LouisLeNezet Sep 28, 2023
8679b83
Modules stub (#3883)
LouisLeNezet Sep 28, 2023
ba8939b
TOPAS/GenConS (#3662)
aidaanva Sep 29, 2023
a1db742
update fcsadaptor (#3886)
yumisims Sep 30, 2023
94cd90b
Added blat module (#3736)
d-jch Oct 1, 2023
f942581
new subworkflow bam_cnv_wisecondorx (#3538)
nvnieuwk Oct 2, 2023
9e63355
Bug in stub section (#3897)
saulpierotti Oct 2, 2023
846d93a
Blast - updated blastp test to use proteome instead of genome + check…
vagkaratzas Oct 2, 2023
563e714
remove comment
snesic Oct 3, 2023
fc6ac4d
Update tests/modules/nf-core/fastqscreen/buildfromindex/main.nf
snesic Oct 3, 2023
4a1ab91
Update modules/nf-core/fastqscreen/fastqscreen/meta.yml
snesic Oct 3, 2023
34d040c
Update tests/modules/nf-core/fastqscreen/buildfromindex/main.nf
snesic Oct 3, 2023
1e44752
change genome to database
snesic Oct 3, 2023
6a4081b
rename input
snesic Oct 3, 2023
9dd9ee5
remove meta2
snesic Oct 3, 2023
bf0da0b
update md5sum
snesic Oct 3, 2023
f73bfcb
correct container
snesic Oct 3, 2023
7796ac5
Update main.nf
snesic Oct 3, 2023
93ff284
Update meta.yml
snesic Oct 4, 2023
b0a5e27
remove inplace in sed to work on macos and linux
snesic Oct 4, 2023
1a7266d
Merge branch 'fastq_screen' of https://github.com/JPejovicApis/module…
snesic Oct 10, 2023
47fc6fa
Merge branch 'fastq_screen' of https://github.com/JPejovicApis/module…
snesic Oct 10, 2023
0a68d65
correct pytest_modules and prettier
snesic Oct 10, 2023
f6d91b9
Merge branch 'nf-core:master' into fastq_screen
snesic Oct 11, 2023
948be88
Merge branch 'master' into fastq_screen
SPPearce Apr 29, 2024
8f45c25
Add nf-test for buildfromindex
SPPearce Apr 29, 2024
5c8e9de
Add nf-test for fastqscreen
SPPearce Apr 29, 2024
dc2cf3f
Update nf-test to check stable files
SPPearce Apr 30, 2024
11e813e
Move setup block to shared
SPPearce Apr 30, 2024
fb79246
Update nftest
SPPearce Apr 30, 2024
91f2996
Update test
SPPearce May 1, 2024
a62acc0
Update modules/nf-core/fastqscreen/buildfromindex/tests/main.nf.test
SPPearce May 2, 2024
457921b
Update modules/nf-core/fastqscreen/fastqscreen/tests/main.nf.test
SPPearce May 2, 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
9 changes: 9 additions & 0 deletions modules/nf-core/fastqscreen/buildfromindex/environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/nf-core/modules/master/modules/environment-schema.json
name: "fastqscreen_buildfromindex"
channels:
- conda-forge
- bioconda
- defaults
dependencies:
- "bioconda::fastq-screen=0.15.3"
69 changes: 69 additions & 0 deletions modules/nf-core/fastqscreen/buildfromindex/main.nf
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
process FASTQSCREEN_BUILDFROMINDEX {
label 'process_single'

conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/fastq-screen:0.15.3--pl5321hdfd78af_0':
'biocontainers/fastq-screen:0.15.3--pl5321hdfd78af_0'}"

input:
val(genome_names)
path(indexes), stageAs: "dir*"

output:
path("FastQ_Screen_Genomes"), emit: database
path "versions.yml" , emit: versions

when:
task.ext.when == null || task.ext.when

script:
dir = "FastQ_Screen_Genomes"
folder = indexes.collect { it.toString() }
database = [genome_names, folder].transpose()
copy_indexes = folder.collect { "cp -r ${it} $dir/${it}"}.join(" && ")

// Folder name and index (within folder) name could be different - use bash to look for index name
config = database
.collect { "########## ${it[0]} \nDATABASE ${it[0]} $dir/${it[1]}/${it[1] + '_to_be_replaced'}" }
.join("\n\n")
.replace("\n", "\\n")

"""
mkdir $dir
$copy_indexes

echo "$config" > fastq_screen.conf
sed 's/\\\\n/\\n/g' fastq_screen.conf > $dir/fastq_screen.conf
echo "Replace folder name real index name"

for f in ${folder.join(' ')}
do
TO_REPLACE=\${f}_to_be_replaced

REPLACE_WITH=(\$f"/*.rev.1.bt2")
REPLACE_WITH=\$(basename \$REPLACE_WITH)
REPLACE_WITH=\${REPLACE_WITH%%.rev.1.bt2}

sed "s/\$TO_REPLACE/\$REPLACE_WITH/g" $dir/fastq_screen.conf > new_conf.conf
mv new_conf.conf $dir/fastq_screen.conf
done

cat <<-END_VERSIONS > versions.yml
"${task.process}":
fastqscreen: \$(echo \$(fastq_screen --version 2>&1) | sed 's/^.*FastQ Screen v//; s/ .*\$//')
END_VERSIONS
"""

stub:
dir = "FastQ_Screen_Genomes"
"""
mkdir $dir
touch $dir/fastq_screen.conf

cat <<-END_VERSIONS > versions.yml
"${task.process}":
fastqscreen: \$(echo \$(fastq_screen --version 2>&1) | sed 's/^.*FastQ Screen v//; s/ .*\$//')
END_VERSIONS
"""
}
34 changes: 34 additions & 0 deletions modules/nf-core/fastqscreen/buildfromindex/meta.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: "fastqscreen_buildfromindex"
description: Build fastq screen config file from bowtie index files
keywords:
- build
- index
- genome
- reference
tools:
- "fastqscreen":
description: "FastQ Screen allows you to screen a library of sequences in FastQ format against a set of sequence databases so you can see if the composition of the library matches with what you expect."
homepage: "https://www.bioinformatics.babraham.ac.uk/projects/fastq_screen/"
documentation: "https://stevenwingett.github.io/FastQ-Screen/"
tool_dev_url: "https://github.com/StevenWingett/FastQ-Screen/archive/refs/tags/v0.15.3.zip"
doi: "10.5281/zenodo.5838377"
licence: ["GPL-3.0-or-later"]
input:
- genome_names:
type: string
description: List of names for each index
- indexes:
type: directory
description: Bowtie2 genome directories containing index files
output:
- versions:
type: file
description: File containing software versions
pattern: "versions.yml"
- database:
type: directory
description: fastq screen database folder containing config file and index folders
pattern: "FastQ_Screen_Genomes"
authors:
- "@snesic"
- "@JPejovicApis"
71 changes: 71 additions & 0 deletions modules/nf-core/fastqscreen/buildfromindex/tests/main.nf.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
nextflow_process {

name "Test Process FASTQSCREEN_BUILDFROMINDEX"
script "../main.nf"
process "FASTQSCREEN_BUILDFROMINDEX"

tag "modules"
tag "modules_nfcore"
tag "fastqscreen"
tag "fastqscreen/buildfromindex"
tag "bowtie2/build"

setup {

run("BOWTIE2_BUILD") {
script "../../../bowtie2/build/main.nf"
process {
"""
input[0] = Channel.from([
[[id: "sarscov2"], file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)],
[[id: "human"] , file(params.test_data['homo_sapiens']['genome']['genome_21_fasta'], checkIfExists: true)]
])
"""
Comment on lines +17 to +23
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The indentation seems a bit weird here?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be honest, I don't know how we are supposed to ident things like this

}
}

}

test("sarscov2 - human") {

when {
process {
"""
input[0] = BOWTIE2_BUILD.out.index.map{meta, index -> meta.id}.collect()
input[1] = BOWTIE2_BUILD.out.index.map{meta, index -> index}.collect()
"""
}
}

then {
assertAll(
{ assert process.success },
{ assert snapshot(process.out.database, process.out.versions).match() }
)
}

}

test("sarscov2 - human - stub") {

options "-stub"

when {
process {
"""
input[0] = BOWTIE2_BUILD.out.index.map{meta, index -> meta.id}.collect()
input[1] = BOWTIE2_BUILD.out.index.map{meta, index -> index}.collect()
"""
}
}

then {
assertAll(
{ assert process.success },
{ assert snapshot(process.out).match() }
)
}

}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{
"database": {
"content": [
[
[
[
"genome.1.bt2:md5,cbe3d0bbea55bc57c99b4bfa25b5fbdf",
"genome.2.bt2:md5,47b153cd1319abc88dda532462651fcf",
"genome.3.bt2:md5,4ed93abba181d8dfab2e303e33114777",
"genome.4.bt2:md5,c25be5f8b0378abf7a58c8a880b87626",
"genome.rev.1.bt2:md5,52be6950579598a990570fbcf5372184",
"genome.rev.2.bt2:md5,e3b4ef343dea4dd571642010a7d09597"
],
[
"genome.1.bt2:md5,2fbc8eeaf480f03b3a2362a782fa5755",
"genome.2.bt2:md5,a5300e3cf590d4cd8bd5521cac6337d6",
"genome.3.bt2:md5,d2a7a0e1c9891e847a15781c0695b84e",
"genome.4.bt2:md5,a55dc4b09e3e00586de6963800c95b9a",
"genome.rev.1.bt2:md5,93c07f7d04e5da6bf1322ad5f46ac806",
"genome.rev.2.bt2:md5,c3fa30132c0c9b9bc7868059e8e23466"
],
"fastq_screen.conf:md5,ca56e866c7006a46bdfe4e751e787265"
]
]
],
"meta": {
"nf-test": "0.8.4",
"nextflow": "23.10.1"
},
"timestamp": "2024-05-01T20:37:34.647221"
},
"versions": {
"content": [
[
"versions.yml:md5,c2bcf85b00046c72d5dccd2dba8ac35c"
]
],
"meta": {
"nf-test": "0.8.4",
"nextflow": "23.10.1"
},
"timestamp": "2024-05-01T20:37:35.126085"
},
"sarscov2 - human - stub": {
"content": [
{
"0": [
[
"fastq_screen.conf:md5,d41d8cd98f00b204e9800998ecf8427e"
]
],
"1": [
"versions.yml:md5,c2bcf85b00046c72d5dccd2dba8ac35c"
],
"database": [
[
"fastq_screen.conf:md5,d41d8cd98f00b204e9800998ecf8427e"
]
],
"versions": [
"versions.yml:md5,c2bcf85b00046c72d5dccd2dba8ac35c"
]
}
],
"meta": {
"nf-test": "0.8.4",
"nextflow": "23.10.1"
},
"timestamp": "2024-05-01T20:39:14.913696"
}
}
2 changes: 2 additions & 0 deletions modules/nf-core/fastqscreen/buildfromindex/tests/tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fastqscreen/buildfromindex:
- "modules/nf-core/fastqscreen/buildfromindex/**"
9 changes: 9 additions & 0 deletions modules/nf-core/fastqscreen/fastqscreen/environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/nf-core/modules/master/modules/environment-schema.json
name: "fastqscreen_fastqscreen"
channels:
- conda-forge
- bioconda
- defaults
dependencies:
- "bioconda::fastq-screen=0.15.3"
54 changes: 54 additions & 0 deletions modules/nf-core/fastqscreen/fastqscreen/main.nf
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
process FASTQSCREEN_FASTQSCREEN {
tag "$meta.id"
label 'process_medium'

conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/fastq-screen:0.15.3--pl5321hdfd78af_0':
'biocontainers/fastq-screen:0.15.3--pl5321hdfd78af_0'}"

input:
tuple val(meta), path(reads) // .fastq files
path database

output:
tuple val(meta), path("*.txt") , emit: txt
tuple val(meta), path("*.png") , emit: png
tuple val(meta), path("*.html"), emit: html
path "versions.yml" , emit: versions

when:
task.ext.when == null || task.ext.when

script:
def prefix = task.ext.prefix ?: "${meta.id}"
def args = task.ext.args ?: ""

"""
fastq_screen --threads ${task.cpus} \\
--aligner bowtie2 \\
--conf ${database}/fastq_screen.conf \\
$reads \\
$args \\
--outdir .

cat <<-END_VERSIONS > versions.yml
"${task.process}":
fastqscreen: \$(echo \$(fastq_screen --version 2>&1) | sed 's/^.*FastQ Screen v//; s/ .*\$//')
END_VERSIONS
"""

stub:
def prefix = task.ext.prefix ?: "${meta.id}"
"""
touch test_1_screen.html
touch test_1_screen.png
touch test_1_screen.txt

cat <<-END_VERSIONS > versions.yml
"${task.process}":
fastqscreen: \$(echo \$(fastq_screen --version 2>&1) | sed 's/^.*FastQ Screen v//; s/ .*\$//')
END_VERSIONS
"""

}
44 changes: 44 additions & 0 deletions modules/nf-core/fastqscreen/fastqscreen/meta.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: fastqscreen_fastqscreen
description: Align reads to multiple reference genomes using fastq-screen
keywords:
- align
- map
- fasta
- fastq
- genome
- reference
tools:
- "fastqscreen":
description: "FastQ Screen allows you to screen a library of sequences in FastQ format against a set of sequence databases so you can see if the composition of the library matches with what you expect."
homepage: "https://www.bioinformatics.babraham.ac.uk/projects/fastq_screen/"
documentation: "https://stevenwingett.github.io/FastQ-Screen/"
tool_dev_url: "https://github.com/StevenWingett/FastQ-Screen/archive/refs/tags/v0.15.3.zip"
doi: "10.5281/zenodo.5838377"
licence: ["GPL-3.0-or-later"]
input:
- meta:
type: map
description: |
Groovy Map containing sample information
e.g. [ id:'test', single_end:false ]
- reads:
type: file
description: |
List of input FastQ files of size 1 and 2 for single-end and paired-end data,
respectively.
- database:
type: directory
description: fastq screen database folder containing config file and index folders
pattern: "FastQ_Screen_Genomes"
output:
- fastq_screen:
type: directory
description: Output fastq_screen file containing alignment statistics
pattern: "*.{_fq_screen}"
- versions:
type: file
description: File containing software versions
pattern: "versions.yml"
authors:
- "@snesic"
- "@JPejovicApis"
Loading
Loading