DNAINDEX(1)
π DNAINDEX π
okay bestie, so this is dnaindex from section 1 of the User Manuals β the little tool that builds the index your dna file needs before anfo(1) will even look at it. sit down, hydrate, we're doing genomics π§¬β¨
β¨ NAME β¨
dnaindex β index a dna file for use with ANFO. that's the whole job. it's giving "small but crucial". π
π¦ SYNOPSIS π¦
dnaindex [ option ... ]
π DESCRIPTION π
so dnaindex builds an index for a dna file. and here's the tea: dna files must be indexed to be useable with anfo(1). no index, no service, periodt. π«
but the fun part? you can have multiple indices for the same dna file. yes queen, one genome, many little index outfits. wardrobe options. π
πΈ OPTIONS πΈ
-V,--versionβ prints the version number and then dips. bye. π-o file,--output fileβ write the output to file. file customarily ends in.idx. the default isgenomename_wordsize.idx.-g file,--genome fileβ read the genome from file. heads up: this file name also gets stored in the resulting index, so it can be found automatically whenever the index is used. that's why it's best if file is just a file name without a path β don't make future-you hunt for it. π-G dir,--genome-dir dirβ add dir to the genome search path. super useful if the genome you're indexing isn't yet in the place where it'll later be used. glow-up in progress. β¨-d text,--description textβ add text as a description to the index. this is purely informative, so write whatever cute note your heart desires. π-s size,--wordsize sizeβ set the wordsize to size. smaller wordsize = more precision, but at the expense of higher computational investment. the default is12, which with a stride of 8 yields a good compromise. balanced. iconic. π-S num,--stride numβ set the stride to num. only one out of num possible words of dna is actually indexed. smaller stride = more precision, but at the expense of a bigger index. the default is8, which in conjunction with a wordsize of12yields a good compromise. same energy, different dial. π¦-l lim,--limit limβ prevents the indexing of words that occur more often than lim times. use this to ignore repetitive seeds and save the space it would take to store them. a good default depends on the size of the genome being indexed β something like500works for the human genome with wordsize12and stride8. π-h,--histogramβ produce a histogram of word frequencies. this can be used to get an indea how the frequency distribution to select an appropriate value for--limit. (yes, "indea". we don't fix the originals around here, we respect them. π)-v,--verboseβ print a progress indicator during operation. for the girlies who need to see the progress bar moving. π
π₯ NOTES π₯
dnaindex is limited to genomes no longer than 4 gigabases due to its use of 32 bit indices. also, the index is quite large, so depending on parameters, a 64 bit platform is needed for genomes in the gigabase range. plan accordingly, bestie. π
if a genome contains IUPAC ambiguity codes, the affected seeds need to be expanded. and if there are many ambiguity codes in a small region, that results in an unacceptably large index. not the vibe. π
π ENVIRONMENT π
ANFO_PATHβ colon separated list of directories searched for genome files.
π FILES π
/etc/poptβ the system wide configuration file forpopt(3).dnaindexidentifies itself as"dnaindex"to popt. it knows its own name, slay.~/.poptβ per user configuration file forpopt(3).
π BUGS π
None known.
(we love a flawless queen. π«Ά)
π AUTHOR π
Udo Stenzel <udo_stenzel@eva.mpg.de>
β SEE ALSO β
anfo(1), fa2dna(1), popt(3), fasta(5)
ok that's the whole page, you're fully indexed and ready to go. go build that index, bestie, anfo(1) is waiting and it does NOT accept late submissions. π§π
mwah π β with love from the Applications section, October 2009, page DNAINDEX(1).
π¦ where this page comes from
- ubuntu jammy: anfo 0.98-9 Β· GPL-3.0-or-later
- (C) 2009 Udo Stenzel
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms