GT-HOP(1)
π¦ GT-HOP(1) β the GenomeTools manual, but make it cute π¦
okay bestie, welcome to the GenomeTools Manual page for gt-hop. pull up a chair, grab a strawberry π, and let's get into it. this is the cognate sequence-based homopolymer error correction tool and she is lowkey a whole vibe.
β¨ NAME β¨
gt-hop β cognate sequence-based homopolymer error correction.
like, that's her whole thing. no cap. π
πΈ SYNOPSIS πΈ
gt hop -<mode> -c <encseq> -map <sam/bam> -reads <fastq> [options...]
that's the shape of it, bestie. <mode> goes in, the encseq goes in, the mapping goes in, the reads go in, and out comes corrected goodness. π«Ά
π DESCRIPTION π
okay so here are ALL the options, and I mean all of them, no skips, no shortcuts, periodt.
-c [string]β the cognate sequence. she has to be encoded, usinggt encseq encode. that's the rules. π-map [string]β the mapping of reads to the cognate sequence. it MUST be in SAM/BAM format, and it MUST be sorted by coordinate. you can prep that up e.g. usingsamtools sort. sorting is not optional, bestie. π-sam [yes|no]β tells it the mapping file is SAM. default: BAM. so if you say nothing, she assumes BAM, and if you actually handed her SAM, that's a you problem. π-aggressive [yes|no]β correct as much as possible. she's going for it. π₯-moderate [yes|no]β mediate between sensitivity and precision. the middle child, the peacekeeper. π§-conservative [yes|no]β correct only most likely errors. cautious queen. π-expert [yes|no]β manually select correction criteria. you're driving now. no pressure. π-readsβ uncorrected read file(s) in FastQ format. the corrected reads get output in the current working directory in files named just like the input files, each with a prefix prepended (see the-outprefixoption). also:-readslets you output the reads in the same order as in the input, and it is mandatory if the SAM contains more than a single primary alignment for each read (e.g. output ofbwasw). see also the-ooption as an alternative. π-outprefix [string]β prefix for output filenames (corrected reads). when-readsis specified, the prefix is prepended to each input filename. default:hop_π-o [string]β output file for corrected reads (see also-reads/-outprefix). if-ois used, reads are output in a single file, in the order they are found in the SAM file β which usually differs from the original order, jsyk. and this will only work if the reads were aligned with software that includes only 1 alignment for each read (e.g.bwa). default:undefined. β-hmin [value]β minimal homopolymer length in the cognate sequence. default:3β¨-read-hmin [value]β minimal homopolymer length in reads. default:2β¨-qmax [value]β maximal average quality of homopolymer in a read. default:120β¨-altmax [value]β max support of alternate homopol. length. e.g.0.8means: do not correct any read if the homop. length in more than80%%of the reads has the same value, different from the cognate. ifaltmaxis set to1.0, reads are always corrected. default:0.800000π-cogmin [value]β min support of cognate sequence homopol. length. e.g.0.1means: do not correct any read if the cognate homop. length is not present in at least10%%of the reads. ifcogminis set to0.0, reads are always corrected. π¦-mapqmin [value]β minimal mapping quality. default:21πΈ-covmin [value]β minimal coverage. e.g.5means: do not correct any read if coverage (number of reads mapped over the whole homopolymer) is less than5. ifcovminis set to1, reads are always corrected. default:1πΈ-allow-muliple [yes|no]β allow multiple corrections in a read. default:no. (and yes, the option is spelled exactly like that, I'm not touching it, that's canon π)-clenmax [value]β maximal correction length. default: unlimited. π-ann [string]β annotation of the cognate sequence. it must be sorted by coordinates on the cognate sequence (this can be done e.g. usinggt gff3 -sort). if-annis used, corrections will be limited to homopolymers starting or ending inside the feature type indicated by the-ftoption. format: sorted GFF3. default:undefined. π-ft [string]β feature type to use when the-annoption is specified. default:CDSπ-v [yes|no]β be verbose. default:no. (turn it on if you want her to yap, we love a yapper π£οΈ)-helpβ display help for basic options and exit. πͺ-help+β display help for all options and exit. πͺβ¨-versionβ display version information and exit. πͺπ
π« Correction mode π«
okay this part matters, bestie. one of the options -aggressive, -moderate, -conservative or -expert MUST be selected. like, you have to pick one. no waffling.
the -aggressive, -moderate and -conservative modes are presets of the criteria by which it is decided if an observed discrepancy in homopolymer length between the cognate sequence and a read shall be corrected or not. a description of the single criteria is provided by using the -help+ option. the presets are equivalent to the following settings:
-hminβ-aggressive:3,-moderate:3,-conservative:3-read-hminβ-aggressive:1,-moderate:1,-conservative:2-altmaxβ-aggressive:1.00,-moderate:0.99,-conservative:0.80-refminβ-aggressive:0.00,-moderate:0.00,-conservative:0.10-mapqminβ-aggressive:0,-moderate:10,-conservative:21-covminβ-aggressive:1,-moderate:1,-conservative:1-clenmaxβ-aggressive:unlimited,-moderate:unlimited,-conservative:unlimited-allow-multipleβ-aggressive:yes,-moderate:yes,-conservative:no
(and that's -refmin right there in the presets, exactly as written, iykyk β I'm not the one who named it, I'm just the messenger π«‘)
the aggressive mode tries to maximize the sensitivity, the conservative mode tries to minimize the false positives. an even more conservative set of corrections can be achieved using the -ann option (see -help+).
the -expert mode allows one to manually set each parameter; the default values are the same as in the -conservative mode. main character energy, honestly. π
finally β and this is for evaluation purposes only, so don't get any ideas β the -state-of-truth mode can be used: this mode assumes that the sequenced genome has been specified as cognate sequence and outputs an ideal list of corrections. it's giving lab-notebook fantasy, and it's iconic. π
π REPORTING BUGS π
found a bug? report it to https://github.com/genometools/genometools/issues. don't be shy, they want to know, fr fr. π
that's the whole page, bestie. π this was GenomeTools 1.6.6, dated 11/09/2025, page GT-HOP(1) β mwah, slay, go correct some homopolymers. πβ¨π
π¦ where this page comes from
- ubuntu resolute: genometools 1.6.6+ds-2
- ubuntu stonking: genometools 1.6.6+ds-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms