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 8 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
67 changes: 67 additions & 0 deletions modules/nf-core/fastqscreen/buildfromindex/main.nf
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
process FASTQSCREEN_BUILDFROMINDEX {
label 'process_single'

conda "fastq-screen"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/fastq-screen%3A0.15.3--pl5321hdfd78af_0':
SPPearce marked this conversation as resolved.
Show resolved Hide resolved
'quay.io/biocontainers/fastq-screen:0.15.3--pl5321hdfd78af_0'}"

input:
val(id)
SPPearce marked this conversation as resolved.
Show resolved Hide resolved
path(index), stageAs: "dir*"
SPPearce marked this conversation as resolved.
Show resolved Hide resolved

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 = index.collect { it.toString() }
database = [id, folder].transpose()
copy_index = 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")

"""
mkdir $dir
$copy_index

echo "$config" >> $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:
"""
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
SPPearce marked this conversation as resolved.
Show resolved Hide resolved
"""
}
35 changes: 35 additions & 0 deletions modules/nf-core/fastqscreen/buildfromindex/meta.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
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:
- id:
type: string
description: |
SPPearce marked this conversation as resolved.
Show resolved Hide resolved
List of names for each index
- index:
type: directory
description: Bowtie2 genome directory with index files
SPPearce marked this conversation as resolved.
Show resolved Hide resolved
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"
38 changes: 38 additions & 0 deletions modules/nf-core/fastqscreen/fastqscreen/main.nf
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
process FASTQSCREEN_FASTQSCREEN {
tag "$meta.id"
label 'process_medium'

conda "bioconda::fastq-screen=0.15.3"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/fastq-screen%3A0.15.3--pl5321hdfd78af_0':
SPPearce marked this conversation as resolved.
Show resolved Hide resolved
'quay.io/biocontainers/fastq-screen:0.15.3--pl5321hdfd78af_0'}"

input:
tuple val(meta), path(reads) // .fastq files
path genome
SPPearce marked this conversation as resolved.
Show resolved Hide resolved

output:
tuple val(meta), path ("*_fq_screen"), emit: fastq_screen
SPPearce marked this conversation as resolved.
Show resolved Hide resolved
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 ${genome}/fastq_screen.conf \\
$reads \\
$args \\
--outdir ${prefix}_fq_screen

cat <<-END_VERSIONS > versions.yml
"${task.process}":
fastqscreen: \$(echo \$(fastq_screen --version 2>&1) | sed 's/^.*FastQ Screen v//; s/ .*\$//')
END_VERSIONS
"""
}
49 changes: 49 additions & 0 deletions modules/nf-core/fastqscreen/fastqscreen/meta.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
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.
- meta2:
type: map
description: |
Groovy Map containing reference information
SPPearce marked this conversation as resolved.
Show resolved Hide resolved
e.g. [ id:'test', single_end:false ]
snesic marked this conversation as resolved.
Show resolved Hide resolved
- 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"
24 changes: 8 additions & 16 deletions tests/config/pytest_modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1146,6 +1146,14 @@ fastqscan:
- modules/nf-core/fastqscan/**
- tests/modules/nf-core/fastqscan/**

fastqscreen/buildfromindex:
- modules/nf-core/fastqscreen/buildfromindex/**
- tests/modules/nf-core/fastqscreen/buildfromindex/**

fastqscreen/fastqscreen:
- modules/nf-core/fastqscreen/fastqscreen/**
- tests/modules/nf-core/fastqscreen/fastqscreen/**

fasttree:
- modules/nf-core/fasttree/**
- tests/modules/nf-core/fasttree/**
Expand Down Expand Up @@ -3973,10 +3981,6 @@ whamg:
- modules/nf-core/whamg/**
- tests/modules/nf-core/whamg/**

windowmasker/convert:
- modules/nf-core/windowmasker/convert/**
- tests/modules/nf-core/windowmasker/convert/**

windowmasker/mk_counts:
- modules/nf-core/windowmasker/mk_counts/**
- tests/modules/windowmasker/mk_counts/**
Expand All @@ -3989,18 +3993,6 @@ wisecondorx/convert:
- modules/nf-core/wisecondorx/convert/**
- tests/modules/nf-core/wisecondorx/convert/**

wisecondorx/gender:
- modules/nf-core/wisecondorx/gender/**
- tests/modules/nf-core/wisecondorx/gender/**

wisecondorx/newref:
- modules/nf-core/wisecondorx/newref/**
- tests/modules/nf-core/wisecondorx/newref/**

wisecondorx/predict:
- modules/nf-core/wisecondorx/predict/**
- tests/modules/nf-core/wisecondorx/predict/**

SPPearce marked this conversation as resolved.
Show resolved Hide resolved
yahs:
- modules/nf-core/yahs/**
- tests/modules/nf-core/yahs/**
Expand Down
24 changes: 24 additions & 0 deletions tests/modules/nf-core/fastqscreen/buildfromindex/main.nf
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/usr/bin/env nextflow

nextflow.enable.dsl = 2

include { BOWTIE2_BUILD } from '../../../../../modules/nf-core/bowtie2/build/main.nf'
include { FASTQSCREEN_BUILDFROMINDEX } from '../../../../../modules/nf-core/fastqscreen/buildfromindex/main.nf'

workflow test_fastqscreen_buildfromindex {


ch_fasta = Channel.from([
[[id: 'sarscov2'], file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)],
[[id: 'homo_sapiens21'], file(params.test_data['homo_sapiens']['genome']['genome_21_fasta'], checkIfExists: true)]
])


BOWTIE2_BUILD ( ch_fasta )

FASTQSCREEN_BUILDFROMINDEX (BOWTIE2_BUILD.out.index.map{it -> it[0].id}.collect(),
snesic marked this conversation as resolved.
Show resolved Hide resolved
BOWTIE2_BUILD.out.index.map{it -> it[1]}.collect())
snesic marked this conversation as resolved.
Show resolved Hide resolved

FASTQSCREEN_BUILDFROMINDEX.out.database.view()
FASTQSCREEN_BUILDFROMINDEX.out.versions.view()
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
process {

publishDir = { "${params.outdir}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" }

}
9 changes: 9 additions & 0 deletions tests/modules/nf-core/fastqscreen/buildfromindex/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- name: "fastqscreen buildfromindex"
command: nextflow run ./tests/modules/nf-core/fastqscreen/buildfromindex -entry test_fastqscreen_buildfromindex -c ./tests/config/nextflow.config -c ./tests/modules/nf-core/fastqscreen/buildfromindex/nextflow.config
tags:
- "fastqscreen"
- "fastqscreen/buildfromindex"
files:
- path: "output/fastqscreen/FastQ_Screen_Genomes"
# md5sum: e667c7caad0bc4b7ac383fd023c654fc
snesic marked this conversation as resolved.
Show resolved Hide resolved
- path: "output/fastqscreen/versions.yml"
35 changes: 35 additions & 0 deletions tests/modules/nf-core/fastqscreen/fastqscreen/main.nf
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#!/usr/bin/env nextflow

nextflow.enable.dsl = 2

include { BOWTIE2_BUILD } from '../../../../../modules/nf-core/bowtie2/build/main.nf'
include { FASTQSCREEN_BUILDFROMINDEX } from '../../../../../modules/nf-core/fastqscreen/buildfromindex/main.nf'
include { FASTQSCREEN_FASTQSCREEN } from '../../../../../modules/nf-core/fastqscreen/fastqscreen/main.nf'


workflow test_fastqscreen_fastqscreen {


input = [
[ id:'test', single_end:true ], // meta map
[
file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true)
]
]

ch_fasta = Channel.from([
[[id: 'sarscov2'], file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)],
[[id: 'homo_sapiens21'], file(params.test_data['homo_sapiens']['genome']['genome_21_fasta'], checkIfExists: true)]
])


BOWTIE2_BUILD ( ch_fasta )

FASTQSCREEN_BUILDFROMINDEX (BOWTIE2_BUILD.out.index.map{it -> it[0]}.collect(),
BOWTIE2_BUILD.out.index.map{it -> it[1]}.collect())


FASTQSCREEN_FASTQSCREEN (input,
FASTQSCREEN_BUILDFROMINDEX.out.database)

}
5 changes: 5 additions & 0 deletions tests/modules/nf-core/fastqscreen/fastqscreen/nextflow.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
process {

publishDir = { "${params.outdir}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" }

}
10 changes: 10 additions & 0 deletions tests/modules/nf-core/fastqscreen/fastqscreen/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
- name: "fastqscreen fastqscreen"
command: nextflow run ./tests/modules/nf-core/fastqscreen/fastqscreen -entry test_fastqscreen_fastqscreen -c ./tests/config/nextflow.config -c ./tests/modules/nf-core/fastqscreen/fastqscreen/nextflow.config
tags:
- "fastqscreen"
- "fastqscreen/fastqscreen"
files:
- path: "output/fastqscreen/test_fq_screen/test_1_screen.txt"
SPPearce marked this conversation as resolved.
Show resolved Hide resolved
md5sum: 764fde5d19df5ce380148943699164b5
- path: "output/fastqscreen/versions.yml"
md5sum: 3ad3f89a04d88fec5932d0887c462467