KMER-MASK(1)

πŸ’– KMER-MASK(1) πŸ’–

okay bestie, sit down, hydrate, because we're reading the kmer-mask manual page β€” it's a User Commands page (section 1, she's a command, she's booked and busy) and honestly? she eats. no cap. 🫢


✨ NAME ✨

kmer-mask β€” mask and filter set of nucleotide sequences by kmer content πŸ’…


🌸 SYNOPSIS 🌸

kmer-mask {-novel|-confirmed} [-mdb mer-database] [-ms mer-size] [-edb exist-database] [-m min-size] [-e extend-size] [-lowthreshold l] [-highthreshold h] [-t threads] [-v] [-h histogram] [-promote|-demote|-discard] -1 in.1.fastq [-2 in.2.fastq] -o output-prefix

πŸ¦‹ DESCRIPTION πŸ¦‹

Mask and filter set of sequences (presumed to be reads) by kmer content. Masking can be done to retain novel sequence not in the database, or to retain confirmed sequence present in the database. Filtering will segregate sequences fully, partially or not masked. it's giving sorting-hat energy fr fr πŸŽ€


πŸ’… OPTIONS πŸ’…

  • -mdb mer-database β€” load masking kmers from meryl(1) mer-database 🌈
  • -ms mer-size β€” bestie the original page just… doesn't describe this one. she's mysterious. she's mer-size. we respect her privacy πŸ’€
  • -edb exist-database β€” save masking kmers to an existDB(1) file exist-database for faster restarts πŸ”₯
  • -1 in.1.fastq β€” the first input reads file (her description is chilling with -2 right below, iykyk)
  • -2 in.2.fastq β€” input reads files in fastq, fastq.gz, fastq.bz2 or fastq.xz format. The second is optional, but messes up the output classification if not present. ⚠️
  • -o out β€” prefix for output reads ✨
    • out.fullymasked.[12].fastq β€” reads with below lowthreshold bases retained
    • out.partiallymasked.[12].fastq β€” reads in between
    • out.retained.[12].fastq β€” reads with more than hightreshold bases retained
    • out.discarded.[12].fastq β€” reads with conflicting status
  • -m min-size β€” ignore database hits below this many consecutive kmers (0)
  • -e extend-size β€” extend database hits across this many missing kmers (0)
  • -novel β€” RETAIN novel sequence not present in the database πŸ‘‘
  • -confirmed β€” RETAIN confirmed sequence present in the database πŸ‘‘
  • -promote β€” promote the lesser RETAINED read to the status of the more RETAINED read, read1=fullymasked and read2=partiallymasked -> both are partiallymasked
  • -demote β€” demote the more RETAINED read to the status of the lesser RETAINED read, read1=fullymasked and read2=partiallymasked -> both are fullymasked
  • -discard β€” discard pairs with conflicting status (DEFAULT), read1=fullymasked and read2=partiallymasked -> both are discarded

πŸ“Š stats on stderr, number of sequences with amount RETAINED πŸ“Š

  • -lowthreshold t β€” (0.3333)
  • -highthreshold t β€” (0.6667)
  • -h histogram β€” write a histogram of the amount of sequence RETAINED
  • -t t β€” use t compute threads 🧡
  • -v β€” show progress 🐣

πŸ”­ SEE ALSO πŸ”­


not me being emotionally attached to a kmer masker. the way that -promote, -demote and -discard decide the fate of a conflicted read pair is main character energy and honestly iconic πŸŽ€

okay so that's the whole page, bestie β€” this is kmer-mask version 0~20150520+2004, dated May 2015, and she's still slaying πŸ’–βœ¨πŸ¦‹πŸŒΈπŸ’