GT-FINGERPRINT(1)
π GT-FINGERPRINT(1) β the GenomeTools manual, but make it cute
okay bestie, welcome to gt-fingerprint, living under the gt fingerprint command inside the GenomeTools Manual π¦β¨
πΈ NAME πΈ
gt-fingerprint β bestie, this computes MD5 fingerprints for every single sequence in a set of sequence files. every. single. one. π
β¨ SYNOPSIS β¨
gt fingerprint [option ...] sequence_file [...]
like, that's the whole vibe. options, then as many sequence files as your heart desires π«Ά
π DESCRIPTION π
okay so here's the whole menu, no skips, no skimming, we're doing this properly π
-check[filename] β compares all the fingerprints sitting in the given checklist file against the checksums in the givensequence_file(s). the comparison slays (i.e. succeeds) if every fingerprint in the checkfile can be found in thesequence_file(s) in the exact same quantity, and vice versa. (default: undefined)-duplicates[yes|no] β shows duplicate fingerprints from the givensequence_file(s). (default:no)-extract[string] β extracts the sequence(s) with the given fingerprint from the sequence file(s) and shows them on stdout. (default: undefined)-width[value] β sets the output width for FASTA sequence printing (0disables formatting). (default:0)-o[filename] β redirects output to the specified file. (default: undefined)-gzip[yes|no] β writes a gzip compressed output file. (default:no)-bzip2[yes|no] β writes a bzip2 compressed output file. (default:no)-force[yes|no] β forces writing to the output file. (default:no)-helpβ displays help and exits. bye bestie π-versionβ displays version information and exits.
so like, if you use neither the -check option nor the -duplicates option, the fingerprints for all sequences get shown on stdout. that's the default main character behaviour π
and okay this part matters: a fingerprint of a sequence is case insensitive. so the MD5 fingerprint of two identical sequences will be the same even if one of them is soft-masked. not me being obsessed with case-insensitive equality π iconic.
π EXAMPLES π
compute a (unified) list of fingerprints, periodt:
$ gt fingerprint U89959_ests.fas | sort | uniq > U89959_ests.checklist_uniq
compare fingerprints:
$ gt fingerprint -check U89959_ests.checklist_uniq U89959_ests.fas
950b7715ab6cc030a8c810a0dba2dd33 only in sequence_file(s)
make sure a sequence file contains no duplicates (not the case here, sadly π):
$ gt fingerprint -duplicates U89959_ests.fas
950b7715ab6cc030a8c810a0dba2dd33 2
gt fingerprint: error: duplicates found: 1 out of 200 (0.500%)
extract the sequence with a given fingerprint, so satisfying π§:
$ gt fingerprint -extract 6d3b4b9db4531cda588528f2c69c0a57 U89959_ests.fas
>SQ;8720010
TTTTTTTTTTTTTTTTCCTGACAAAACCCCAAGACTCAATTTAATCAATCCTCAAATTTACATGATAC
CAACGTAATGGGAGCTTAAAAATA
β RETURN VALUES β
0β everything went fine π (-check: the comparison was successful;-duplicates: no duplicates found)1β an error occurred π (-check: the comparison was not successful;-duplicates: duplicates found)
π REPORTING BUGS π
found a bug? report it to https://github.com/genometools/genometools/issues. do it bestie, they wanna know π«Ά
ngl, that's the whole page. go fingerprint something. π β¨
this was GenomeTools 1.6.6, dated 11/09/2025 β mwah, bye bestie ππ
π¦ 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