Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
metagWGS
Commits
69c1bb09
Commit
69c1bb09
authored
Jan 11, 2022
by
VIENNE MAINA
Browse files
Check gff validity (issue : check point prokka)
parent
e6fd319d
Changes
1
Show whitespace changes
Inline
Side-by-side
modules/prokka.nf
View file @
69c1bb09
...
...
@@ -7,11 +7,18 @@ process PROKKA {
output:
tuple
val
(
sampleId
),
path
(
"PROKKA_${sampleId}"
),
emit:
prokka_results
path
"PROKKA_${sampleId}/${sampleId}.txt"
,
emit:
report
path
"PROKKA_${sampleId}/${sampleId}_gff3_validator.txt"
,
emit:
gff3_validator_results
script:
"""
prokka --metagenome --noanno --rawproduct --outdir PROKKA_${sampleId} --prefix ${sampleId} ${assembly_file} --centre X --compliant --cpus ${task.cpus}
rm PROKKA_${sampleId}/*.gbk
gt gff3validator PROKKA_${sampleId}/${sampleId}.gff > PROKKA_${sampleId}/${sampleId}_gff3_validator.txt
if grep -Fxqv "input is valid GFF3" PROKKA_${sampleId}/${sampleId}_gff3_validator.txt
then
rm PROKKA_${sampleId}/${sampleId}_gff3_validator.txt
fi
"""
}
...
...
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