GT-FINGERPRINT(1)

πŸ“¦
version 1.6.6 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

πŸ’… 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 given sequence_file(s). the comparison slays (i.e. succeeds) if every fingerprint in the checkfile can be found in the sequence_file(s) in the exact same quantity, and vice versa. (default: undefined)
  • -duplicates [yes|no] β€” shows duplicate fingerprints from the given sequence_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 (0 disables 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