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
d349f9ae
Commit
d349f9ae
authored
Jun 21, 2022
by
amunoz
Browse files
Manta, svtools and manta_filter fix
parent
7ffd0851
Changes
4
Hide whitespace changes
Inline
Side-by-side
structuralvariants/nextflow/main.nf
View file @
d349f9ae
...
...
@@ -140,7 +140,7 @@ workflow {
if( params.enable_manta )
SUB_CNV_MANTA (
SUB_BAM_FILTERING.out,
SUB_BAM_FILTERING.out
.collect()
,
samples,
reference_fasta,
indexFiles,
...
...
@@ -155,7 +155,7 @@ workflow {
if( params.enable_gridss )
SUB_CNV_GRIDSS (
SUB_BAM_FILTERING.out,
SUB_BAM_FILTERING.out
.collect()
,
samples,
indexFiles,
blacklist,
...
...
@@ -169,7 +169,7 @@ workflow {
if( params.enable_exomeDepth )
SUB_CNV_EXOMEDEPTH (
SUB_BAM_FILTERING.out,
SUB_BAM_FILTERING.out
.collect()
,
samples,
indexFiles,
batch_parser_script,
...
...
@@ -183,7 +183,7 @@ workflow {
if( params.enable_codex )
SUB_CNV_CODEX (
SUB_BAM_FILTERING.out,
SUB_BAM_FILTERING.out
.collect()
,
samples,
bed,
params.codex_max_len
...
...
structuralvariants/nextflow/modules/manta.nf
View file @
d349f9ae
process MANTA {
tag "manta"
tag
{
"manta"
}
container 'quay.io/biocontainers/manta:1.6.0--py27_0'
input:
...
...
@@ -15,8 +15,12 @@ process MANTA {
script:
def exomeArgument = params.manta_exome ? "--exome" : ""
"""
configManta.py --bam $input --referenceFasta $reference_genome --runDir generated --callRegions $regions $exomeArgument
python generated/runWorkflow.py
cp generated/results/variants/diploidSV.vcf.gz ./${input.simpleName}.manta.raw.vcf.gz
for i in $input
do
srr=\$(echo \$i | cut -f 1 -d '.')
configManta.py --bam \$i --referenceFasta $reference_genome --runDir generated\$(echo \$srr) --callRegions $regions $exomeArgument
python generated\$(echo \$srr)/runWorkflow.py
cp generated\$(echo \$srr)/results/variants/diploidSV.vcf.gz ./\$(echo \$srr).manta.raw.vcf.gz
done
"""
}
\ No newline at end of file
structuralvariants/nextflow/modules/manta_filter.nf
View file @
d349f9ae
process MANTA_FILTER {
tag "manta filter"
tag
{
"manta filter"
}
input:
path script
...
...
structuralvariants/nextflow/modules/svtools.nf
View file @
d349f9ae
process SVTOOLS {
tag "svtools"
tag
{
"svtools"
}
container 'quay.io/biocontainers/svtools:0.5.1--py_0'
input:
...
...
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