-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
179 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* | ||
* ------------------------------------------------- | ||
* Nextflow config file for running tests | ||
* ------------------------------------------------- | ||
* Defines bundled input files and everything required | ||
* to run a fast and simple test. Use as follows: | ||
* nextflow run nf-core/nanoseq -profile test_bc_nodx,<docker/singularity> | ||
*/ | ||
|
||
params { | ||
config_profile_name = 'Test profile' | ||
config_profile_description = 'Minimal test dataset to check pipeline function' | ||
|
||
// Limit resources so that this can run on Travis | ||
max_cpus = 2 | ||
max_memory = 6.GB | ||
max_time = 12.h | ||
|
||
// Input data to perform basecalling and to skip demultipexing | ||
input = 'https://raw.githubusercontent.com/nf-core/test-datasets/refs/heads/nanoseq/3.2/samplesheet/samplesheet_bc_nodx_dnamod.csv' | ||
input_path_file_type= 'pod5' | ||
bedmethyl_out = true | ||
fasta = 'https://raw.githubusercontent.com/nf-core/test-datasets/nanoseq/reference/hg19_KCMF1.fa' | ||
protocol = 'cDNA' | ||
flowcell = 'FLO-MIN106' | ||
kit = 'SQK-DCS108' | ||
dorado_model = '[email protected]' | ||
dorado_modification = '5mCG_5hmCG' | ||
dorado_device = 'cpu' | ||
skip_bigbed = true | ||
skip_bigwig = true | ||
skip_demultiplexing = true | ||
skip_quantification = true | ||
skip_fusion_analysis= true | ||
skip_modification_analysis=true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
process DORADO_ALIGNER { | ||
tag "$meta.id" | ||
label 'process_medium' | ||
|
||
container "docker.io/ontresearch/dorado" | ||
|
||
input: | ||
tuple val(meta), path(mod_bam) | ||
path fasta | ||
|
||
output: | ||
tuple val(meta), path("aligned_sorted.bam"), path("*.bai") , emit: aligned_bam | ||
path "versions.yml" , emit: versions | ||
|
||
script: | ||
""" | ||
dorado aligner --mm2-preset map-ont $fasta $mod_bam > aligned.bam && samtools sort aligned.bam -o aligned_sorted.bam && samtools index aligned_sorted.bam | ||
cat <<-END_VERSIONS > versions.yml | ||
"${task.process}": | ||
dorado: \$(echo \$(dorado --version 2>&1) | sed -r 's/.{81}//') | ||
END_VERSIONS | ||
""" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
process MODKIT_PILEUP { | ||
tag "$meta.id" | ||
label 'process_high_memory' | ||
|
||
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ? | ||
'https://depot.galaxyproject.org/singularity/ont-modkit:0.4.0--h5c23e0d_0' : | ||
'quay.io/biocontainers/ont-modkit:0.4.0--h5c23e0d_0' }" | ||
|
||
input: | ||
tuple val(meta), path(aligned_mod_bam), path(bai) | ||
|
||
output: | ||
tuple val(meta), path(bedmethyl) , emit: bedmethyl | ||
path "versions.yml" , emit: versions | ||
|
||
script: | ||
bedmethyl = "$meta.id" +".bed" | ||
""" | ||
modkit pileup $aligned_mod_bam $bedmethyl --threads $task.cpus | ||
cat <<-END_VERSIONS > versions.yml | ||
"${task.process}": | ||
modkit: \$(echo \$(modkit --version 2>&1) | sed -r 's/.{81}//') | ||
END_VERSIONS | ||
gzip basecall.fastq | ||
""" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters