Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
amunoz
structuralvariants_poc
Commits
aef7ba2b
Commit
aef7ba2b
authored
Jun 22, 2022
by
Acivico
Browse files
gridss updated
parent
29cdf23e
Changes
3
Hide whitespace changes
Inline
Side-by-side
structuralvariants/nextflow/modules/gridss.nf
View file @
aef7ba2b
process GRIDSS {
tag "gridss"
tag
{
"gridss"
}
container 'quay.io/biocontainers/gridss:2.9.3--0'
input:
tuple path(input), path(bai)
tuple path(reference_genome), path(index_files), path(fai)
path reference_genome
path indexs
path blacklist
output:
...
...
@@ -13,12 +14,17 @@ process GRIDSS {
script:
def threadsArgument = params.threads_gridss ? "--threads $params.threads_gridss" : ""
"""
gridss --reference $reference_genome \\
--output ${input.simpleName}.gridss.raw.vcf.gz \\
--assembly "$params.assemblyFilename" \\
$threadsArgument \\
--jar "/usr/local/share/gridss-2.9.3-0/gridss.jar" \\
--blacklist $blacklist \\
$input
for i in $input
do
srr=\$(echo \$i | cut -f 1 -d '.')
gridss --reference $reference_genome \\
--output \$(echo \${i%%.*}).gridss.raw.vcf.gz \\
--assembly "\$(echo \$srr).$params.assemblyFilename" \\
$threadsArgument \\
--jar "/usr/local/share/gridss-2.9.3-0/gridss.jar" \\
--blacklist $blacklist \\
\$i
done
"""
}
structuralvariants/nextflow/modules/gridss_filter.nf
View file @
aef7ba2b
process GRIDSS_FILTER {
tag "gridss filter"
tag
{
"gridss filter"
}
input:
path script
...
...
@@ -14,6 +14,9 @@ process GRIDSS_FILTER {
script:
"""
sh $script $input $sample $min_len $max_len $min_q
for i in $input
do
sh $script \$i $sample $min_len $max_len $min_q
done
"""
}
structuralvariants/nextflow/modules/structural_variants.nf
View file @
aef7ba2b
process STRUCTURAL_VARIANTS {
tag "structural variants"
tag
{
"structural variants"
}
container 'quay.io/biocontainers/bioconductor-structuralvariantannotation:1.6.0--r40_0'
input:
...
...
@@ -11,6 +11,9 @@ process STRUCTURAL_VARIANTS {
script:
"""
Rscript $script $input
for i in $input
do
Rscript $script \$i
done
"""
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment