GFF3VALIDATOR
Tool to strictly validate given GFF3 files
URL: https://github.com/genometools/genometools
Example
This wrapper can be used in the following way:
rule genometools_gff3validate:
input:
"{sample}.gff3",
output:
touch("{sample}.validated.flag"),
log:
"logs/genometools/gff3validator/{sample}.log",
params:
extra="",
wrapper:
"v9.4.0/bio/genometools/gff3validator"
Note that input, output and log file paths can be chosen freely.
When running with
snakemake --use-conda
the software dependencies will be automatically deployed into an isolated environment before execution.
Software dependencies
genometools-genometools=1.6.6
Params
extra: additional program arguments.
Code
__author__ = "Jorge Alvarez-Jarreta"
__copyright__ = "Copyright 2026, Jorge Alvarez-Jarreta"
__mail__ = "jalvarez@ebi.ac.uk"
__license__ = "Apache License 2.0"
from snakemake.shell import shell
log = snakemake.log_fmt_shell(stdout=True, stderr=True)
extra = snakemake.params.get("extra", "")
shell("gt gff3validator {extra} {snakemake.input[0]} {log}")