Index

A B C D E F G H I J K L M N O P Q R S T U V W X Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractDBQualityGoal<T,P extends FTProject> - Class in org.metagene.genestrip.finertree.goals
What the two database-quality goals have in common: reading the genomic fasta files back, resolving each record to the leaf tax node the fill filed it at, and looking its *k*-mers up in the database.
AbstractDBQualityGoal(P, FTGoalKey, ExecutionContext, ObjectGoal<Set<RefSeqCategory>, P>, ObjectGoal<TaxNodeSelection, P>, RefSeqFnaFilesDownloadGoal, ObjectGoal<Map<File, TaxTree.TaxIdNode>, P>, ObjectGoal<AccessionMap, P>, ObjectGoal<Database, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.finertree.goals.AbstractDBQualityGoal
Creates the goal, depending on the accession map and the loaded database in addition to the standard fasta-reader dependencies.
AbstractDBQualityGoal.MyFastaReader - Class in org.metagene.genestrip.finertree.goals
Fasta reader that, for each *k*-mer read from a genome, resolves the leaf tax node of the record it was read in and checks whether the database holds the *k*-mer at all.
AbstractFastaReader - Class in org.metagene.genestrip.fasta
Abstract line-based FASTA reader that reads a stream line by line and dispatches header ('>') lines and data (sequence) lines to overridable template methods.
AbstractFastaReader(int) - Constructor for class org.metagene.genestrip.fasta.AbstractFastaReader
Creates a reader using a line buffer of the given size in bytes.
AbstractFastqReader - Class in org.metagene.genestrip.fastq
Abstract multi-threaded FASTQ/FASTA reader.
AbstractFastqReader(int, int, int, ExecutionContext, boolean, Object...) - Constructor for class org.metagene.genestrip.fastq.AbstractFastqReader
Creates a reader for k-mers of length k, allocating read buffers of initialSizeBytes and starting the number of consumer threads given by the execution context (or processing inline if that number is zero).
AbstractFastqReader.ConsumerRunnable - Class in org.metagene.genestrip.fastq
One consumer thread of the reader: it takes read entries from the queue and hands them to AbstractFastqReader.nextEntry(ReadEntry, ConsumerRunnable) until the reader is dumped.
AbstractFastqReader.ReadEntry - Class in org.metagene.genestrip.fastq
A reusable, pooled buffer holding one read's descriptor, sequence and (optional) quality bytes.
AbstractKMerIndexGoal<T,P extends FTProject> - Class in org.metagene.genestrip.finertree.goals
What the two goals walking the k-mer index have in common: both work out which tax nodes are selected for refinement, both read every reference sequence, and both turn each k-mer stored below such a node into a (k-mer, leaf index) pair.
AbstractKMerIndexGoal(P, GoalKey, ExecutionContext, ObjectGoal<Set<RefSeqCategory>, P>, ObjectGoal<TaxNodeSelection, P>, ObjectGoal<TaxTree, P>, RefSeqFnaFilesDownloadGoal, ObjectGoal<Map<File, TaxTree.TaxIdNode>, P>, ObjectGoal<AccessionMap, P>, ObjectGoal<Database, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.finertree.goals.AbstractKMerIndexGoal
Creates the goal.
AbstractKMerIndexGoal.MyFastaReader - Class in org.metagene.genestrip.finertree.goals
Fasta reader that hands the enclosing goal, for each k-mer already contained in the k-mer store below a taxon selected for refinement, the store index of the leaf tax node it stems from.
AbstractKMerStore<V extends Serializable> - Class in org.metagene.genestrip.store
Common base for the KMerStore implementation RadixKMerStore.
AbstractKMerStore(int, int, List<V>, ProbFilter, double) - Constructor for class org.metagene.genestrip.store.AbstractKMerStore
Base constructor: sets k (which must be in [1, 31]), the value-index capacity, the optional fill-time pre-filter and the post-optimize filter fpp, and registers any initial values so they receive stable store indices.
AbstractKMerStore(AbstractKMerStore<W>, KMerStore.ValueConverter<W, V>) - Constructor for class org.metagene.genestrip.store.AbstractKMerStore
Copy constructor shared by the subclasses' convertValues support: copies the common counters and rebuilds the value maps with converted values.
AbstractLoggingFastqStreamer - Class in org.metagene.genestrip.fastq
An AbstractFastqReader that reads through a stream of FASTQ/FASTA resources one after another while logging and reporting per-file and overall progress.
AbstractLoggingFastqStreamer(int, int, int, ExecutionContext, boolean, Object...) - Constructor for class org.metagene.genestrip.fastq.AbstractLoggingFastqStreamer
Creates the streamer with the given matching parameters and execution context.
AbstractRefSeqFastaReader - Class in org.metagene.genestrip.refseq
Abstract FASTA reader for RefSeq genome files that resolves each contig's tax id via the accession map and tracks, per tax id, the number of contigs and k-mers already included.
AbstractRefSeqFastaReader(int, Set<TaxTree.TaxIdNode>, AccessionMap, int, int, boolean, AbstractRefSeqFastaReader.StringLong2DigitTrie) - Constructor for class org.metagene.genestrip.refseq.AbstractRefSeqFastaReader
Creates a RefSeq FASTA reader with the given tax nodes, accession map and per-tax-id limits.
AbstractRefSeqFastaReader.StringLong2DigitTrie - Class in org.metagene.genestrip.refseq
A StringLongDigitTrie whose entries additionally track a second long value (the accumulated k-mer count) alongside the contig count.
AbstractRefSeqFastaReader.StringLong2DigitTrie.StringLong2 - Class in org.metagene.genestrip.refseq
A StringLongDigitTrie.StringLong that additionally holds the accumulated k-mer count, where the inherited long value counts contigs.
AbstractStoreFastaReader - Class in org.metagene.genestrip.refseq
Abstract RefSeq FASTA reader that streams each contig's bases through a CGATLongBuffer (applying the sampling rate and DUST low-complexity filter) and hands every qualifying k-mer to AbstractStoreFastaReader.handleStore(long).
AbstractStoreFastaReader(int, Set<TaxTree.TaxIdNode>, AccessionMap, int, int, int, boolean, AbstractRefSeqFastaReader.StringLong2DigitTrie, boolean) - Constructor for class org.metagene.genestrip.refseq.AbstractStoreFastaReader
Creates the reader.
AbstractUpdateFastaReader - Class in org.metagene.genestrip.finertree.refseq
Abstract fasta reader for the finer-tree (FT) update phase.
AbstractUpdateFastaReader(int, Set<TaxTree.TaxIdNode>, AccessionMap, int, int, int, boolean, AbstractRefSeqFastaReader.StringLong2DigitTrie, boolean, boolean, boolean, boolean, boolean) - Constructor for class org.metagene.genestrip.finertree.refseq.AbstractUpdateFastaReader
Creates an update fasta reader that resolves refined leaf nodes according to the given refinement flags.
accClassErrorSquaredSum - Variable in class org.metagene.genestrip.match.CountsPerTaxid
The accumulated sum of squared per-read class error ratios.
accClassErrorSum - Variable in class org.metagene.genestrip.match.CountsPerTaxid
The accumulated sum of per-read class error ratios.
accept(long, int, SmallTaxTree.SmallTaxIdNode) - Method in class org.metagene.genestrip.finertree.goals.AbstractDBQualityGoal.MyFastaReader
Takes one k-mer of a flushed batch, which by construction the database holds - so the null check of the unbatched path is implicit here - and hands it to AbstractDBQualityGoal.MyFastaReader.count(long, int, org.metagene.genestrip.tax.SmallTaxTree.SmallTaxIdNode).
accept(long, int, SmallTaxTree.SmallTaxIdNode) - Method in class org.metagene.genestrip.finertree.goals.AbstractKMerIndexGoal.MyFastaReader
Records one k-mer of a flushed batch, which by construction is stored in the database.
accept(long, int, V) - Method in interface org.metagene.genestrip.store.RadixKMerStore.BatchValueConsumer
Accepts one k-mer of the batch that is present in the store.
accept(long, int, V, long) - Method in interface org.metagene.genestrip.store.RadixKMerStore.BatchPositionConsumer
Accepts one k-mer of the batch that is present in the store.
accErrorSquaredSum - Variable in class org.metagene.genestrip.match.CountsPerTaxid
The accumulated sum of squared per-read k-mer error ratios.
accErrorSum - Variable in class org.metagene.genestrip.match.CountsPerTaxid
The accumulated sum of per-read k-mer error ratios.
AccessionFileProcessor - Class in org.metagene.genestrip.refseq
Streams and parses the (large) NCBI RefSeq accession catalog file line by line, filtering entries by sequence type (DNA/RNA/mRNA), RefSeq category and release status, and dispatching each matching entry to AccessionFileProcessor.handleEntry(byte[], int, int, int).
AccessionFileProcessor(Collection<RefSeqCategory>, GSConfigKey.SeqType, List<GSConfigKey.RefSeqStatus>) - Constructor for class org.metagene.genestrip.refseq.AccessionFileProcessor
Creates a processor that keeps catalog entries matching the given RefSeq categories, sequence type and release statuses.
accessionMap - Variable in class org.metagene.genestrip.refseq.AbstractRefSeqFastaReader
Maps sequence accessions to their tax id nodes.
AccessionMap - Interface in org.metagene.genestrip.refseq
Maps genomic/RNA accession numbers to the tax id nodes they belong to.
accessionMapGoal - Variable in class org.metagene.genestrip.finertree.goals.AbstractDBQualityGoal
Supplies the accession-to-tax-node map, or is left unasked where no RefSeq release is read.
AccessionMapGoal<P extends GSProject> - Class in org.metagene.genestrip.goals.refseq
Goal that builds the AccessionMap: it scans the RefSeq release catalog and maps every accession range to its taxonomy node, incrementing that node's RefSeq contig count.
AccessionMapGoal(P, ObjectGoal<Set<RefSeqCategory>, P>, ObjectGoal<TaxTree, P>, ObjectGoal<TaxNodeSelection, P>, RefSeqCatalogDownloadGoal, AssemblyMetadataGoal<P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.refseq.AccessionMapGoal
Creates the goal, wiring the tax tree, categories and catalog download goals it reads.
AccessionMapImpl - Class in org.metagene.genestrip.refseq
Deprecated.
Superseded by AccessionMapTrieImpl, which holds the same entries in about a quarter less memory and sorts them about three times faster, by keeping only the part of a key that its bucket does not already imply. This implementation is kept because it makes no assumption whatsoever about what an accession looks like: it neither groups keys by their leading characters nor treats any alphabet as the expected one, which is what a catalog of a wholly different shape would want.
AccessionMapImpl() - Constructor for class org.metagene.genestrip.refseq.AccessionMapImpl
Deprecated.
Creates an empty map holding no genome selection, for a database that is to hold every genome.
AccessionMapImpl(int) - Constructor for class org.metagene.genestrip.refseq.AccessionMapImpl
Deprecated.
Creates a map, reserving room for roughly the given number of entries.
AccessionMapImpl(GenomeKeyTrie) - Constructor for class org.metagene.genestrip.refseq.AccessionMapImpl
Deprecated.
Creates an empty map carrying the given genome selection.
AccessionMapTrieImpl - Class in org.metagene.genestrip.refseq
An AccessionMap that dispatches on the first characters of an accession through a trie of jump tables and keeps the remainder of the key in a fixed-size slot of a flat arena per bucket, which AccessionMapTrieImpl.optimize() sorts so that lookups binary-search a single bucket.
AccessionMapTrieImpl() - Constructor for class org.metagene.genestrip.refseq.AccessionMapTrieImpl
Creates an empty map holding no genome selection, for a database that is to hold every genome.
AccessionMapTrieImpl(GenomeKeyTrie) - Constructor for class org.metagene.genestrip.refseq.AccessionMapTrieImpl
Creates an empty map carrying the given genome selection.
AccessionTrie<V> - Class in org.metagene.genestrip.refseq
A trie keyed by RefSeq accessions rather than by digits alone.
AccessionTrie() - Constructor for class org.metagene.genestrip.refseq.AccessionTrie
Creates an empty trie.
ACCMAP - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Loads the required RefSeq accession entries into memory.
accumulateFrom(CountsPerTaxid.AccValues) - Method in class org.metagene.genestrip.match.CountsPerTaxid.AccValues
Adds the raw and normalized values of the given instance into this one.
AccValues(long, long) - Constructor for class org.metagene.genestrip.match.CountsPerTaxid.AccValues
Creates accumulated values from a single raw value, normalizing by dbKMers (or 0 if dbKMers is not positive).
ACELLULAR_ROOT - Enum constant in enum class org.metagene.genestrip.tax.Rank
The acellular root rank.
add(byte[], int, int, long) - Method in class org.metagene.genestrip.util.StringLongDigitTrie
Adds add to the counter for the key given by seq[start, end), creating it if necessary.
add(long) - Method in class org.metagene.genestrip.store.RadixKMerStore.BatchBuffers
Appends a k-mer to the batch.
add(long, int) - Method in class org.metagene.genestrip.store.RadixKMerStore.BatchBuffers
Appends a k-mer to the batch along with a payload that RadixKMerStore.getBatch(BatchBuffers, BatchValueConsumer) hands back with the k-mer's stored value.
add(String, long) - Method in class org.metagene.genestrip.util.StringLongDigitTrie
Adds add to the counter for the given key, creating it if necessary.
add(T) - Method in class org.metagene.genestrip.util.SimpleBlockingQueue
 
ADD_DOWNLOADS - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Downloads additionally requested fasta files.
ADD_FASTAS - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Associates additional fasta files with tax ids in memory.
addAll(Collection<? extends T>) - Method in class org.metagene.genestrip.util.SimpleBlockingQueue
 
addFile(File) - Method in class org.metagene.genestrip.make.FileListGoal
Adds a file to the output file list; typically called from FileListGoal.provideFiles().
ADDITIONAL - Enum constant in enum class org.metagene.genestrip.genbank.AssemblySummaryReader.AssemblyQuality
Additional assembly, treated as the highest quality level.
additionalDownload(File) - Method in class org.metagene.genestrip.goals.AdditionalDownloadsGoal
 
additionalDownload(File) - Method in class org.metagene.genestrip.goals.DBDownloadGoal
 
additionalDownload(File) - Method in class org.metagene.genestrip.goals.FastqDownloadsGoal
 
additionalDownload(File) - Method in class org.metagene.genestrip.goals.genbank.FastaFilesGenbankDownloadGoal
 
additionalDownload(File) - Method in class org.metagene.genestrip.make.FileDownloadGoal
Downloads an additional file not covered by the standard HTTP/FTP scheme; must be overridden to be usable.
AdditionalDownloadsGoal<P extends GSProject> - Class in org.metagene.genestrip.goals
Download goal for user-specified additional fasta/genome files: it reads the project's additional-entries file (and matching entries in the shared downloads.txt), resolving each to a target file, its download URL and an optional MD5 checksum.
AdditionalDownloadsGoal(P, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.AdditionalDownloadsGoal
Creates the goal that resolves and downloads additional declared files.
AdditionalFastasGoal<P extends GSProject> - Class in org.metagene.genestrip.goals
Produces the mapping from additional local fasta files to their taxonomic node, combining entries listed in the project's additional file with the genbank-derived assembly entries.
AdditionalFastasGoal(P, ObjectGoal<TaxTree, P>, ObjectGoal<Map<TaxTree.TaxIdNode, List<AssemblySummaryReader.AssemblyEntry>>, P>, FastaFilesGenbankDownloadGoal, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.AdditionalFastasGoal
Creates the goal, wiring the tax tree, the Genbank assembly entries and the Genbank FASTA download goal.
additionalGoal - Variable in class org.metagene.genestrip.goals.refseq.FastaReaderGoal
The goal supplying additional FASTA files mapped to their tax node.
addRead(String, byte[]) - Method in class org.metagene.genestrip.fastqgen.FastQWriter
Writes one read consisting of the given base bytes, tagged with the given (optional) tax id.
addSubNode(TaxTree.TaxIdNode, TaxTree.TaxIdNode) - Method in class org.metagene.genestrip.tax.TaxTree.Builder
Makes child a child of parent.
admit(byte[], int, int) - Method in class org.metagene.genestrip.refseq.GenomeKeyTrie
Adds the genome of the accession seq[start, end) to the set, and says whether it was not in it already - which is what makes one genome count once however many accessions it arrives in.
admitKey(byte[], int, int) - Method in class org.metagene.genestrip.refseq.GenomeKeyTrie
Adds a key that has already been derived, and says whether it was not in the set already.
admittedGenomes - Variable in class org.metagene.genestrip.refseq.AbstractRefSeqFastaReader
The genome keys admitted so far, or null where no genome limit is in force and there is therefore nothing to remember.
afterKey(String, MatchingResult) - Method in interface org.metagene.genestrip.goals.MatchResultGoal.AfterMatchCallback
Called once all reads for a map key have been matched.
afterKMerStoreWork() - Method in class org.metagene.genestrip.finertree.goals.KMerBranchHistoGoal
Publishes the accumulated histogram map as this goal's result.
afterKMerStoreWork() - Method in class org.metagene.genestrip.finertree.goals.KMerIntersectCountGoal
Distributes the store's per-tax-id *k*-mer counts to the nearest ancestor parent that sits at a refinement rank, thereby populating the descendant *k*-mer counts, and finally publishes the accumulated KMerIntersectCountGoal.IntersectionsPerNode as this goal's result.
afterKMerStoreWork() - Method in class org.metagene.genestrip.finertree.goals.KMerStoreWorkGoal
Hook invoked once after the *k*-mer store traversal has completed, allowing subclasses to finalise and publish their result.
afterKMerStoreWork() - Method in class org.metagene.genestrip.finertree.goals.UpdateStoreGoal
Finalizes the update after all k-mers have been reassigned: attaches the two new child nodes of every refined parent to the tax tree, reinitializes the tree's node positions, publishes the updated database as this goal's result, and invalidates the original store goal whose content is now stale.
afterMatch(FastqKMerMatcher.MatcherReadEntry, boolean) - Method in interface org.metagene.genestrip.goals.MatchResultGoal.AfterMatchCallback
Called for each matched read.
afterMatch(FastqKMerMatcher.MatcherReadEntry, boolean) - Method in class org.metagene.genestrip.match.FastqKMerMatcher
Called after a read has been matched: writes the read to the filtered output if it matched, and appends its Kraken-style line to the output stream when applicable.
afterMatch(FastqKMerMatcher.MatcherReadEntry, boolean) - Method in interface org.metagene.genestrip.match.FastqKMerMatcher.AfterMatchCallback
Invoked after a read has been matched.
afterReadFastas(AbstractRefSeqFastaReader.StringLong2DigitTrie) - Method in class org.metagene.genestrip.goals.refseq.FastaReaderGoal
Hook invoked once all FASTA files have been read; the default implementation does nothing.
afterReadFastas(AbstractRefSeqFastaReader.StringLong2DigitTrie) - Method in class org.metagene.genestrip.goals.refseq.FillBloomFilterGoal
 
aggregateCounts(Iterable<SmallTaxTree.SmallTaxIdNode>, Map<String, DBQualityCountsGoal.Counts>) - Static method in class org.metagene.genestrip.finertree.goals.DBQualityCountsGoal
Aggregates the per-node tallies up the taxonomy tree in two passes.
ALL - Enum constant in enum class org.metagene.genestrip.finertree.FTConfigKey.RefinementPosition.Limit
Match-all comparison, token *.
ALL - Enum constant in enum class org.metagene.genestrip.GSConfigKey.SeqType
All sequence types.
ALL - Enum constant in enum class org.metagene.genestrip.GSConfigKey.UpdateScope
Every contig of the release.
ALL - Static variable in class org.metagene.genestrip.util.KMerSampling
The threshold that selects every k-mer, i.e.
ALL_BUT_EXCLUDED - Enum constant in enum class org.metagene.genestrip.GSConfigKey.UpdateScope
Every contig of the release except those of the tax ids taxids.txt excluded with a leading -.
ALL_LEVELS - Static variable in class org.metagene.genestrip.refseq.AssemblySizeIndex
Every level, for a caller wanting the summary's metadata rather than an answer about completeness.
ALL_POSITIONS - Static variable in class org.metagene.genestrip.finertree.FTConfigKey.RefinementPosition
Sentinel refinement position that matches every taxonomy node.
ALL_RNA - Enum constant in enum class org.metagene.genestrip.GSConfigKey.SeqType
All RNA sequence variants.
allDependentsMade() - Method in class org.metagene.genestrip.goals.refseq.FillBloomFilterGoal
Eagerly cleans this goal's result once all dependent goals have been made, to free memory.
allDependentsMade() - Method in class org.metagene.genestrip.make.Goal
Hook invoked once all potentially required dependents of this goal have been made; empty by default and meant to be overridden.
allDependentsMade() - Method in class org.metagene.genestrip.make.ObjectGoal
Frees the held value once all dependents have been made, by cleaning this goal.
allDone() - Method in class org.metagene.genestrip.fastq.AbstractLoggingFastqStreamer
Logs and reports the final totals after all files have been processed.
ALLINONE_CHUNK_SIZE - Enum constant in enum class org.metagene.genestrip.finertree.FTConfigKey
Maximum number of dendrograms put into one LaTeX file by the allinonelatex goal.
ALLINONE_LATEX - Enum constant in enum class org.metagene.genestrip.finertree.FTGoalKey
Merges the LaTeX extracts of FTGoalKey.DENDRO_LATEX into a single LaTeX document.
AllInOneLaTeXGoal<P extends FTProject> - Class in org.metagene.genestrip.finertree.goals
Concatenates the individual per-parent dendrogram .tex files produced by DengrogramLaTeXGoal into chunked, standalone LaTeX documents.
AllInOneLaTeXGoal(P, DengrogramLaTeXGoal<P>, Goal<P>...) - Constructor for class org.metagene.genestrip.finertree.goals.AllInOneLaTeXGoal
Creates the all-in-one LaTeX goal.
alreadyMade() - Method in class org.metagene.genestrip.make.FileGoal
 
alreadyMade() - Method in class org.metagene.genestrip.make.Goal
Hook invoked by Goal.make() when the goal is found to be already made; empty by default.
ALWAYS_ASSUME_GZIP - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether downloaded fastq/fasta files are always assumed to be gzipped.
append(T[], T...) - Static method in class org.metagene.genestrip.make.Goal
Returns a new array containing the elements of array followed by the given values.
ARCHAEA - Enum constant in enum class org.metagene.genestrip.refseq.RefSeqCategory
The archaea RefSeq category.
ARTIFICIAL_PREFIX - Static variable in class org.metagene.genestrip.tax.TaxIdInfo
The tax id prefix that marks an artificial (non-NCBI) node.
asNodesWithDescs(SmallTaxTree, String[], boolean[]) - Method in class org.metagene.genestrip.goals.DB2FastqTaxNodesGoal
Resolves the given tax ids to their store nodes, additionally including all descendant nodes for every id whose corresponding withDescs flag is set.
ASSEMBLY_ACCESSION_PREFIXES - Static variable in class org.metagene.genestrip.refseq.AccessionFileProcessor
Accession prefixes of the kinds a genome assembly consists of.
ASSEMBLY_ACCESSIONS_ONLY - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether to keep only the accession prefixes a genome assembly uses when filling the database.
ASSEMBLY_METADATA_GAP - Enum constant in enum class org.metagene.genestrip.GSConfigKey
How far a sum of sequence lengths may be from an assembly's recorded length and still match it.
ASSEMBLYDOWNLOAD - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Downloads Genbank's assembly catalog file.
AssemblyEntry(String, String, AssemblySummaryReader.AssemblyQuality, URL, boolean, String) - Constructor for class org.metagene.genestrip.genbank.AssemblySummaryReader.AssemblyEntry
Creates an entry and derives the genomic fasta file name from either the ftp directory URL (appending _genomic.fna.gz) or the last path segment of the given url.
AssemblyFileDownloadGoal<P extends GSProject> - Class in org.metagene.genestrip.goals.genbank
Downloads the GenBank and RefSeq assembly summary files into the project's common genbank and refseq directories.
AssemblyFileDownloadGoal(P, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.genbank.AssemblyFileDownloadGoal
Creates the goal that downloads the GenBank and RefSeq assembly summary files.
AssemblyInfo - Class in org.metagene.genestrip.refseq
What is known about the assembly a sequence belongs to.
AssemblyInfo(byte[], AssemblySummaryReader.AssemblyQuality, boolean) - Constructor for class org.metagene.genestrip.refseq.AssemblyInfo
Creates the record.
ASSEMBLYMETA - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Matches the accession catalog's sequences against NCBI's assembly summary.
AssemblyMetadataGoal<P extends GSProject> - Class in org.metagene.genestrip.goals.refseq
Provides what NCBI's assembly summary knows about the assemblies a database is built from.
AssemblyMetadataGoal(P, ObjectGoal<Set<RefSeqCategory>, P>, RefSeqCatalogDownloadGoal, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.refseq.AssemblyMetadataGoal
Creates the goal, wiring the catalog and categories goals it reads.
AssemblySizeIndex - Class in org.metagene.genestrip.refseq
An index over NCBI's assembly summary, keyed by the taxon and the assembly's total length.
AssemblySizeIndex(File) - Constructor for class org.metagene.genestrip.refseq.AssemblySizeIndex
Reads the summary file and builds the index.
AssemblySizeIndex(File, Collection<AssemblySummaryReader.AssemblyQuality>) - Constructor for class org.metagene.genestrip.refseq.AssemblySizeIndex
Reads the summary file and builds the index over the given levels.
AssemblySizeIndex(File, Collection<AssemblySummaryReader.AssemblyQuality>, boolean) - Constructor for class org.metagene.genestrip.refseq.AssemblySizeIndex
Reads the summary file and builds the index over the given levels, optionally keeping only the assembly NCBI marks as a species' reference where it has marked one.
AssemblySizeIndex.Match - Class in org.metagene.genestrip.refseq
What a search found: the level of the nearest assembly and how far off its length was.
AssemblySummaryReader - Class in org.metagene.genestrip.genbank
Reads an NCBI assembly summary file (from Genbank or RefSeq) and extracts the assembly entries relevant to a set of taxonomy nodes, filtering by assembly quality and reference status.
AssemblySummaryReader(File, boolean, TaxTree) - Constructor for class org.metagene.genestrip.genbank.AssemblySummaryReader
Creates a reader for the standard summary file of either Genbank or RefSeq.
AssemblySummaryReader(File, String, TaxTree) - Constructor for class org.metagene.genestrip.genbank.AssemblySummaryReader
Creates a reader for the given summary file name.
AssemblySummaryReader.AssemblyEntry - Class in org.metagene.genestrip.genbank
A single assembly entry from the summary file, carrying its tax ids, download location, quality and derived genomic fasta file name.
AssemblySummaryReader.AssemblyQuality - Enum Class in org.metagene.genestrip.genbank
The assembly quality levels, combining the assembly level (complete, chromosome, scaffold, contig) with whether the version is the latest.
ASSEMLY_SUM_GENBANK - Static variable in class org.metagene.genestrip.genbank.AssemblySummaryReader
File name of the Genbank assembly summary file.
ASSEMLY_SUM_REFSEQ - Static variable in class org.metagene.genestrip.genbank.AssemblySummaryReader
File name of the RefSeq assembly summary file.
AUTO - Enum constant in enum class org.metagene.genestrip.GSConfigKey.BloomFilterSizing
From the estimate, falling back to the bound above and reading the sequences a second time if that estimate turns out to have fallen short.
available() - Method in class org.metagene.genestrip.io.ByteCountingInputStream
 

B

BACTERIA - Enum constant in enum class org.metagene.genestrip.refseq.RefSeqCategory
The bacteria RefSeq category.
badPos - Variable in class org.metagene.genestrip.match.FastqFilter.MyReadEntry
Single-element holder for the position of the last invalid base.
badPos - Variable in class org.metagene.genestrip.match.FastqKMerMatcher.MatcherReadEntry
Single-element scratch array receiving the position of a bad (non-CGAT) base.
BATCH_SIZE - Static variable in class org.metagene.genestrip.finertree.goals.AbstractDBQualityGoal
Number of k-mers a reader buffers before looking them up in one batch.
BATCH_SIZE - Static variable in class org.metagene.genestrip.finertree.goals.AbstractKMerIndexGoal
BatchBuffers(int) - Constructor for class org.metagene.genestrip.store.RadixKMerStore.BatchBuffers
Creates buffers holding up to capacity k-mers per batch.
beforeKMerStoreWork() - Method in class org.metagene.genestrip.finertree.goals.KMerBranchHistoGoal
Initialises a fresh result map before the k-mer store traversal starts.
beforeKMerStoreWork() - Method in class org.metagene.genestrip.finertree.goals.KMerIntersectCountGoal
Initialises a fresh KMerIntersectCountGoal<P extends FTProject>.IntersectionsPerNodeImpl accumulator before the traversal starts.
beforeKMerStoreWork() - Method in class org.metagene.genestrip.finertree.goals.KMerStoreWorkGoal
Hook invoked once before the *k*-mer store traversal begins, allowing subclasses to initialise any accumulators they need.
beforeKMerStoreWork() - Method in class org.metagene.genestrip.finertree.goals.UpdateStoreGoal
Prepares the update by capturing the database's current k-mer store and, for every refined parent taxon whose dendrogram still needs expansion, building a UpdateStoreGoal<P extends FTProject>.org.metagene.genestrip.finertree.goals.UpdateStoreGoal.BitSetsForNodes that creates the new refined tax nodes and their k-mer matching bit sets.
binaryKeySearch(int, int, byte[], int, int) - Method in class org.metagene.genestrip.refseq.AccessionMapImpl
Deprecated.
Binary-searches the sorted keys in [from, to) for the key array[start, end), returning its index, or -(insertionPoint + 1) if absent.
BIOTYPE - Enum constant in enum class org.metagene.genestrip.tax.Rank
The biotype rank.
bits - Variable in class org.metagene.genestrip.probfilter.BloomFilter
The number of bits in the backing bit vector.
bitVector - Variable in class org.metagene.genestrip.probfilter.BloomFilter
The backing bit vector storing the filter's bits.
BlockedBloomFilter - Class in org.metagene.genestrip.probfilter
A blocked Bloom filter for k-mers, derived from FastFilter's BlockedBloom and tuned for lookup speed: every key sets/tests a few bits within a small block of adjacent long words, so a query touches only one or two cache lines.
BlockedBloomFilter(long) - Constructor for class org.metagene.genestrip.probfilter.BlockedBloomFilter
Creates a filter sized for expectedInsertions k-mers with BlockedBloomFilter.DEFAULT_BITS_PER_KEY bits per key.
BlockedBloomFilter(long, int) - Constructor for class org.metagene.genestrip.probfilter.BlockedBloomFilter
Creates a filter sized for expectedInsertions k-mers with the given number of bits per key and a fixed default seed.
BlockedBloomFilter(long, int, long) - Constructor for class org.metagene.genestrip.probfilter.BlockedBloomFilter
Creates a filter sized for expectedInsertions k-mers with the given number of bits per key and hash seed, deriving the smallest large-backing bucket width that still holds the whole filter — so the bucketed backing uses as few buckets as the sizing requires (see BlockedBloomFilter.minBucketShift(long, int)).
BlockedBloomFilter(long, int, long, int) - Constructor for class org.metagene.genestrip.probfilter.BlockedBloomFilter
Creates a filter sized for expectedInsertions k-mers with the given number of bits per key, hash seed and large-backing bucket width.
BLOOM_FILTER_SIZING - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Which of the two k-mer counts the temporary Bloom filter is sized from.
bloomFilter - Variable in class org.metagene.genestrip.finertree.goals.KMerStoreWorkGoal
The loaded k-mer index Bloom filter, available from KMerStoreWorkGoal.beforeKMerStoreWork() on.
BloomFilter - Class in org.metagene.genestrip.probfilter
The classical ProbFilter, backed by a LargeBitVector: it sizes the bit vector and the number of hash functions from the expected insertions and target false-positive probability, and sets one bit per hash function.
BloomFilter(double, long) - Constructor for class org.metagene.genestrip.probfilter.BloomFilter
Creates a filter with the given target false-positive probability (which must lie strictly between 0 and 1), sized for expectedInsertions k-mers.
bloomFilterGoal - Variable in class org.metagene.genestrip.finertree.goals.KMerStoreWorkGoal
The goal providing the k-mer index Bloom filter used for subtree-membership tests.
BloomFilterSizingConfigParamInfo(GSConfigKey.BloomFilterSizing) - Constructor for class org.metagene.genestrip.GSConfigKey.BloomFilterSizingConfigParamInfo
Creates parameter info for the sizing of the temporary Bloom filter.
BloomIndexGoal<P extends GSProject> - Class in org.metagene.genestrip.goals.refseq
Goal that builds the index Bloom filter (ProbFilter) from the filled database: it inserts every k-mer whose stored taxid belongs to a requested tax node, sizing the filter from the configured false-positive probability.
BloomIndexGoal(P, ObjectGoal<Database, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.refseq.BloomIndexGoal
Creates the goal, wiring the filled database goal whose k-mers are indexed.
BooleanConfigParamInfo(boolean) - Constructor for class org.metagene.genestrip.make.ConfigParamInfo.BooleanConfigParamInfo
Creates a boolean parameter descriptor.
booleanConfigValue(ConfigKey) - Method in class org.metagene.genestrip.make.Goal
Returns the configuration value for the given key as a boolean.
booleanConfigValue(ConfigKey) - Method in class org.metagene.genestrip.make.Project
Returns the value of the given key as a boolean.
bpCounter - Variable in class org.metagene.genestrip.util.CGATLongBuffer
The current write position within the ring buffer.
bpsInContig - Variable in class org.metagene.genestrip.refseq.AbstractRefSeqFastaReader
Number of base pairs seen in the current contig.
BRANCH_HISTO - Enum constant in enum class org.metagene.genestrip.finertree.FTGoalKey
Computes, per tree node with refined k-mers, a histogram over its k-mers' branching degrees.
BRANCH_HISTO_CSV - Enum constant in enum class org.metagene.genestrip.finertree.FTGoalKey
Writes the branching-degree histograms of FTGoalKey.BRANCH_HISTO to CSV, one row per node.
BRANCH_HISTO_RANK_CSV - Enum constant in enum class org.metagene.genestrip.finertree.FTGoalKey
Aggregates the branching-degree histograms of FTGoalKey.BRANCH_HISTO by rank into a CSV file.
bRead - Variable in class org.metagene.genestrip.io.ByteCountingInputStream
The number of bytes read from the delegate stream so far.
buckets - Variable in class org.metagene.genestrip.probfilter.BlockedBloomFilter
Number of buckets (words) available for bits.
buffer - Variable in class org.metagene.genestrip.match.FastqKMerMatcher.MatcherReadEntry
Growable byte buffer holding the read's Kraken-style output.
BufferedLineReader - Class in org.metagene.genestrip.io
Reads newline-delimited lines from an input stream into caller-supplied byte buffers with minimal allocation.
BufferedLineReader() - Constructor for class org.metagene.genestrip.io.BufferedLineReader
Creates a reader with no input stream set yet; use BufferedLineReader.setInputStream(InputStream) before reading.
BufferedLineReader(InputStream) - Constructor for class org.metagene.genestrip.io.BufferedLineReader
Creates a reader over the given stream using the current default buffer size.
BufferedLineReader(InputStream, int) - Constructor for class org.metagene.genestrip.io.BufferedLineReader
Creates a reader over the given stream using an internal buffer of the given size.
bufferPos - Variable in class org.metagene.genestrip.match.FastqKMerMatcher.MatcherReadEntry
Current write position within FastqKMerMatcher.MatcherReadEntry.buffer.
buffers - Variable in class org.metagene.genestrip.match.FastqKMerMatcher.MatcherConsumer
Buffers collecting a read's k-mers for the batched lookup; null without batching.
buildFTPURL(File) - Method in class org.metagene.genestrip.make.FileDownloadGoal
Builds the FTP URL to download the given file from.
buildHttpURL() - Method in class org.metagene.genestrip.goals.refseq.CheckRefSeqRNumGoal
Builds the HTTP URL of NCBI's current RefSeq RELEASE_NUMBER file.
buildHttpURL(File) - Method in class org.metagene.genestrip.make.FileDownloadGoal
Builds the HTTP URL to download the given file from.
bundle - Variable in class org.metagene.genestrip.fastq.AbstractFastqReader
The execution context providing the consumer threads and error handling.
byName(String) - Static method in enum class org.metagene.genestrip.GSConfigKey.BloomFilterSizing
Returns the value of the given configuration name, or null if there is none.
byName(String) - Static method in enum class org.metagene.genestrip.GSConfigKey.GenomesOnly
Returns the value of the given configuration name, or null if there is none.
byName(String) - Static method in enum class org.metagene.genestrip.GSConfigKey.SeqType
Returns the sequence type with the given name.
byName(String) - Static method in enum class org.metagene.genestrip.GSConfigKey.UpdateScope
Returns the value of the given configuration name, or null if there is none.
byName(String) - Static method in enum class org.metagene.genestrip.tax.Rank
Returns the rank whose name equals the given string, or null if none matches.
byOrdinal(int) - Static method in enum class org.metagene.genestrip.tax.Rank
Returns the rank for the given enum ordinal, or null if i is -1.
byteArrayToInt(byte[], int, int) - Static method in class org.metagene.genestrip.util.ByteArrayUtil
Parses the ASCII decimal digits in [start, end) into an int.
ByteArrayUtil - Class in org.metagene.genestrip.util
Static helpers for working with byte arrays that hold ASCII / UTF-8 text: searching, comparing, printing, and converting between integers and their decimal ASCII representation.
ByteCountingFileInputStream - Class in org.metagene.genestrip.io
A FileInputStream that counts the number of bytes read and, optionally, advances a progress bar as reading proceeds.
ByteCountingFileInputStream(File) - Constructor for class org.metagene.genestrip.io.ByteCountingFileInputStream
Creates a byte-counting stream over the given file without a progress bar.
ByteCountingFileInputStream(File, ProgressBar) - Constructor for class org.metagene.genestrip.io.ByteCountingFileInputStream
Creates a byte-counting stream over the given file that advances the given progress bar as bytes are read.
ByteCountingInputStream - Class in org.metagene.genestrip.io
An InputStream that wraps a delegate stream and counts the number of bytes read from it, keeping the count consistent across mark/reset and skip.
ByteCountingInputStream(InputStream) - Constructor for class org.metagene.genestrip.io.ByteCountingInputStream
Creates a byte-counting stream wrapping the given delegate stream.
byteRingBuffer - Variable in class org.metagene.genestrip.refseq.AbstractStoreFastaReader
The ring buffer accumulating bases into k-mers.

C

CATALOG_BASE_NAME - Static variable in class org.metagene.genestrip.goals.refseq.RefSeqCatalogDownloadGoal
Name pattern for the release catalog file, parameterized by release number.
CATALOG_FOLDER - Static variable in class org.metagene.genestrip.goals.refseq.RefSeqCatalogDownloadGoal
Remote folder holding the RefSeq release catalog files.
CATEGORIES - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Loads the RefSeq category names requested for the project's database.
categoriesGoal - Variable in class org.metagene.genestrip.goals.refseq.FastaReaderGoal
The goal supplying the set of RefSeq categories to read.
CategoriesGoal<P extends GSProject> - Class in org.metagene.genestrip.goals.refseq
Goal that reads the project's categories file and produces the set of RefSeqCategory values selected for the database.
CategoriesGoal(P, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.refseq.CategoriesGoal
Creates the categories goal for the given project.
CELLULAR_ROOT - Enum constant in enum class org.metagene.genestrip.tax.Rank
The cellular root rank.
CGAT - Class in org.metagene.genestrip.util
Low-level helpers for encoding DNA bases (C, G, A, T) into 2-bit codes and k-mers into longs, as well as decoding, complementing and reverse-complementing them.
CGATLongBuffer - Class in org.metagene.genestrip.util
A streaming ring buffer that incrementally computes the straight and reverse-complement 2-bit encodings of the last k bases fed to it via CGATLongBuffer.put(byte), optionally tracking a DUST low-complexity score so that low-complexity k-mers can be filtered out.
CGATLongBuffer(int) - Constructor for class org.metagene.genestrip.util.CGATLongBuffer
Creates a buffer for k-mers of the given length with DUST filtering disabled.
CGATLongBuffer(int, int) - Constructor for class org.metagene.genestrip.util.CGATLongBuffer
Creates a buffer for k-mers of the given length (at most 32).
cgatToUpperCase(byte) - Static method in class org.metagene.genestrip.util.CGAT
Upper-cases only the four nucleotide letters; every other byte is returned unchanged.
chao(long, long, long) - Static method in class org.metagene.genestrip.match.SharedFractionEstimator
Chao's estimate of the number of shared k-mers in its bias-corrected form, u + f1 (f1 - 1) / (2 (f2 + 1)), which stays finite when f2 = 0.
chaoInterval(long, long, long, long, double) - Method in class org.metagene.genestrip.match.SharedFractionEstimator
Returns Chao's estimate with its confidence interval.
chaoStandardError(long, long, long, long, double) - Static method in class org.metagene.genestrip.match.SharedFractionEstimator
The standard error of Chao's estimate divided by n: the variance of the estimated unhit k-mers with runs of b hits, (f1 / l) sum_{j=-(b-1)}^{b-1} phi(|j|/b) with phi(s) = e^(-l s) (1-s)^2 ((1-s)^2 + 4 (1-s)/l + 2/l^2) and l = 2 f2 / f1.
CHECK_REFSEQ_RNUM - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Checks whether the downloaded RefSeq release matches the current release on the download server.
CHECK_SUM_CACHE_FILE - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether md5 checksums may be skipped via a cached .md5ok marker file.
CHECK_SUM_CACHE_FILE - Static variable in class org.metagene.genestrip.make.FileDownloadGoal
Configuration key controlling whether a successful check-sum verification may be recorded in an on-disk marker file to avoid recomputation.
CHECK_SUM_OK_SUFFIX - Static variable in class org.metagene.genestrip.make.FileDownloadGoal
File name suffix of the marker file used to record a successful MD5 check-sum verification.
checkAndLogConsumerThreadProblem() - Method in class org.metagene.genestrip.fastq.AbstractFastqReader
Logs any exceptions raised on consumer threads and rethrows the first as a runtime exception.
checkAndLogConsumerThreadProblem() - Method in class org.metagene.genestrip.goals.refseq.FastaReaderGoal
Logs and rethrows any exceptions collected from the consumer threads.
checkConfigProperties(Properties, GoalKey) - Method in class org.metagene.genestrip.make.Project
Reports entries of the given properties that reference an unknown key, a key that is not valid for the given goal, or an invalid or out-of-range value.
checkDigits(byte[], int, int) - Static method in class org.metagene.genestrip.util.ByteArrayUtil
Returns whether every byte in [start, end) is an ASCII decimal digit.
CheckRefSeqRNumGoal<P extends GSProject> - Class in org.metagene.genestrip.goals.refseq
Goal that compares the locally downloaded RefSeq release number with the one currently published by NCBI, recording the local number as a project property and reporting whether it is current.
CheckRefSeqRNumGoal(P, FileGoal<P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.refseq.CheckRefSeqRNumGoal
Creates the goal for the given project.
CheckRefSeqRNumGoal.Result - Enum Class in org.metagene.genestrip.goals.refseq
Result of the release-number comparison: local is current, outdated, or undeterminable.
CHECKSUMMAP - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Loads MD5 checksums for RefSeq files into memory.
CheckSumMapGoal<P extends GSProject> - Class in org.metagene.genestrip.goals.refseq
Goal that builds a map from installed RefSeq file name to its expected MD5 checksum, parsed from the release files.installed listing (used to verify downloaded FASTA files).
CheckSumMapGoal(P, RefSeqCatalogDownloadGoal, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.refseq.CheckSumMapGoal
Creates the goal, wiring the catalog download goal whose files.installed is parsed.
checkSumOkCacheFile(File) - Method in class org.metagene.genestrip.make.FileDownloadGoal
Returns the marker file used to record a successful check-sum verification for the given file.
CHROMOSOME - Enum constant in enum class org.metagene.genestrip.genbank.AssemblySummaryReader.AssemblyQuality
Chromosome-level assembly that is not the latest version.
CHROMOSOME - Enum constant in enum class org.metagene.genestrip.GSConfigKey.GenomesOnly
Complete and chromosome-level assemblies, the levels genbank.fastaQualities admits by default.
CHROMOSOME_LATEST - Enum constant in enum class org.metagene.genestrip.genbank.AssemblySummaryReader.AssemblyQuality
Chromosome-level assembly that is the latest version.
CHROMOSOME_LEVEL - Static variable in class org.metagene.genestrip.refseq.AssemblySizeIndex
Chromosome-level assemblies, which usually carry gaps of about one per cent of the genome.
CLADE - Enum constant in enum class org.metagene.genestrip.tax.Rank
The clade rank; a collection of related taxons with an indeterminate level.
CLASS - Enum constant in enum class org.metagene.genestrip.tax.Rank
The class rank.
classErrorSquaredSum - Variable in class org.metagene.genestrip.match.CountsPerTaxid
The sum of squared per-read class error ratios.
classErrorSum - Variable in class org.metagene.genestrip.match.CountsPerTaxid
The sum of per-read class error ratios.
classNode - Variable in class org.metagene.genestrip.match.FastqKMerMatcher.MatcherReadEntry
The resolved classification node for this read, or null if unclassified.
clean() - Method in class org.metagene.genestrip.make.Goal
Cleans this goal and transitively cleans its dependencies that allow it.
clean(boolean) - Method in class org.metagene.genestrip.make.Goal
Cleans this goal and then its dependencies.
clean(GoalKey...) - Method in class org.metagene.genestrip.make.Maker
Cleans only the given goals themselves, without cleaning their dependencies.
cleanAll(GoalKey...) - Method in class org.metagene.genestrip.make.Maker
Cleans the given goals and, transitively, their dependencies that allow transitive cleaning.
cleanFilter(String, String...) - Method in class org.metagene.genestrip.GSMaker
Like GSMaker.filter(String, String...) but first cleans previous results so filtering is recomputed.
cleanMatch(boolean, String, String...) - Method in class org.metagene.genestrip.GSMaker
Like GSMaker.match(boolean, String, String...) but first cleans previous results so matching is recomputed.
cleanStoreGoal() - Method in class org.metagene.genestrip.finertree.goals.KMerStoreWorkGoal
Cleans the underlying store goal, releasing the loaded database so that its memory can be reclaimed once this goal no longer needs it.
cleanThis() - Method in class org.metagene.genestrip.make.Goal
Cleans this goal's own output without cleaning its dependencies, unless it is already cleaned.
cleanTotal(GoalKey...) - Method in class org.metagene.genestrip.make.Maker
Cleans the given goals and all their dependencies, enforcing transitive cleaning.
cleanUpThreads() - Method in class org.metagene.genestrip.goals.refseq.FastaReaderGoal
Aborts the pass that is reading, if one is: signals its consumer threads to stop and interrupts any that are blocked.
clear() - Method in class org.metagene.genestrip.finertree.probfilter.DistinctPairSketch
Releases the sketches.
clear() - Method in class org.metagene.genestrip.probfilter.BlockedBloomFilter
 
clear() - Method in class org.metagene.genestrip.probfilter.BloomFilter
 
clear() - Method in interface org.metagene.genestrip.probfilter.ProbFilter
Removes all entries, keeping the current capacity.
clear() - Method in class org.metagene.genestrip.probfilter.SingleWordBloomFilter
 
clear() - Method in class org.metagene.genestrip.util.LargeBitVector
Sets all bits to zero.
clear() - Method in class org.metagene.genestrip.util.LargeShortVector
Sets all shorts to zero.
clear() - Method in class org.metagene.genestrip.util.SimpleBlockingQueue
 
clear(long) - Method in class org.metagene.genestrip.util.LargeBitVector
Clears (sets to 0) the bit at the given index and reports whether this call was the one that cleared it, i.e.
CLEAR - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Clears a project's csv, log and krakenout folders, deleting all their files.
clearThrowableList() - Method in class org.metagene.genestrip.DefaultExecutionContext
 
clearThrowableList() - Method in interface org.metagene.genestrip.ExecutionContext
Clears the list of collected throwables.
clearVisitedMarks() - Method in class org.metagene.genestrip.store.KMerSortedArray
 
clearVisitedMarks() - Method in interface org.metagene.genestrip.store.KMerStore
Clears the visited mark of every k-mer, so a following run counts only its own matches.
clearVisitedMarks() - Method in class org.metagene.genestrip.store.RadixKMerStore
 
close() - Method in class org.metagene.genestrip.io.BufferedLineReader
 
close() - Method in class org.metagene.genestrip.io.ByteCountingInputStream
 
close() - Method in interface org.metagene.genestrip.io.StreamingResource.StreamAccess
 
closeFTPClient(FTPClient) - Method in class org.metagene.genestrip.make.FileDownloadGoal
Disconnects the given FTP client if it is still connected.
cluster(Similarity) - Method in class org.metagene.genestrip.finertree.cluster.SimpleAggloClustering
Clusters all items described by the given similarity matrix and returns the root of the resulting dendrogram.
CLUSTER_METHOD - Enum constant in enum class org.metagene.genestrip.finertree.FTConfigKey
The cluster distance method used when performing agglomerative clustering.
collect(Collection<V>) - Method in class org.metagene.genestrip.util.DigitTrie
Adds all values stored in this trie (including descendants) to the given collection.
combine(long, int) - Static method in class org.metagene.genestrip.finertree.probfilter.KMerIndexFilterHelper
Folds a child index into a k-mer so that the resulting pair can be stored in and queried from a filter over long keys.
COMMON_SETUP - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Creates the data folders under <base dir>/common, including common itself.
compareBytes(byte[], int, int, byte[], int, int) - Static method in class org.metagene.genestrip.refseq.AccessionMapImpl
Deprecated.
Lexicographically compares two byte ranges, ordering the shorter of the two before the longer.
compareKey(byte[], int, byte[], int, int) - Method in class org.metagene.genestrip.refseq.AccessionMapImpl
Deprecated.
Lexicographically compares the key in the given slot against array[start, start + len), ordering the shorter of the two before the longer.
compareKeys(byte[], int, byte[], int) - Method in class org.metagene.genestrip.refseq.AccessionMapImpl
Deprecated.
Lexicographically compares the keys in the two given slots, ordering shorter keys before longer ones.
compareTo(CountsPerTaxid) - Method in class org.metagene.genestrip.match.CountsPerTaxid
Orders entries by their sort position within the taxonomy tree.
compareTo(TaxIdInfo) - Method in class org.metagene.genestrip.tax.TaxIdInfo
Orders nodes by their position within the taxonomy tree.
compareTo(StringLongDigitTrie.StringLong) - Method in class org.metagene.genestrip.util.StringLongDigitTrie.StringLong
 
COMPLETE - Enum constant in enum class org.metagene.genestrip.genbank.AssemblySummaryReader.AssemblyQuality
Complete genome that is not the latest version.
COMPLETE - Enum constant in enum class org.metagene.genestrip.GSConfigKey.GenomesOnly
Complete assemblies only.
COMPLETE - Enum constant in enum class org.metagene.genestrip.refseq.RefSeqCategory
The whole release in one directory: every other category's sequences, not complete genomes.
COMPLETE_LATEST - Enum constant in enum class org.metagene.genestrip.genbank.AssemblySummaryReader.AssemblyQuality
Complete genome that is the latest version.
COMPLETE_LINKAGE - Enum constant in enum class org.metagene.genestrip.finertree.cluster.SimpleAggloClustering.Method
Farthest-neighbour linkage: the similarity of the least similar pair of members.
COMPLETE_ONLY - Static variable in class org.metagene.genestrip.refseq.AssemblySizeIndex
Complete assemblies only, which are gapless by definition.
COMPLETE_OR_CHROMOSOME - Static variable in class org.metagene.genestrip.refseq.AssemblySizeIndex
The levels indexed unless a caller says otherwise, and the same ones the Genbank path admits by default through genbank.fastaQualities.
completeLinkage(double[][], int, int, int, int[]) - Method in class org.metagene.genestrip.finertree.cluster.SimpleAggloClustering
Computes the complete-linkage (farthest-neighbour) similarity between the merged cluster and cluster h as the minimum of the two constituent clusters' similarities to h.
completeResults(Database) - Method in class org.metagene.genestrip.match.MatchingResult
Finalizes the result against the given database: adds any missing parent nodes, sorts the entries into taxonomy-tree order and computes each entry's position, db-normalized and accumulated (subtree) values.
computeDistances(Database) - Method in class org.metagene.genestrip.match.EvoDistanceEstimator
Computes EvoDistanceEstimator.DistanceInfo for every node of the database's taxonomy tree.
computeMD5CheckSum(File) - Method in class org.metagene.genestrip.make.FileDownloadGoal
Computes and returns the hex-encoded MD5 check sum of the given file.
computeUniqueKmerCounts() - Method in class org.metagene.genestrip.match.FastqKMerMatcher
Fills each tax id's uniqueKmers from the store's visited marks: the number of distinct matched k-mers per store value index (which FastqKMerMatcher.statsIndex is indexed by too).
computeUniqueKmerCounts() - Method in class org.metagene.genestrip.match.HitCountingFastqKMerMatcher
 
CONFIG_INFO_FILE - Static variable in class org.metagene.genestrip.store.Database
ZIP entry name of the config-info properties.
CONFIG_PROPERTIES - Static variable in class org.metagene.genestrip.GSProject
Name of the configuration properties file loaded from the project, projects and base directories.
ConfigKey - Interface in org.metagene.genestrip.make
Identifies a configuration parameter of a Project.
configKeyFromName(String) - Method in class org.metagene.genestrip.make.Project
Returns the supported config key with the given name, or null if there is none.
ConfigParamInfo<V> - Class in org.metagene.genestrip.make
Describes a configuration parameter's value type: its default value, how to parse a value from a string and how to check that a value is within the allowed range.
ConfigParamInfo(V) - Constructor for class org.metagene.genestrip.make.ConfigParamInfo
Creates a descriptor with the given default value.
ConfigParamInfo.BooleanConfigParamInfo - Class in org.metagene.genestrip.make
A ConfigParamInfo for boolean parameters, accepting only "true" and "false" (case-insensitive).
ConfigParamInfo.DoubleConfigParamInfo - Class in org.metagene.genestrip.make
A ConfigParamInfo for double parameters bounded by the closed interval [min, max], or the open interval (min, max) when created as exclusive.
ConfigParamInfo.IntConfigParamInfo - Class in org.metagene.genestrip.make
A ConfigParamInfo for int parameters bounded by an inclusive [min, max] range.
ConfigParamInfo.ListConfigParamInfo<E> - Class in org.metagene.genestrip.make
A ConfigParamInfo for list-valued parameters whose elements are of type E; the Markdown default value is rendered as the comma-separated elements.
ConfigParamInfo.LongConfigParamInfo - Class in org.metagene.genestrip.make
A ConfigParamInfo for long parameters bounded by an inclusive [min, max] range.
ConfigParamInfo.StringConfigParamInfo - Class in org.metagene.genestrip.make
A ConfigParamInfo for String parameters; values are trimmed when parsed.
configureLogger() - Method in class org.metagene.genestrip.GSProject
Configures the logger's log level from the LOG_LEVEL configuration value.
configValue(ConfigKey) - Method in class org.metagene.genestrip.make.Goal
Returns the configuration value for the given key from this goal's project.
configValue(ConfigKey) - Method in class org.metagene.genestrip.make.Project
Returns the configured value for the given key, or the key's default value if it is unset.
connectLoginAndConfigure(FTPClient) - Method in class org.metagene.genestrip.make.FileDownloadGoal
Connects the given FTP client to the FTP base URL, logs in and switches to binary transfer mode.
conservativeEstimate() - Method in class org.metagene.genestrip.finertree.goals.KMerIndexBloomGoal
Returns the conservative bound on the number of (k-mer, child index) pairs: the number reached if every k-mer stored on a node occurred in the genome of every one of its direct subnodes, plus one for the OTHER slot.
considerKMer(long) - Method in class org.metagene.genestrip.finertree.goals.AbstractKMerIndexGoal
Decides whether a k-mer read from a reference sequence takes part in this pass at all.
considerKMer(long) - Method in class org.metagene.genestrip.finertree.goals.KMerIndexSizeGoal
 
ConsumerRunnable(AbstractFastqReader, int) - Constructor for class org.metagene.genestrip.fastq.AbstractFastqReader.ConsumerRunnable
Creates the consumer for the given reader and index.
consumers - Variable in class org.metagene.genestrip.match.FastqKMerMatcher
Number of parallel consumer threads processing reads.
contains(Object) - Method in class org.metagene.genestrip.util.SimpleBlockingQueue
 
containsAll(Collection<?>) - Method in class org.metagene.genestrip.util.SimpleBlockingQueue
 
containsCategory(byte[], int, int, RefSeqCategory[]) - Method in class org.metagene.genestrip.refseq.AccessionFileProcessor
Returns whether the given byte range contains the directory name of any of the given categories.
containsLong(long) - Method in class org.metagene.genestrip.probfilter.BlockedBloomFilter
 
containsLong(long) - Method in class org.metagene.genestrip.probfilter.BloomFilter
 
containsLong(long) - Method in interface org.metagene.genestrip.probfilter.ProbFilter
Tests whether the given k-mer is (probably) contained in the filter.
containsLong(long) - Method in class org.metagene.genestrip.probfilter.SingleWordBloomFilter
 
containsStatus(byte[], int, int, GSConfigKey.RefSeqStatus[]) - Method in class org.metagene.genestrip.refseq.AccessionFileProcessor
Returns whether the given byte range contains the name of any of the given release statuses.
CONTIG - Enum constant in enum class org.metagene.genestrip.genbank.AssemblySummaryReader.AssemblyQuality
Contig-level assembly that is not the latest version.
CONTIG_LATEST - Enum constant in enum class org.metagene.genestrip.genbank.AssemblySummaryReader.AssemblyQuality
Contig-level assembly that is the latest version.
contigLenSquaredSum - Variable in class org.metagene.genestrip.match.CountsPerTaxid
The sum of squared contig lengths, used for the contig-length standard deviation.
contigs - Variable in class org.metagene.genestrip.match.CountsPerTaxid
The number of contiguous k-mer sequences specific to the tax id's genome.
contigsPerTaxid - Variable in class org.metagene.genestrip.refseq.AbstractRefSeqFastaReader
Per-tax-id trie counting how many contigs have already been included.
convertKMerStore() - Method in class org.metagene.genestrip.store.Database
Returns a copy of the k-mer store whose taxid values are replaced by the corresponding SmallTaxTree.SmallTaxIdNodes of this database's tax tree.
convertValue(V) - Method in interface org.metagene.genestrip.store.KMerStore.ValueConverter
Converts the given source value to a target value.
convertValues(KMerStore.ValueConverter<V, W>) - Method in class org.metagene.genestrip.store.KMerSortedArray
 
convertValues(KMerStore.ValueConverter<V, W>) - Method in interface org.metagene.genestrip.store.KMerStore
Produces a new store of the same kind whose values are derived from this store's values via the given converter.
convertValues(KMerStore.ValueConverter<V, W>) - Method in class org.metagene.genestrip.store.RadixKMerStore
 
copyOf(KMerStore<V>, double) - Static method in class org.metagene.genestrip.store.KMerSortedArray
Copies every entry of the given store into a new store of this class, i.e.
count(long, int, SmallTaxTree.SmallTaxIdNode) - Method in class org.metagene.genestrip.finertree.goals.AbstractDBQualityGoal.MyFastaReader
Takes one (k-mer, leaf) pair, the k-mer being one the database holds.
count(long, int, SmallTaxTree.SmallTaxIdNode) - Method in class org.metagene.genestrip.finertree.goals.DBQualityCountsGoal.CountingReader
Counts one (k-mer, leaf) pair unless it was seen before.
countHitsPerValueIndex(long[], long[], long[]) - Method in class org.metagene.genestrip.store.KMerSortedArray
 
countHitsPerValueIndex(long[], long[], long[]) - Method in interface org.metagene.genestrip.store.KMerStore
Adds up, per value index, how many of that value's k-mers were hit at least once, exactly once and exactly twice while counting was on (see KMerStore.setCountHits(boolean)).
countHitsPerValueIndex(long[], long[], long[]) - Method in class org.metagene.genestrip.store.RadixKMerStore
Adds up, per value index, how many of its entries were hit at least once, exactly once and exactly twice while counting was on.
counts - Variable in class org.metagene.genestrip.match.FastqKMerMatcher.MatcherReadEntry
Vote counts associated with the candidate paths.
Counts(boolean, long) - Constructor for class org.metagene.genestrip.finertree.goals.DBQualityCountsGoal.Counts
Creates an empty tally with all counts set to zero.
CountsPerTaxid - Class in org.metagene.genestrip.match
Holds all match statistics accumulated for a single tax id during read matching, such as the number of classified reads and base pairs, matched and unique k-mer counts, contig statistics and error measures.
CountsPerTaxid(int, String, int) - Constructor for class org.metagene.genestrip.match.CountsPerTaxid
Creates an empty entry for the given tax id.
CountsPerTaxid(int, String, long, long, long) - Constructor for class org.metagene.genestrip.match.CountsPerTaxid
Creates an entry pre-populated with total counts.
CountsPerTaxid.AccValues - Class in org.metagene.genestrip.match
A raw value together with its version normalized by the number of database k-mers, accumulated over a subtree of the taxonomy.
CountsPerTaxid.ValueType - Enum Class in org.metagene.genestrip.match
The kinds of countable values that are tracked and can be normalized and accumulated.
countVisitedPerValueIndex(long[]) - Method in class org.metagene.genestrip.store.KMerSortedArray
 
countVisitedPerValueIndex(long[]) - Method in interface org.metagene.genestrip.store.KMerStore
Adds up, per value index, how many of that value's k-mers are marked as visited.
countVisitedPerValueIndex(long[]) - Method in class org.metagene.genestrip.store.RadixKMerStore
Adds up, per value index, how many of its entries are marked as visited, i.e.
createBlockingQueue(int) - Method in class org.metagene.genestrip.fastq.AbstractFastqReader
Creates the blocking queue used to hand read entries to the consumer threads.
createBlockingQueue(int) - Method in class org.metagene.genestrip.goals.refseq.FastaReaderGoal
Creates the bounded queue that feeds FASTA files to the consumer threads.
createByteCountingInputStream(InputStream) - Method in class org.metagene.genestrip.io.StreamingURLResource
Wraps the given stream in a ByteCountingInputStream; may be overridden to customize the byte-counting stream.
createExecutionContext(Thread, P) - Method in class org.metagene.genestrip.GSMaker
Creates the execution context, sizing its thread pool from the project's threads configuration.
createFastaReader(AbstractRefSeqFastaReader.StringLong2DigitTrie) - Method in class org.metagene.genestrip.finertree.goals.AbstractDBQualityGoal
Creates the fasta reader that compares genome *k*-mers against the database and registers it, so that its last, partial batch can be flushed once the pass is done.
createFastaReader(AbstractRefSeqFastaReader.StringLong2DigitTrie) - Method in class org.metagene.genestrip.finertree.goals.AbstractKMerIndexGoal
Creates the AbstractKMerIndexGoal<T,P extends FTProject>.MyFastaReader used to scan the reference fastas and record leaf-node indices, configured from the current project's k-mer and genome-selection settings.
createFastaReader(AbstractRefSeqFastaReader.StringLong2DigitTrie) - Method in class org.metagene.genestrip.goals.refseq.DBGoal
 
createFastaReader(AbstractRefSeqFastaReader.StringLong2DigitTrie) - Method in class org.metagene.genestrip.goals.refseq.ExtractRefSeqFastasGoal
 
createFastaReader(AbstractRefSeqFastaReader.StringLong2DigitTrie) - Method in class org.metagene.genestrip.goals.refseq.FastaReaderGoal
Creates the FASTA reader that processes each contig; called once per reader thread.
createFastaReader(AbstractRefSeqFastaReader.StringLong2DigitTrie) - Method in class org.metagene.genestrip.goals.refseq.FillBloomFilterGoal
 
createFastaReader(AbstractRefSeqFastaReader.StringLong2DigitTrie) - Method in class org.metagene.genestrip.goals.refseq.FillDBGoal
 
createFastaReader(AbstractRefSeqFastaReader.StringLong2DigitTrie) - Method in class org.metagene.genestrip.goals.refseq.FillSizeGoal
 
createFastaReader(AbstractRefSeqFastaReader.StringLong2DigitTrie) - Method in class org.metagene.genestrip.goals.refseq.KMerRankStatsGoal
 
createFastaReaderRunnable(int, BlockingQueue<FastaReaderGoal.FileAndNode>, AbstractRefSeqFastaReader.StringLong2DigitTrie) - Method in class org.metagene.genestrip.goals.refseq.FastaReaderGoal
Creates a consumer Runnable that takes files from the queue and reads them with its own FASTA reader.
createFastqMap(String, String[], String, StreamingResourceStream, String) - Method in class org.metagene.genestrip.goals.FastqMapGoal
Assembles the key-to-resources map from the given input paths/URLs, the optional map CSV file and the extra resources, preserving insertion order of keys.
createFilter(long) - Method in class org.metagene.genestrip.finertree.goals.KMerIndexBloomGoal
Allocates the filter for FTConfigKey.FT_INDEX_BLOOM_FILTER_FPP and sets KMerIndexBloomGoal.fppAt to answer for it, choosing the kind the way BloomIndexGoal and AbstractKMerStore.createOptimizedFilter choose theirs: the blocked filter at the default rate, a plain one below it.
createFTPClient() - Method in class org.metagene.genestrip.make.FileDownloadGoal
Creates the FTP client used for downloads; may be overridden.
createGlyphVector(Graphics2D, EvoDistanceEstimator.DistanceInfo, Object2LongMap<String>) - Method in class org.metagene.genestrip.match.TaxTreePainter
Builds the glyph vector for a node's label text in the appropriate font.
createGoalChainForFilter(String, String...) - Method in class org.metagene.genestrip.GSMaker
Builds the chain of goals (fastq map, transform, download and load-index) that produces the filtered fastq output for the given inputs.
createGoalChainForMatchResult(boolean, String, String...) - Method in class org.metagene.genestrip.GSMaker
Builds the chain of goals (fastq map, transform, download and load-db) that produces the match result for the given inputs.
createGoalDependingOnLoadDB() - Method in class org.metagene.genestrip.GSMaker
Hook for subclasses to register additional goals that depend on the loaded database; does nothing by default.
createGoals() - Method in class org.metagene.genestrip.finertree.FinerTreeMaker
Registers the standard Genestrip goals and additionally the FT setup goal and the database-quality counting and CSV goals.
createGoals() - Method in class org.metagene.genestrip.GSMaker
Creates and registers all goals of the Genestrip pipeline (taxonomy download, RefSeq/Genbank data acquisition, database and bloom filter construction, matching, filtering and reporting) and their dependencies.
createGoals() - Method in class org.metagene.genestrip.make.Maker
Creates and registers all goals of this maker; called from the constructor.
createInGet(byte[], int, int, Object) - Method in class org.metagene.genestrip.refseq.AbstractRefSeqFastaReader.StringLong2DigitTrie
Creates a new trie entry for the key given as a byte range.
createInGet(byte[], int, int, Object) - Method in class org.metagene.genestrip.refseq.GenomeKeyTrie
Marks the genome as admitted - the entry's presence is the whole of it, so the value is the cached TRUE and nothing is allocated for it.
createInGet(byte[], int, int, Object) - Method in class org.metagene.genestrip.tax.TaxTree.TaxIdNodeTrie
 
createInGet(byte[], int, int, Object) - Method in class org.metagene.genestrip.util.DigitTrie
Hook that creates the value to store when DigitTrie.get(byte[], int, int, Object) is called with a non-null create context and no value exists yet; returns null by default.
createInGet(byte[], int, int, Object) - Method in class org.metagene.genestrip.util.StringLongDigitTrie
 
createInGet(String, Object) - Method in class org.metagene.genestrip.refseq.AbstractRefSeqFastaReader.StringLong2DigitTrie
Creates a new trie entry for the given digit-string key.
createInGet(String, Object) - Method in class org.metagene.genestrip.tax.TaxTree.TaxIdNodeTrie
 
createInGet(String, Object) - Method in class org.metagene.genestrip.util.DigitTrie
Hook that creates the value to store when DigitTrie.get(String, Object) is called with a non-null create context and no value exists yet; returns null by default.
createInGet(String, Object) - Method in class org.metagene.genestrip.util.StringLongDigitTrie
 
createInternalGoal(GoalKey...) - Method in class org.metagene.genestrip.make.Maker
Creates a transient internal goal that aggregates the goals for the given keys as its dependencies.
createMaker(P) - Method in class org.metagene.genestrip.finertree.FinerTreeMain
Creates the FinerTreeMaker that provides the FT-specific goals for the given project.
createMaker(P) - Method in class org.metagene.genestrip.Main
Creates the maker used to build and run the goal graph; may be overridden to use a subclass.
createMatcher(KMerStore<SmallTaxTree.SmallTaxIdNode>, SmallTaxTree, ExecutionContext, boolean, String) - Method in class org.metagene.genestrip.goals.MatchResultGoal
Creates the FastqKMerMatcher for the given store and tax tree, configured from the goal's config values.
createOptimizedFilter() - Method in class org.metagene.genestrip.store.AbstractKMerStore
Builds the post-optimize() pre-filter sized for AbstractKMerStore.entries, choosing the same kind (blocked / XOR / Murmur) as the current fill-time filter.
createOptions() - Method in class org.metagene.genestrip.Main
Builds the Apache Commons CLI option set understood by Genestrip.
createProgressBar(int) - Method in class org.metagene.genestrip.goals.GSFileDownloadGoal
 
createProgressBar(int) - Method in class org.metagene.genestrip.goals.refseq.FastaReaderGoal
Creates the progress bar spanning the given number of files, or null if progress bars are disabled.
createProgressBar(int) - Method in class org.metagene.genestrip.make.FileGoal
Creates a progress bar for making the output files, or null for none (the default).
createProgressBar(GSProgressUpdate) - Method in class org.metagene.genestrip.finertree.goals.KMerStoreWorkGoal
Creates a progress bar tracking the *k*-mer store traversal, or null when progress-bar output is disabled in the configuration.
createProject(GSCommon, String, String, String[], String, File, File, String, Properties, GSGoalKey, String, boolean) - Method in class org.metagene.genestrip.Main
Creates the concrete project instance; implemented by subclasses to supply their project type.
createReadEntry(int, boolean, Object...) - Method in class org.metagene.genestrip.fastq.AbstractFastqReader
Creates a pooled read-entry buffer; subclasses may override to use a specialized entry.
createReadEntry(int, boolean, Object...) - Method in class org.metagene.genestrip.match.FastqFilter
 
createReadEntry(int, boolean, Object...) - Method in class org.metagene.genestrip.match.FastqKMerMatcher
 
createRunnable(int, Object...) - Method in class org.metagene.genestrip.fastq.AbstractFastqReader
Creates the consumer for the given index, which takes read entries from the queue, processes them via AbstractFastqReader.nextEntry(ReadEntry, ConsumerRunnable) and returns them to the pool.
createRunnable(int, Object...) - Method in class org.metagene.genestrip.match.FastqKMerMatcher
 
createThreadFactory() - Method in class org.metagene.genestrip.DefaultExecutionContext
Creates the thread factory used for the pool.
CSV - Enum constant in enum class org.metagene.genestrip.GSProject.GSFileType
A CSV result file.
current() - Method in interface org.metagene.genestrip.io.StreamingResource.StreamAccess
 
current() - Method in interface org.metagene.genestrip.util.progressbar.GSProgressUpdate
Returns the current progress value.
CURRENT - Enum constant in enum class org.metagene.genestrip.goals.refseq.CheckRefSeqRNumGoal.Result
The local RefSeq release is current.

D

DATA - Enum constant in enum class org.metagene.genestrip.tax.Rank
Artificial rank marking a data source of k-mer origin, near the bottom of the taxonomy.
DATA_NODES - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether to add artificial DATA-rank nodes as intermediate children of tax ids.
database - Variable in class org.metagene.genestrip.finertree.goals.KMerStoreWorkGoal
The loaded database, available from KMerStoreWorkGoal.beforeKMerStoreWork() on.
Database - Class in org.metagene.genestrip.store
A Genestrip database: a k-mer KMerStore keyed by taxonomic id, the SmallTaxTree it was built against, and the configuration properties describing how it was created.
Database(KMerStore<String>, SmallTaxTree, Properties) - Constructor for class org.metagene.genestrip.store.Database
Creates a database from the given k-mer store, taxonomy tree and config-info properties.
dataLine() - Method in class org.metagene.genestrip.fasta.AbstractFastaReader
Handles a data (sequence) line, whose bytes are held in target[0, size).
dataLine() - Method in class org.metagene.genestrip.goals.Fasta2FastqGoal.FastqWriter
 
dataLine() - Method in class org.metagene.genestrip.goals.refseq.ExtractRefSeqFastasGoal.MyFastaReader
 
dataLine() - Method in class org.metagene.genestrip.refseq.AbstractStoreFastaReader
Feeds a data line's bases through the k-mer ring buffer and hands every filled, non-low-complexity k-mer that belongs to the sample to AbstractStoreFastaReader.handleStore(long).
dataLines - Variable in class org.metagene.genestrip.fasta.AbstractFastaReader
Number of data (sequence) lines read so far from the current input.
dataNode(TaxTree.TaxIdNode, TaxTree.IDStringGenerator) - Method in class org.metagene.genestrip.tax.TaxTree
 
DB - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Generates the k-mer matching database for the given project.
DB - Enum constant in enum class org.metagene.genestrip.GSProject.GSFileType
A database archive file.
DB_CREATION_DATE - Static variable in class org.metagene.genestrip.GSProject
Database property key for the database creation date.
DB_DOWNLOAD - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Downloads and installs a project's database from a given URL.
DB_FILE - Static variable in class org.metagene.genestrip.store.Database
ZIP entry name of the serialized database.
DB_INFO_WITH_DISTANCE - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether the DB info CSV carries the evolutionary distance columns.
DB_MD5 - Static variable in class org.metagene.genestrip.GSProject
Database property key for the MD5 checksum of the database.
DB_QUALITY - Enum constant in enum class org.metagene.genestrip.finertree.FTGoalKey
Writes the per-tax-id quality metrics of FTGoalKey.DB_QUALITY_COUNTS to a CSV file.
DB_QUALITY_COUNTS - Enum constant in enum class org.metagene.genestrip.finertree.FTGoalKey
Counts, per tax id, the genomic k-mers that are also in the ordinary database.
DB_QUALITY_FILTER_SIZING - Enum constant in enum class org.metagene.genestrip.finertree.FTConfigKey
How the deduplication filter of dbqualcounts is sized.
DB_QUALITY_SIZE - Enum constant in enum class org.metagene.genestrip.finertree.FTGoalKey
Estimates how many distinct (k-mer, leaf) pairs FTGoalKey.DB_QUALITY_COUNTS will have to hold.
DB_RESIZING_FACTOR - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Scaling factor applied to the estimated k-mer count when sizing the store.
DB2FASTQ - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Generates fastq files from the database, one per tax id, with each k-mer represented by a read.
DB2FASTQ_TAXIDS - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Determines the tax ids for the db2fastq goal from the command line argument.
DB2FastqGoal<P extends GSProject> - Class in org.metagene.genestrip.goals
Generates FASTQ files from the k-mers stored in the database, writing one output file per configured tax id (or a single total file when none are given).
DB2FastqGoal(P, GoalKey, ObjectGoal<Set<SmallTaxTree.SmallTaxIdNode>, P>, ObjectGoal<Database, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.DB2FastqGoal
Creates the goal for generating FASTQ files from the database's stored k-mers.
DB2FastqTaxNodesGoal<P extends GSProject> - Class in org.metagene.genestrip.goals
Produces the set of database tax id nodes to generate FASTQ files for: all nodes that actually occur in the store, optionally intersected with the configured tax ids (a trailing + also selects descendants).
DB2FastqTaxNodesGoal(P, ObjectGoal<Database, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.DB2FastqTaxNodesGoal
Creates the goal for the given project and store goal.
DBCONF - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Loads config information for a database without necessarily loading the database itself.
DBConfigInfoGoal<P extends GSProject> - Class in org.metagene.genestrip.goals
Produces the configuration-info Properties of the database, taken from the in-memory database when available or otherwise loaded directly from the stored database file.
DBConfigInfoGoal(P, GoalKey, ObjectGoal<Database, P>, FileGoal<P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.DBConfigInfoGoal
Creates the goal for the given project and goal key.
DBDownloadGoal<P extends GSProject> - Class in org.metagene.genestrip.goals
Download goal that fetches the genestrip database file from a StreamingResource or URL into the project's DB file, optionally verifying an MD5 checksum.
DBDownloadGoal(P, URL, String, long, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.DBDownloadGoal
Creates a download goal that fetches the database from the given URL, logging progress every logCycle bytes.
DBDownloadGoal(P, StreamingResource, String, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.DBDownloadGoal
Creates a download goal that fetches the database from the given streaming resource.
DBDownloadGoal.DBDownloadInterruptedException - Exception in org.metagene.genestrip.goals
Thrown to abort an in-progress database download once the goal has been dumped/interrupted.
DBDownloadInterruptedException() - Constructor for exception org.metagene.genestrip.goals.DBDownloadGoal.DBDownloadInterruptedException
Creates a new interruption exception.
DBGoal<P extends GSProject> - Class in org.metagene.genestrip.goals.refseq
Goal (UPDATE_DB) that updates an already-filled database by re-reading the RefSeq (and additional) FASTA files and merging each k-mer's stored taxid with the k-mer's new node via their lowest common ancestor, then stamps Genestrip version, title and creation-date properties.
DBGoal(P, ExecutionContext, ObjectGoal<Set<RefSeqCategory>, P>, ObjectGoal<TaxNodeSelection, P>, ObjectGoal<TaxTree, P>, RefSeqFnaFilesDownloadGoal<P>, ObjectGoal<Map<File, TaxTree.TaxIdNode>, P>, ObjectGoal<AccessionMap, P>, ObjectGoal<Database, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.refseq.DBGoal
Creates the goal, wiring the tax tree, accession map and filled-store goals it updates in place.
DBGoal.MyFastaReader - Class in org.metagene.genestrip.goals.refseq
FASTA reader that updates each existing k-mer's taxid to the lowest common ancestor of its current node and the k-mer's new node.
DBINFO - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Writes information on a project's database content to a CSV file.
DBInfoGoal<P extends GSProject> - Class in org.metagene.genestrip.goals
Writes a human-readable report about the database (via ResultReporter) to the project's DB-info file.
DBInfoGoal(boolean, P, ObjectGoal<Database, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.DBInfoGoal
Creates the goal writing the database report.
DBInfoGoal(P, ObjectGoal<Database, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.DBInfoGoal
Creates the goal writing to the final DB-info file.
dbMD5 - Variable in class org.metagene.genestrip.match.FastqKMerMatcher
MD5 checksum identifying the database used for matching.
DBQualityCountsGoal<P extends FTProject> - Class in org.metagene.genestrip.finertree.goals
Computes intrinsic database-quality counts per tax id by re-reading the underlying genomic fasta files and comparing the *k*-mers they contain against those stored in the database.
DBQualityCountsGoal(P, FTGoalKey, ExecutionContext, ObjectGoal<Set<RefSeqCategory>, P>, ObjectGoal<TaxNodeSelection, P>, RefSeqFnaFilesDownloadGoal, ObjectGoal<Map<File, TaxTree.TaxIdNode>, P>, ObjectGoal<AccessionMap, P>, ObjectGoal<Database, P>, ObjectGoal<Long, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.finertree.goals.DBQualityCountsGoal
Creates the goal, depending on the accession map, the loaded database and the sizing goal in addition to the standard fasta-reader dependencies.
DBQualityCountsGoal.CountingReader - Class in org.metagene.genestrip.finertree.goals
Reader of this pass: it deduplicates every pair against the shared filter and tallies what survives, per thread, into arrays that DBQualityCountsGoal.CountingReader.mergeInto(org.metagene.genestrip.finertree.goals.DBQualityCountsGoal.Counts[]) adds up afterwards.
DBQualityCountsGoal.Counts - Class in org.metagene.genestrip.finertree.goals
Per-tax-id tally of true positives, true-positives-plus-false-positives and true-positives-plus- false-negatives, plus aggregated precision/recall sums used to compute weighted and unweighted averages.
DBQualityCSVGoal<P extends FTProject> - Class in org.metagene.genestrip.finertree.goals
Writes a CSV file with the per-tax-id database-quality metrics (tp, tp+fp, tp+fn, precision, recall and their weighted averages) computed by DBQualityCountsGoal, ordered by the taxonomy tree.
DBQualityCSVGoal(P, FTGoalKey, ObjectGoal<Database, P>, ObjectGoal<Map<String, DBQualityCountsGoal.Counts>, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.finertree.goals.DBQualityCSVGoal
Creates the goal writing the per-tax-id database-quality CSV file.
DBQualitySizeGoal<P extends FTProject> - Class in org.metagene.genestrip.finertree.goals
Estimates how many distinct (*k*-mer, leaf) pairs DBQualityCountsGoal will produce, by reading the sequences once and sketching the pairs with HyperLogLog.
DBQualitySizeGoal(P, FTGoalKey, ExecutionContext, ObjectGoal<Set<RefSeqCategory>, P>, ObjectGoal<TaxNodeSelection, P>, RefSeqFnaFilesDownloadGoal, ObjectGoal<Map<File, TaxTree.TaxIdNode>, P>, ObjectGoal<AccessionMap, P>, ObjectGoal<Database, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.finertree.goals.DBQualitySizeGoal
Creates the goal.
DBSize(int[], Set<String>) - Constructor for class org.metagene.genestrip.goals.refseq.FillBloomFilterGoal.DBSize
Creates a DB size holder.
decN() - Static method in class org.metagene.genestrip.util.GSLogFactory
Decreases the make-nesting indentation level of the shared factory by one.
decNesting() - Method in class org.metagene.genestrip.util.GSLogFactory
Decreases the nesting indentation level (the '>' prefix depth on log lines) by one.
DEFAULT_BITS_PER_KEY - Static variable in class org.metagene.genestrip.probfilter.BlockedBloomFilter
Default number of bits allocated per key.
DEFAULT_BITS_PER_KEY - Static variable in class org.metagene.genestrip.probfilter.SingleWordBloomFilter
Default number of bits allocated per key.
DEFAULT_BUFFER_SIZE - Static variable in class org.metagene.genestrip.io.BufferedLineReader
Default internal buffer size (in bytes) used when no explicit size is given.
DEFAULT_BUFFER_SIZE - Static variable in class org.metagene.genestrip.io.StreamProvider
The default buffer size used for the created streams.
DEFAULT_FPP - Static variable in class org.metagene.genestrip.probfilter.BlockedBloomFilter
Default false-positive probability.
DEFAULT_MIN_BUCKET_BITS - Static variable in class org.metagene.genestrip.util.LargeBitVector
Default buckets: 9, i.e.
DEFAULT_RADIX_BITS - Static variable in class org.metagene.genestrip.store.RadixKMerStore
Default number of (low) k-mer bits used as the radix index.
DefaultExecutionContext - Class in org.metagene.genestrip
Default ExecutionContext that runs tasks on a fixed-size thread pool and collects uncaught exceptions thrown in the worker threads.
DefaultExecutionContext(Thread, int, long) - Constructor for class org.metagene.genestrip.DefaultExecutionContext
Creates an execution context with the default thread name prefix.
DefaultExecutionContext(Thread, int, long, String) - Constructor for class org.metagene.genestrip.DefaultExecutionContext
Creates an execution context.
DefaultGoalKey(String) - Constructor for class org.metagene.genestrip.make.GoalKey.DefaultGoalKey
Creates a key identified by the given name.
defaultValue() - Method in class org.metagene.genestrip.make.ConfigParamInfo
Returns the default value of this parameter.
deleteFile(File) - Method in class org.metagene.genestrip.make.FileDownloadGoal
Deletes the given file together with its check-sum marker file.
deleteFile(File) - Method in class org.metagene.genestrip.make.FileGoal
Deletes the given file.
DENDRO_LATEX - Enum constant in enum class org.metagene.genestrip.finertree.FTGoalKey
Generates the LaTeX extracts depicting the dendrograms of FTGoalKey.DENDROGRAM.
DENDROGRAM - Enum constant in enum class org.metagene.genestrip.finertree.FTGoalKey
Generates the dendrograms from the k-mer intersection counts by agglomerative clustering.
DendrogramGoal<P extends FTProject> - Class in org.metagene.genestrip.finertree.goals
Builds, for every refinement parent node, a DendrogramNode tree obtained by agglomerative clustering of the parent's child taxa (plus the optional OTHER pseudo-item) according to their pairwise k-mer Jaccard similarities.
DendrogramGoal(P, ObjectGoal<KMerIntersectCountGoal.IntersectionsPerNode, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.finertree.goals.DendrogramGoal
Creates the dendrogram goal.
DendrogramNode - Class in org.metagene.genestrip.finertree.cluster
A node of a binary dendrogram produced by hierarchical agglomerative clustering.
DendrogramNode(int, double) - Constructor for class org.metagene.genestrip.finertree.cluster.DendrogramNode
Creates a leaf node for a single clustered item identified by its index.
DendrogramNode(DendrogramNode, DendrogramNode, double) - Constructor for class org.metagene.genestrip.finertree.cluster.DendrogramNode
Creates an internal node joining two child nodes at the given merge similarity.
DendrogramNode.Visitor - Interface in org.metagene.genestrip.finertree.cluster
Callback interface for a depth-first, pre-/post-order traversal of a dendrogram driven by DendrogramNode.visit(Visitor).
DengrogramLaTeXGoal<P extends FTProject> - Class in org.metagene.genestrip.finertree.goals
Renders each per-parent dendrogram produced by DendrogramGoal as a standalone TikZ figure and writes it to one .tex file per refinement parent.
DengrogramLaTeXGoal(P, ObjectGoal<Database, P>, ObjectGoal<Map<SmallTaxTree.SmallTaxIdNode, DendrogramNode>, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.finertree.goals.DengrogramLaTeXGoal
Creates the dendrogram LaTeX goal and reads its layout configuration (x/y scale factors, TikZ scale, turn and log-rescaling flags) from the project.
dependentMade(Goal<P>) - Method in class org.metagene.genestrip.make.Goal
Callback invoked on a dependency when one of its dependents has been made; once all potentially required dependents are made, Goal.allDependentsMade() is triggered.
desc() - Element in annotation interface org.metagene.genestrip.match.MDCDescription
The human-readable column description.
detachFromDependencies() - Method in class org.metagene.genestrip.make.Goal
Detaches this goal from its dependencies by reversing the dependent registration done in the constructor.
DigitTrie<V> - Class in org.metagene.genestrip.util
A trie keyed on sequences of digit characters (0-9 by default) that maps each key to a value.
DigitTrie() - Constructor for class org.metagene.genestrip.util.DigitTrie
Creates an empty trie with no stored values.
distance(double) - Method in class org.metagene.genestrip.match.SharedFractionEstimator
The evolutionary distance 1 - pi^(1/k): the share of positions at which two sequences differ if the missing k-mers were lost to point mutations alone.
distanceIndent - Variable in class org.metagene.genestrip.match.TaxTreePainter
Whether per-node indentation is derived from evolutionary distance rather than k-mer count.
distanceIndentBelowRank - Variable in class org.metagene.genestrip.match.TaxTreePainter
When TaxTreePainter.distanceIndent is set, the rank at or above which nodes receive only the standard indentation instead of the distance-based one; null to distance-indent all nodes.
DistanceInfo(SmallTaxTree.SmallTaxIdNode, Object2LongMap<String>, int) - Constructor for class org.metagene.genestrip.match.EvoDistanceEstimator.DistanceInfo
Computes the distance for the given node from the per-tax-id k-mer counts and the k-mer length k, and determines its strongest child branch.
DISTINCT - Enum constant in enum class org.metagene.genestrip.GSConfigKey.BloomFilterSizing
From the estimated number of distinct k-mers.
DistinctPairSketch - Class in org.metagene.genestrip.finertree.probfilter
Counts how many distinct (k-mer, node) pairs a pass over the reference sequences produces, by sketching them with HyperLogLog instead of storing them.
DistinctPairSketch(double) - Constructor for class org.metagene.genestrip.finertree.probfilter.DistinctPairSketch
Creates an empty sketch.
doCleanThis() - Method in class org.metagene.genestrip.make.FileGoal
 
doCleanThis() - Method in class org.metagene.genestrip.make.Goal
Performs the actual removal of this goal's output; empty by default and overridden by subclasses.
doCleanThis() - Method in class org.metagene.genestrip.make.ObjectGoal
 
doLoadIndex(InputStream) - Method in class org.metagene.genestrip.finertree.goals.LoadKMerIndexGoal
Sets this goal's result to the in-memory filter from the bloom goal if it was made, or else deserializes the filter from the given stream.
doLoadIndex(InputStream) - Method in class org.metagene.genestrip.goals.LoadIndexGoal
Loads the index from the given stream, or reuses the in-memory bloom index when it is already made.
DOMAIN - Enum constant in enum class org.metagene.genestrip.tax.Rank
The domain rank.
doMakeThis() - Method in class org.metagene.genestrip.finertree.goals.DBQualityCountsGoal
Re-reads the genomic fasta files, comparing their *k*-mers against the database to accumulate the per-tax-id true-positive and positive counts, aggregates the counts up the selected ranks and stores the resulting map as this goal's value.
doMakeThis() - Method in class org.metagene.genestrip.finertree.goals.DBQualitySizeGoal
Reads the sequences once and stores the number of distinct pairs the sketch counted.
doMakeThis() - Method in class org.metagene.genestrip.finertree.goals.DendrogramGoal
Computes the dendrogram for each refinement parent and stores the resulting map as this goal's value.
doMakeThis() - Method in class org.metagene.genestrip.finertree.goals.KMerIndexBloomGoal
Determines the relevant tax nodes for refinement, sizes and allocates the ProbFilter, and re-reads the fastas to populate it with per-k-mer leaf-node indices.
doMakeThis() - Method in class org.metagene.genestrip.finertree.goals.KMerIndexSizeGoal
 
doMakeThis() - Method in class org.metagene.genestrip.finertree.goals.KMerStoreWorkGoal
Loads the database, its converted *k*-mer store and the bloom filter, then visits every stored *k*-mer.
doMakeThis() - Method in class org.metagene.genestrip.finertree.goals.LoadKMerIndexGoal
Loads the k-mer index and publishes it as this goal's result.
doMakeThis() - Method in class org.metagene.genestrip.finertree.goals.UpdateStoreGoal
 
doMakeThis() - Method in class org.metagene.genestrip.goals.AdditionalFastasGoal
 
doMakeThis() - Method in class org.metagene.genestrip.goals.DB2FastqTaxNodesGoal
 
doMakeThis() - Method in class org.metagene.genestrip.goals.DBConfigInfoGoal
 
doMakeThis() - Method in class org.metagene.genestrip.goals.ExtractGoal
 
doMakeThis() - Method in class org.metagene.genestrip.goals.FastqMapGoal
 
doMakeThis() - Method in class org.metagene.genestrip.goals.FastqMapTransformGoal
 
doMakeThis() - Method in class org.metagene.genestrip.goals.FilledDBGoal
 
doMakeThis() - Method in class org.metagene.genestrip.goals.genbank.FastaFilesFromGenbankGoal
 
doMakeThis() - Method in class org.metagene.genestrip.goals.genbank.TaxNodesFromGenbankGoal
 
doMakeThis() - Method in class org.metagene.genestrip.goals.LoadDBGoal
 
doMakeThis() - Method in class org.metagene.genestrip.goals.LoadIndexGoal
 
doMakeThis() - Method in class org.metagene.genestrip.goals.MatchResultGoal
 
doMakeThis() - Method in class org.metagene.genestrip.goals.refseq.AccessionMapGoal
 
doMakeThis() - Method in class org.metagene.genestrip.goals.refseq.AssemblyMetadataGoal
 
doMakeThis() - Method in class org.metagene.genestrip.goals.refseq.BloomIndexGoal
 
doMakeThis() - Method in class org.metagene.genestrip.goals.refseq.CategoriesGoal
 
doMakeThis() - Method in class org.metagene.genestrip.goals.refseq.CheckRefSeqRNumGoal
 
doMakeThis() - Method in class org.metagene.genestrip.goals.refseq.CheckSumMapGoal
 
doMakeThis() - Method in class org.metagene.genestrip.goals.refseq.DBGoal
 
doMakeThis() - Method in class org.metagene.genestrip.goals.refseq.ExtractRefSeqFastasGoal
 
doMakeThis() - Method in class org.metagene.genestrip.goals.refseq.FillBloomFilterGoal
 
doMakeThis() - Method in class org.metagene.genestrip.goals.refseq.FillDBGoal
 
doMakeThis() - Method in class org.metagene.genestrip.goals.refseq.FillSizeGoal
 
doMakeThis() - Method in class org.metagene.genestrip.goals.refseq.KMerRankStatsGoal
 
doMakeThis() - Method in class org.metagene.genestrip.goals.TaxNodesGoal
 
doMakeThis() - Method in class org.metagene.genestrip.make.FileGoal
 
doMakeThis() - Method in class org.metagene.genestrip.make.Goal
Performs the actual work of producing this goal's output; empty by default and overridden by subclasses.
done() - Method in class org.metagene.genestrip.fasta.AbstractFastaReader
Called once after all lines of the input have been processed.
done() - Method in class org.metagene.genestrip.fastq.AbstractFastqReader
Hook called after all reads have been processed; does nothing by default.
done() - Method in class org.metagene.genestrip.fastq.AbstractLoggingFastqStreamer
 
done() - Method in class org.metagene.genestrip.fastqgen.FastQWriter
Finishes writing, logging the total number of reads added.
doReadFasta() - Method in class org.metagene.genestrip.fastq.AbstractFastqReader
Parses the input as FASTA, dispatching one AbstractFastqReader.ReadEntry per sequence.
doReadFastq() - Method in class org.metagene.genestrip.fastq.AbstractFastqReader
Parses the input as FASTQ, dispatching one AbstractFastqReader.ReadEntry per read.
DoubleConfigParamInfo(double, double, double) - Constructor for class org.metagene.genestrip.make.ConfigParamInfo.DoubleConfigParamInfo
Creates a double parameter descriptor with a closed range.
DoubleConfigParamInfo(double, double, double, boolean) - Constructor for class org.metagene.genestrip.make.ConfigParamInfo.DoubleConfigParamInfo
Creates a double parameter descriptor with an optionally exclusive range.
doubleConfigValue(ConfigKey) - Method in class org.metagene.genestrip.make.Goal
Returns the configuration value for the given key as a double.
doubleConfigValue(ConfigKey) - Method in class org.metagene.genestrip.make.Project
Returns the value of the given key as a double.
doUpdateProgress() - Method in class org.metagene.genestrip.fastq.AbstractLoggingFastqStreamer
Computes and reports progress for the current file and for the overall run to the execution context.
DOWNLOADS_NAME - Static variable in class org.metagene.genestrip.goals.AdditionalDownloadsGoal
File name of the shared list of additional downloads.
draftCount() - Method in class org.metagene.genestrip.refseq.ReferenceGenomes
Returns how many marked assemblies were recognised as drafts, for logging what a build has to work with.
drainTo(Collection<? super T>) - Method in class org.metagene.genestrip.util.SimpleBlockingQueue
 
drainTo(Collection<? super T>, int) - Method in class org.metagene.genestrip.util.SimpleBlockingQueue
 
drawAxis(PrintStream, double, double, boolean, double) - Method in class org.metagene.genestrip.finertree.goals.DengrogramLaTeXGoal
Draws the similarity axis of the figure: the labelled arrow, the axis line and the tick marks with their similarity labels.
drawDendrogram(PrintStream, SmallTaxTree.SmallTaxIdNode, DendrogramNode, double, double, boolean, double) - Method in class org.metagene.genestrip.finertree.goals.DengrogramLaTeXGoal
Emits the TikZ nodes and edges of a single dendrogram.
dump() - Method in class org.metagene.genestrip.DefaultExecutionContext
 
dump() - Method in interface org.metagene.genestrip.ExecutionContext
Releases resources held by this context, in particular shutting down the thread pool.
dump() - Method in class org.metagene.genestrip.fastq.AbstractFastqReader
Signals the reader to stop and interrupts all consumer threads.
dump() - Method in class org.metagene.genestrip.goals.DBDownloadGoal
 
dump() - Method in class org.metagene.genestrip.goals.refseq.FastaReaderGoal
In addition to discarding the result, aborts a pass that may still be reading.
dump() - Method in class org.metagene.genestrip.make.Goal
Hook to release resources or detach transient state held by this goal; a no-op by default.
dump() - Method in class org.metagene.genestrip.make.Maker
Dumps all registered goals, releasing their transient state (see Goal.dump()).
dump() - Method in class org.metagene.genestrip.make.ObjectGoal
 
dump() - Method in class org.metagene.genestrip.match.FastqKMerMatcher
 
dumpAll() - Method in class org.metagene.genestrip.GSMaker
Disposes the maker and, if created, the shared execution context (shutting down its threads).
dustCounter - Variable in class org.metagene.genestrip.refseq.AbstractStoreFastaReader
The number of k-mers dropped as low-complexity (DUST).

E

element() - Method in class org.metagene.genestrip.util.SimpleBlockingQueue
 
ENABLE_LOWERCASE_BASES - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether lowercase bases are accepted for k-mers.
endContig() - Method in class org.metagene.genestrip.fasta.AbstractFastaReader
Called when the current contig ends (before the next contig or at end of input).
endContig() - Method in class org.metagene.genestrip.finertree.goals.AbstractKMerIndexGoal.MyFastaReader
Does nothing; contig ends are intentionally ignored so that no k-mers are dropped when a contig completes.
endContig() - Method in class org.metagene.genestrip.goals.Fasta2FastqGoal.FastqWriter
 
endContig() - Method in class org.metagene.genestrip.goals.refseq.DBGoal.MyFastaReader
 
endContig() - Method in class org.metagene.genestrip.goals.refseq.ExtractRefSeqFastasGoal.MyFastaReader
 
endContig() - Method in class org.metagene.genestrip.refseq.AbstractRefSeqFastaReader
At the end of an included contig, adds its k-mer count to its tax id node and all ancestors.
endMake() - Method in class org.metagene.genestrip.make.FileDownloadGoal
 
endMake() - Method in class org.metagene.genestrip.make.Goal
Hook invoked at the end of Goal.make(), after this goal and its dependencies are made; empty by default.
endpoint(long, long, long) - Static method in class org.metagene.genestrip.match.SharedFractionEstimator
Solves u/n = pi (1 - exp(-c / (pi n))) for pi, capped at one.
endpointInterval(long, long, long, double) - Method in class org.metagene.genestrip.match.SharedFractionEstimator
Returns the endpoint estimate with its confidence interval.
endpointStandardError(long, long, long, double) - Static method in class org.metagene.genestrip.match.SharedFractionEstimator
The standard error of SharedFractionEstimator.endpoint(long, long, long): the variance of u given c with runs of b hits, M e^-l (1 - (1 + l b) e^-l + 2 sum_{j=1}^{b-1} (e^(l (j/b - 1)) - e^-l)) with l = c / M, turned into a standard error of pi by the delta method.
ensureCapacity(long, boolean) - Method in class org.metagene.genestrip.util.LargeShortVector
Ensure that the bit vector has at least the desired size.
enterFileAndKey(File, String) - Method in class org.metagene.genestrip.goals.MultiFileGoal
Hook called for each provided output file together with its map key; does nothing by default.
entries - Variable in class org.metagene.genestrip.finertree.goals.AbstractDBQualityGoal.MyFastaReader
Number of (k-mer, leaf node) pairs this reader formed.
entries - Variable in class org.metagene.genestrip.store.AbstractKMerStore
The number of entries currently stored.
EntryAccess(ZipFile, String) - Constructor for class org.metagene.genestrip.tax.NCBITaxTreeFormat.EntryAccess
Opens the named entry of the archive.
entryToFile(AssemblySummaryReader.AssemblyEntry) - Method in class org.metagene.genestrip.goals.genbank.FastaFilesGenbankDownloadGoal
Returns the local target file for the given assembly entry.
EQ - Enum constant in enum class org.metagene.genestrip.finertree.FTConfigKey.RefinementPosition.Limit
Equality comparison, token =.
equals(byte[], int, int, String) - Static method in class org.metagene.genestrip.util.ByteArrayUtil
Returns whether the bytes in [start, end) equal, character by character, the given string.
equals(Object) - Method in class org.metagene.genestrip.make.GoalKey.DefaultGoalKey
 
errorSquaredSum - Variable in class org.metagene.genestrip.match.CountsPerTaxid
The sum of squared per-read k-mer error ratios.
errorSum - Variable in class org.metagene.genestrip.match.CountsPerTaxid
The sum of per-read k-mer error ratios.
estimate() - Method in class org.metagene.genestrip.finertree.probfilter.DistinctPairSketch
Merges what the reader threads sketched and scales it back up to the population.
estimate(CountsPerTaxid) - Method in class org.metagene.genestrip.match.SharedFractionEstimator
Estimates the shared fraction of the given counts and stores it, with its confidence interval and the evolutionary distance, in the counts.
estimateDistinctValues(long) - Method in class org.metagene.genestrip.probfilter.BloomFilter
Returns how many distinct values are estimated to have been offered to this filter, given that it reported counted of them as new.
estimateSharedFractions(Database, SharedFractionEstimator) - Method in class org.metagene.genestrip.match.MatchingResult
Estimates, for every tax id of rank species or below, the share of its stored k-mers that the sample contains, with a confidence interval and the evolutionary distance derived from it (see SharedFractionEstimator).
evoDistance - Variable in class org.metagene.genestrip.match.CountsPerTaxid
The evolutionary distance derived from CountsPerTaxid.sharedFraction, or NaN.
EvoDistanceEstimator - Class in org.metagene.genestrip.match
Estimates an evolutionary "distance" for each taxonomy node from the distribution of stored k-mers across the tree.
EvoDistanceEstimator() - Constructor for class org.metagene.genestrip.match.EvoDistanceEstimator
Creates an evolutionary-distance estimator.
EvoDistanceEstimator.DistanceInfo - Class in org.metagene.genestrip.match
The distance estimate for a single taxonomy node, its per-node portion and the child branch carrying the most k-mers below it (the "longest path" branch).
evoDistanceHigh - Variable in class org.metagene.genestrip.match.CountsPerTaxid
The upper bound of the confidence interval of CountsPerTaxid.evoDistance, or NaN.
evoDistanceLow - Variable in class org.metagene.genestrip.match.CountsPerTaxid
The lower bound of the confidence interval of CountsPerTaxid.evoDistance, or NaN.
execute(Runnable) - Method in class org.metagene.genestrip.DefaultExecutionContext
 
execute(Runnable) - Method in interface org.metagene.genestrip.ExecutionContext
Executes the given task, either on a worker thread or inline in the calling thread depending on the configured number of threads.
ExecutionContext - Interface in org.metagene.genestrip
Manages the worker threads used for parallel data processing and collects any throwables raised within them.
expectedInsertions - Variable in class org.metagene.genestrip.probfilter.BloomFilter
The expected number of insertions the filter is sized for.
EXTRACT - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Extracts reads from fastq files based on matching descriptors.
EXTRACT_KEY - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Extract key that read descriptors must match for extraction.
EXTRACT_REFSEQ_CSV - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Runs extractrefseqfasta and generates the matching CSV file.
EXTRACT_REFSEQ_FASTA - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Extracts gzipped fasta files individually from RefSeq's bundled offering for database entry.
EXTRACT_REFSEQ_GZIP - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether extracted fasta files are gzipped.
ExtractGoal<P extends GSProject> - Class in org.metagene.genestrip.goals
Streams the input FASTQ resources and extracts every read whose descriptor starts with the configured extract key, writing the matching reads to per-key output files or to standard out.
ExtractGoal(P, ObjectGoal<Map<String, StreamingResourceStream>, P>, ExecutionContext, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.ExtractGoal
Creates the goal.
ExtractRefSeqCSVGoal<P extends GSProject> - Class in org.metagene.genestrip.goals.refseq
Goal that writes a CSV file listing each extracted RefSeq sequence description together with its taxid, taken from ExtractRefSeqFastasGoal's result.
ExtractRefSeqCSVGoal(P, ObjectGoal<Map<String, String>, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.refseq.ExtractRefSeqCSVGoal
Creates the goal, wiring the extraction goal that supplies the description-to-taxid map.
ExtractRefSeqFastasGoal<P extends GSProject> - Class in org.metagene.genestrip.goals.refseq
Goal that extracts the selected contigs into individual FASTA files (with kraken2-style |kraken:taxid| headers) under the project's FASTA directory, and produces a map from each sequence description to its taxid.
ExtractRefSeqFastasGoal(P, ExecutionContext, ObjectGoal<Set<RefSeqCategory>, P>, ObjectGoal<TaxNodeSelection, P>, RefSeqFnaFilesDownloadGoal, ObjectGoal<Map<File, TaxTree.TaxIdNode>, P>, ObjectGoal<AccessionMap, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.refseq.ExtractRefSeqFastasGoal
Creates the goal, wiring the categories, tax-node, RefSeq-file, additional-FASTA and accession-map goals it reads.
ExtractRefSeqFastasGoal.MyFastaReader - Class in org.metagene.genestrip.goals.refseq
FASTA reader that writes each included contig to its own FASTA file and records the mapping from sequence description to taxid.

F

FAMILY - Enum constant in enum class org.metagene.genestrip.tax.Rank
The family rank.
FASTA - Enum constant in enum class org.metagene.genestrip.GSProject.GSFileType
A fasta input file.
FASTA_DOWNLOAD - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Downloads requested fasta files given via URLs.
FASTA_LINE_SIZE_BYTES - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Line length in bytes for generated fasta files.
FASTA_MAP - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Determines the fasta mapping from command line arguments.
FASTA_MAP_TRANSFORM - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Transforms URLs of fasta files to be downloaded to local paths.
FASTA_QUALITIES - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Allowed quality levels of Genbank fasta files.
FASTA_TYPE_HINT - Static variable in class org.metagene.genestrip.fastq.AbstractLoggingFastqStreamer
Type hint identifying a resource that should be parsed as FASTA.
FASTA2FASTQ - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Transforms a fasta file or streaming resource to a fastq file.
Fasta2FastqGoal<P extends GSProject> - Class in org.metagene.genestrip.goals
Converts the FASTA resources for each key into a FASTQ output file, emitting a synthetic maximal-quality line for every sequence.
Fasta2FastqGoal(P, GoalKey, ObjectGoal<Map<String, StreamingResourceStream>, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.Fasta2FastqGoal
Creates the goal, wiring the FASTA-map goal whose resources are converted to FASTQ.
Fasta2FastqGoal.FastqWriter - Class in org.metagene.genestrip.goals
Reads FASTA input and writes it out as FASTQ, using '~' (maximal quality) for every base.
fastaFileFromPath(String) - Method in class org.metagene.genestrip.GSProject
Resolves a fasta file, trying the path as-is, then relative to the project's fasta directory, then relative to the common fasta directory.
FastaFilesFromGenbankGoal<P extends GSProject> - Class in org.metagene.genestrip.goals.genbank
Produces, per tax id, the GenBank assembly entries whose fasta files should additionally be downloaded, selected by the configured quality filter and capped at the configured maximum (keeping the best quality).
FastaFilesFromGenbankGoal(P, ObjectGoal<TaxTree, P>, FileGoal<P>, ObjectGoal<Set<TaxTree.TaxIdNode>, P>) - Constructor for class org.metagene.genestrip.goals.genbank.FastaFilesFromGenbankGoal
Creates the goal, wiring the tax tree, assembly-summary and Genbank tax id goals it uses to select the fasta files to download from Genbank.
FastaFilesGenbankDownloadGoal<P extends GSProject> - Class in org.metagene.genestrip.goals.genbank
Download goal that fetches the fasta files for the GenBank assembly entries selected by FastaFilesFromGenbankGoal, via FTP directory or direct URL.
FastaFilesGenbankDownloadGoal(P, ObjectGoal<Map<TaxTree.TaxIdNode, List<AssemblySummaryReader.AssemblyEntry>>, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.genbank.FastaFilesGenbankDownloadGoal
Creates the goal that downloads the Genbank fasta files for the resolved assembly entries.
FASTAGSENBANK - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Determines the fasta files to be downloaded from Genbank.
FASTAGSENBANKDL - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Downloads the requested fasta files from Genbank.
FastaQualitiesConfigInfo(List<AssemblySummaryReader.AssemblyQuality>) - Constructor for class org.metagene.genestrip.GSConfigKey.FastaQualitiesConfigInfo
Creates parameter info for a list of Genbank quality values.
FastaReaderGoal<T,P extends GSProject> - Class in org.metagene.genestrip.goals.refseq
Abstract base for goals that read the downloaded RefSeq .fna files (and any additional FASTA files) contig by contig, optionally in parallel via a pool of consumer threads, dispatching each contig to a subclass-provided AbstractRefSeqFastaReader.
FastaReaderGoal(P, GoalKey, ExecutionContext, ObjectGoal<Set<RefSeqCategory>, P>, ObjectGoal<TaxNodeSelection, P>, RefSeqFnaFilesDownloadGoal, ObjectGoal<Map<File, TaxTree.TaxIdNode>, P>, boolean, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.refseq.FastaReaderGoal
Creates the reader goal, stating explicitly whether it reads the RefSeq release.
FastaReaderGoal(P, GoalKey, ExecutionContext, ObjectGoal<Set<RefSeqCategory>, P>, ObjectGoal<TaxNodeSelection, P>, RefSeqFnaFilesDownloadGoal, ObjectGoal<Map<File, TaxTree.TaxIdNode>, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.refseq.FastaReaderGoal
Creates the reader goal with its category, tax-node, RefSeq-file-download and additional-file dependency goals and the execution context that supplies the worker threads.
FastaReaderGoal.FileAndNode - Class in org.metagene.genestrip.goals.refseq
A FASTA file paired with an optional tax node; a non-null node marks an additional FASTA whose node bypasses the accession map.
FASTQ - Enum constant in enum class org.metagene.genestrip.GSProject.GSFileType
A fastq input file.
FASTQ_DOWNLOAD - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Downloads requested fastq files given via URLs.
FASTQ_MAP - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Determines the fastq mapping from command line arguments.
FASTQ_MAP_TRANSFORM - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Transforms URLs of fastq files to be downloaded to local paths.
FASTQ_RES - Enum constant in enum class org.metagene.genestrip.GSProject.GSFileType
A filtered/result fastq file.
FASTQ_TYPE_HINT - Static variable in class org.metagene.genestrip.fastq.AbstractLoggingFastqStreamer
Type hint identifying a resource that should be parsed as FASTQ.
FastqDownloadsGoal<P extends GSProject> - Class in org.metagene.genestrip.goals
Download goal that fetches the fastq (or fasta) input resources referenced by URL in the fastq/fasta map to their corresponding local files.
FastqDownloadsGoal(P, boolean, ObjectGoal<Map<String, StreamingResourceStream>, P>, ObjectGoal<Map<String, StreamingResourceStream>, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.FastqDownloadsGoal
Creates the goal that downloads the FASTQ (or FASTA) files.
fastqFileFromPath(String) - Method in class org.metagene.genestrip.GSProject
Resolves a fastq file, trying the path as-is, then relative to the project's fastq directory, then relative to the common fastq directory.
fastqFilesFromPath(String, boolean) - Method in class org.metagene.genestrip.GSProject
Resolves fastq (or fasta) inputs from a path that may be a direct file or a glob pattern, searching the given path, the project directory and the common directory in turn.
FastqFilter - Class in org.metagene.genestrip.match
Streams FASTQ reads and classifies each read by how many of its (canonical) k-mers are found in a ProbFilter: reads with enough matching k-mers are written to one output and the rest to another.
FastqFilter(int, ProbFilter, int, double, int, int, ExecutionContext, boolean) - Constructor for class org.metagene.genestrip.match.FastqFilter
Creates a filter that accepts a read when enough of its k-mers are present in filter.
FastqFilter.MyReadEntry - Class in org.metagene.genestrip.match
A read entry that additionally tracks the position of the last invalid base encountered.
FastqKMerMatcher - Class in org.metagene.genestrip.match
Matches the k-mers of FASTQ (or FASTA) reads against the k-mer database and classifies each read to a tax id in the style of Kraken/KrakenUniq.
FastqKMerMatcher(KMerStore<SmallTaxTree.SmallTaxIdNode>, int, int, ExecutionContext, boolean, SmallTaxTree, int, double, double, boolean, int, String) - Constructor for class org.metagene.genestrip.match.FastqKMerMatcher
Creates a matcher over the given database and taxonomy.
FastqKMerMatcher.AfterMatchCallback - Interface in org.metagene.genestrip.match
Callback invoked after each read has been matched, receiving the read entry and whether it matched.
FastqKMerMatcher.MatcherConsumer - Class in org.metagene.genestrip.match
One matching consumer thread and everything that belongs to it alone: the per-read vote counters, the batch buffers and the prefetched lookup results.
FastqKMerMatcher.MatcherReadEntry - Class in org.metagene.genestrip.match
Per-read working state used during matching: the candidate taxonomic paths and their counts, the resolved classification node, and a growable byte buffer holding the read's Kraken-style output.
fastqMapGoal - Variable in class org.metagene.genestrip.goals.MultiFileGoal
The goal supplying the per-key fastq/fasta input streams.
FastqMapGoal<P extends GSProject> - Class in org.metagene.genestrip.goals
Produces the mapping from key to fastq (or fasta) streaming resources, assembled from the project's configured input paths/URLs, an optional map CSV file, and any extra resources.
FastqMapGoal(P, boolean, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.FastqMapGoal
Creates the goal that derives the fastq/fasta resource map for the project.
FastqMapTransformGoal<P extends GSProject> - Class in org.metagene.genestrip.goals
Transforms an input fastq/fasta resource map so that remote (URL) resources are replaced by the local files they will be downloaded to; when no download is configured the input map is passed through unchanged.
FastqMapTransformGoal(P, boolean, ObjectGoal<Map<String, StreamingResourceStream>, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.FastqMapTransformGoal
Creates the goal that transforms the input fastq/fasta map into local download targets.
FastqReaderInterruptedException - Exception in org.metagene.genestrip.fastq
Thrown to unwind the FASTQ/FASTA reader when it is interrupted or asked to stop (dump).
FastqReaderInterruptedException() - Constructor for exception org.metagene.genestrip.fastq.FastqReaderInterruptedException
Creates the exception with no cause.
FastqReaderInterruptedException(InterruptedException) - Constructor for exception org.metagene.genestrip.fastq.FastqReaderInterruptedException
Creates the exception wrapping the given interruption as its cause.
FastqWriter(PrintStream, int) - Constructor for class org.metagene.genestrip.goals.Fasta2FastqGoal.FastqWriter
Creates a FASTQ writer over the given output stream.
FastQWriter - Class in org.metagene.genestrip.fastqgen
Writes reads to an output stream in FASTQ format, generating a descriptor line (with an id and optional tax id) and a placeholder quality line ('~') for each read.
FastQWriter(String, OutputStream) - Constructor for class org.metagene.genestrip.fastqgen.FastQWriter
Creates a writer that emits reads with the given id prefix to the given output stream.
file - Variable in class org.metagene.genestrip.refseq.AbstractRefSeqFastaReader
The FASTA file currently being read.
FILE - Enum constant in enum class org.metagene.genestrip.tax.Rank
Artificial rank marking the file of k-mer origin, near the bottom of the taxonomy.
FILE_NODES - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether to add artificial tax nodes representing fasta files.
FileAndNode(File, TaxTree.TaxIdNode) - Constructor for class org.metagene.genestrip.goals.refseq.FastaReaderGoal.FileAndNode
Creates a pairing of the given FASTA file and optional tax node.
FileDownloadGoal<P extends Project> - Class in org.metagene.genestrip.make
A FileGoal that produces its output files by downloading them over HTTP or FTP from a remote base location.
FileDownloadGoal(P, GoalKey, Goal<P>...) - Constructor for class org.metagene.genestrip.make.FileDownloadGoal
Creates a new file download goal.
FileGoal<P extends Project> - Class in org.metagene.genestrip.make
A Goal whose output is one or more files on disk.
FileGoal(P, GoalKey, boolean, Goal<P>...) - Constructor for class org.metagene.genestrip.make.FileGoal
Creates a file goal.
FileGoal(P, GoalKey, Goal<P>...) - Constructor for class org.metagene.genestrip.make.FileGoal
Creates a file goal that does not allow empty output files.
FileListGoal<P extends Project> - Class in org.metagene.genestrip.make
A FileGoal whose set of output files is an explicit, mutable list.
FileListGoal(P, GoalKey, File, Goal<P>...) - Constructor for class org.metagene.genestrip.make.FileListGoal
Creates a file list goal with a single output file.
FileListGoal(P, GoalKey, List<File>, boolean, Goal<P>...) - Constructor for class org.metagene.genestrip.make.FileListGoal
Creates a file list goal with the given output files and empty-file policy.
FileListGoal(P, GoalKey, List<File>, Goal<P>...) - Constructor for class org.metagene.genestrip.make.FileListGoal
Creates a file list goal with the given output files.
fileNode(TaxTree.TaxIdNode, String, TaxTree.IDStringGenerator) - Method in class org.metagene.genestrip.tax.TaxTree
Returns the artificial FILE-rank child of the given node with the given name, creating it (with a freshly generated artificial tax id) if it does not yet exist.
FILES_INSTALLED_NAME - Static variable in class org.metagene.genestrip.goals.refseq.RefSeqCatalogDownloadGoal
Name pattern for the files.installed listing, parameterized by release number.
fileToFastqs - Variable in class org.metagene.genestrip.goals.MultiFileGoal
Maps each produced output file back to its input resources.
FILL_BLOOM_FILTER_FPP - Enum constant in enum class org.metagene.genestrip.GSConfigKey
False positive probability of the temporary Bloom filter used during the fill phase.
FILL_BLOOM_FILTER_FPP_DEFAULT - Static variable in enum class org.metagene.genestrip.GSConfigKey
Default false positive probability for the fill-phase Bloom filter.
FILL_DB - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Fills the database with k-mers.
FILL_INDEX - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Fills the filtering database with k-mers.
FillBloomFilterGoal<P extends GSProject> - Class in org.metagene.genestrip.goals.refseq
Goal that estimates the deduplicated database size: it streams all selected k-mers through a temporary Bloom filter and counts the distinct k-mers, in total and per RadixKMerStore radix bucket, producing a FillBloomFilterGoal.DBSize used to size the final k-mer store.
FillBloomFilterGoal(P, ExecutionContext, ObjectGoal<Set<RefSeqCategory>, P>, ObjectGoal<TaxNodeSelection, P>, RefSeqFnaFilesDownloadGoal, ObjectGoal<Map<File, TaxTree.TaxIdNode>, P>, ObjectGoal<AccessionMap, P>, ObjectGoal<TaxTree, P>, ObjectGoal<FillSizeGoal.KMerCounts, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.refseq.FillBloomFilterGoal
Creates the goal, wiring the accession-map and expected-size goals alongside the FASTA inputs.
FillBloomFilterGoal.DBSize - Class in org.metagene.genestrip.goals.refseq
Combined deduplicated DB size: the total estimated number of distinct k-mers and, when available, the per-RadixKMerStore radix-bucket counts (length 2^radixStoreBits, suitable as the bucketSizes argument of a RadixKMerStore created with the same radixStoreBits).
FillBloomFilterGoal.MyFastaReader - Class in org.metagene.genestrip.goals.refseq
FASTA reader that adds each not-yet-seen k-mer to the temporary Bloom filter and counts the distinct k-mers per radix bucket in a thread-safe way.
FillBloomFilterGoal.UnusableFilterException - Exception in org.metagene.genestrip.goals.refseq
Signals that a pass ended with a filter too full for what it counted to be worth using.
FillDBGoal<P extends GSProject> - Class in org.metagene.genestrip.goals.refseq
Goal (FILL_DB) that allocates the k-mer store (a RadixKMerStore or a sorted array sized from the estimated FillBloomFilterGoal.DBSize), fills it by labelling each k-mer with its tax node's taxid, marks the requested nodes, optimizes the store and produces the indexed Database.
FillDBGoal(P, ExecutionContext, ObjectGoal<Set<RefSeqCategory>, P>, ObjectGoal<TaxNodeSelection, P>, ObjectGoal<TaxTree, P>, RefSeqFnaFilesDownloadGoal<P>, ObjectGoal<Map<File, TaxTree.TaxIdNode>, P>, ObjectGoal<AccessionMap, P>, ObjectGoal<FillBloomFilterGoal.DBSize, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.refseq.FillDBGoal
Creates the goal, wiring the tax tree, accession-map and estimated-size goals it uses to build and fill the store.
FillDBGoal.MyFastaReader - Class in org.metagene.genestrip.goals.refseq
FASTA reader that stores each k-mer under its tax node's taxid, counting the k-mers dropped once the store is full.
filled - Variable in class org.metagene.genestrip.util.CGATLongBuffer
Whether at least size bases have been buffered.
FilledDBGoal<P extends GSProject> - Class in org.metagene.genestrip.goals
Provides the filled database, either taken from the in-memory fill goal or loaded from the stored temporary database file.
FilledDBGoal(P, ObjectGoal<Database, P>, FileGoal<P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.FilledDBGoal
Creates the goal, wiring the in-memory fill goal and the stored temporary-database file goal.
fillMap(Map<String, StreamingResourceStream>, File) - Method in class org.metagene.genestrip.goals.FastqMapTransformGoal
Copies the input map into map, replacing every StreamingURLResource with the local file under dir that it will be downloaded to.
FILLSIZE - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Precomputes the number of k-mers for the project's database.
FillSizeGoal<P extends GSProject> - Class in org.metagene.genestrip.goals.refseq
Goal that counts the total number of included k-mers (duplicates included) across the selected RefSeq FASTA files, giving a rough estimate of the raw database size.
FillSizeGoal(P, ExecutionContext, ObjectGoal<Set<RefSeqCategory>, P>, ObjectGoal<TaxNodeSelection, P>, RefSeqFnaFilesDownloadGoal, ObjectGoal<Map<File, TaxTree.TaxIdNode>, P>, ObjectGoal<AccessionMap, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.refseq.FillSizeGoal
Creates the goal, wiring the accession-map goal alongside the FASTA inputs it counts.
FillSizeGoal.KMerCounts - Class in org.metagene.genestrip.goals.refseq
How many k-mers a fill would see, counted both ways: once as they come, duplicates and all, and once as distinct values.
FillSizeGoal.MyFastaReader - Class in org.metagene.genestrip.goals.refseq
FASTA reader that only counts k-mers (included, total and dust) without storing them.
filter - Variable in class org.metagene.genestrip.store.AbstractKMerStore
The optional probabilistic pre-filter, or null if none.
filter(boolean, String, String...) - Method in class org.metagene.genestrip.GSMaker
Filters the given fastq/fasta inputs against the project's bloom index, writing filtered fastq files.
filter(String, String...) - Method in class org.metagene.genestrip.GSMaker
Filters the given fastq/fasta inputs against the project's bloom index, writing filtered fastq files.
FILTER - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Filters fastq files given via the -f or -m option.
FILTER - Enum constant in enum class org.metagene.genestrip.GSProject.GSFileType
A serialized filter file.
FilterGoal<P extends GSProject> - Class in org.metagene.genestrip.goals
Filters each input FASTQ file against the loaded bloom-filter index, writing the reads that pass to a per-key FASTQ output file (and optionally the rejected reads to a dump file).
FilterGoal(P, ObjectGoal<Map<String, StreamingResourceStream>, P>, LoadIndexGoal<P>, ExecutionContext, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.FilterGoal
Creates the goal, wiring the input FASTQ map, the loaded index and the execution context.
findFilesByGlobPattern(File, String) - Method in class org.metagene.genestrip.GSProject
Lists the files in the pattern's parent directory (optionally under rootDir) whose names match the glob part of the pattern.
FinerTreeMain<P extends FTProject> - Class in org.metagene.genestrip.finertree
Command line entry point for the finer-tree (FT) extension.
FinerTreeMain() - Constructor for class org.metagene.genestrip.finertree.FinerTreeMain
Creates the finer-tree command-line launcher.
FinerTreeMaker<P extends FTProject> - Class in org.metagene.genestrip.finertree
GSMaker for the finer-tree (FT) extension.
FinerTreeMaker(P) - Constructor for class org.metagene.genestrip.finertree.FinerTreeMaker
Creates a finer-tree maker for the given project.
flushBatch() - Method in class org.metagene.genestrip.finertree.goals.AbstractDBQualityGoal.MyFastaReader
Looks the buffered k-mers up in one batch and hands those the database holds to AbstractDBQualityGoal.MyFastaReader.count(long, int, org.metagene.genestrip.tax.SmallTaxTree.SmallTaxIdNode).
flushBatch() - Method in class org.metagene.genestrip.finertree.goals.AbstractKMerIndexGoal.MyFastaReader
Looks up all buffered k-mers in one batch and records the ones stored below a taxon selected for refinement.
fnaFilesGoal - Variable in class org.metagene.genestrip.goals.refseq.FastaReaderGoal
The goal supplying the downloaded RefSeq .fna files.
FOLD_TAXA_BELOW - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Rank at which a genome is filed, taxa below it being folded into it.
foldUp(TaxTree.TaxIdNode, Rank, Set<TaxTree.TaxIdNode>) - Static method in class org.metagene.genestrip.refseq.ReworkingStoreFastaReader
Returns the node a genome resolving to the given one is to be filed at: its lowest ancestor (itself included) whose rank is below, or the node unchanged when there is none and when below is null.
font - Variable in class org.metagene.genestrip.match.TaxTreePainter
The font used to render standard (non-requested) node labels.
FORMA - Enum constant in enum class org.metagene.genestrip.tax.Rank
The forma rank.
FORMA_SPECIALIS - Enum constant in enum class org.metagene.genestrip.tax.Rank
The forma specialis rank.
fpp - Variable in class org.metagene.genestrip.probfilter.BloomFilter
The target false-positive probability.
freeze() - Method in class org.metagene.genestrip.refseq.GenomeKeyTrie
Closes the set: the selection is complete and nothing may be added to it again.
fromDirectoryString(String) - Static method in enum class org.metagene.genestrip.refseq.RefSeqCategory
Returns the category whose directory name equals the given string, or null if none matches.
fromFileName(String) - Static method in enum class org.metagene.genestrip.refseq.RefSeqCategory
Returns the category of a RefSeq release file from its name, such as protozoa.1.1.genomic.fna.gz, or null if the name starts with no category.
fromString(String) - Method in class org.metagene.genestrip.finertree.FTConfigKey.MethodConfigParamInfo
Parses a clustering method from its enum name.
fromString(String) - Static method in enum class org.metagene.genestrip.finertree.FTConfigKey.RefinementPosition.Limit
Returns the comparison limit whose token the given string starts with.
fromString(String) - Method in class org.metagene.genestrip.GSConfigKey.BloomFilterSizingConfigParamInfo
 
fromString(String) - Method in class org.metagene.genestrip.GSConfigKey.FastaQualitiesConfigInfo
 
fromString(String) - Method in class org.metagene.genestrip.GSConfigKey.GenomesOnlyConfigParamInfo
 
fromString(String) - Method in class org.metagene.genestrip.GSConfigKey.LogLevelConfigParamInfo
 
fromString(String) - Method in class org.metagene.genestrip.GSConfigKey.RankConfigParamInfo
 
fromString(String) - Method in class org.metagene.genestrip.GSConfigKey.RefSeqStatusConfigInfo
 
fromString(String) - Method in class org.metagene.genestrip.GSConfigKey.SeqTypeConfigParamInfo
 
fromString(String) - Method in class org.metagene.genestrip.GSConfigKey.UpdateScopeConfigParamInfo
 
fromString(String) - Method in class org.metagene.genestrip.make.ConfigParamInfo.BooleanConfigParamInfo
 
fromString(String) - Method in class org.metagene.genestrip.make.ConfigParamInfo.DoubleConfigParamInfo
 
fromString(String) - Method in class org.metagene.genestrip.make.ConfigParamInfo
Parses a value from the given string, returning null if it cannot be parsed.
fromString(String) - Method in class org.metagene.genestrip.make.ConfigParamInfo.IntConfigParamInfo
 
fromString(String) - Method in class org.metagene.genestrip.make.ConfigParamInfo.LongConfigParamInfo
 
fromString(String) - Method in class org.metagene.genestrip.make.ConfigParamInfo.StringConfigParamInfo
 
fromString(String, String) - Static method in enum class org.metagene.genestrip.genbank.AssemblySummaryReader.AssemblyQuality
Derives the quality level from the summary file's assembly_level and version_status columns.
FT - Static variable in enum class org.metagene.genestrip.finertree.FTConfigKey
Namespace of every configuration parameter this extension adds.
FT_BLOOM_FILTER_SIZING - Enum constant in enum class org.metagene.genestrip.finertree.FTConfigKey
How the Bloom filter of kmerindexbloom is sized.
FT_INDEX_BLOOM_FILTER_FPP - Enum constant in enum class org.metagene.genestrip.finertree.FTConfigKey
False positive probability of the kmerindexbloom filter.
FT_KMER_INDEX_SIZE_SAMPLING - Enum constant in enum class org.metagene.genestrip.finertree.FTConfigKey
One in how many k-mers kmerindexsize looks at, or 1 to look at all of them.
FT_QUALITY - Enum constant in enum class org.metagene.genestrip.finertree.FTGoalKey
Writes the per-tax-id quality metrics of FTGoalKey.FT_QUALITY_COUNTS to a CSV file.
FT_QUALITY_COUNTS - Enum constant in enum class org.metagene.genestrip.finertree.FTGoalKey
Counts, per tax id, the genomic k-mers that are also in the FT database.
FT_QUALITY_SIZE - Enum constant in enum class org.metagene.genestrip.finertree.FTGoalKey
Same as FTGoalKey.DB_QUALITY_SIZE but for an FT database.
FT_SVG_TAX_TREE - Enum constant in enum class org.metagene.genestrip.finertree.FTGoalKey
Behaves like Genestrip's svgtaxtree goal but for an FT database.
FTCLEAR - Enum constant in enum class org.metagene.genestrip.finertree.FTGoalKey
Behaves like Genestrip's clear goal but also clears the tex folder.
FTConfigKey - Enum Class in org.metagene.genestrip.finertree
Enumeration of the configuration parameters added by the finer-tree (FT) extension.
FTConfigKey.MethodConfigParamInfo - Class in org.metagene.genestrip.finertree
Parameter descriptor for a SimpleAggloClustering.Method, i.e.
FTConfigKey.RefinementPosition - Class in org.metagene.genestrip.finertree
Specifies a position in the taxonomy tree at which the finer tree should be refined, given either as a taxonomic Rank together with a comparison FTConfigKey.RefinementPosition.Limit or as a specific tax id.
FTConfigKey.RefinementPosition.Limit - Enum Class in org.metagene.genestrip.finertree
The comparison operator applied to a rank when matching nodes, with its textual token.
FTDB - Enum constant in enum class org.metagene.genestrip.finertree.FTGoalKey
Stores the updated (FT) database.
FTDB2FASTQ - Enum constant in enum class org.metagene.genestrip.finertree.FTGoalKey
Generates fastq files as Genestrip's db2fastq does, but from an FT database.
FTDBINFO - Enum constant in enum class org.metagene.genestrip.finertree.FTGoalKey
Writes information on the content of the updated (FT) database to a CSV file.
FTDBInfoGoal<P extends FTProject> - Class in org.metagene.genestrip.finertree.goals
Writes a CSV file containing general information about the database, as produced by ResultReporter.printStoreInfo(org.metagene.genestrip.store.Database, java.io.PrintStream, boolean).
FTDBInfoGoal(P, ObjectGoal<Database, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.finertree.goals.FTDBInfoGoal
Creates the goal writing the database-info CSV file.
FTGENALL - Enum constant in enum class org.metagene.genestrip.finertree.FTGoalKey
Generates the databases of Genestrip's genall and additionally the FT database.
FTGoalKey - Enum Class in org.metagene.genestrip.finertree
Enumeration of the goals added by the finer-tree (FT) extension.
FTMATCH - Enum constant in enum class org.metagene.genestrip.finertree.FTGoalKey
Analyzes fastq files as Genestrip's match does, but against an FT database.
FTMATCHRES - Enum constant in enum class org.metagene.genestrip.finertree.FTGoalKey
Analyzes fastq files as Genestrip's matchres does, but against an FT database.
FTP_BASE_URL - Enum constant in enum class org.metagene.genestrip.GSConfigKey
FTP base URL for NCBI downloads.
FTP_DIR - Static variable in class org.metagene.genestrip.goals.TaxIdFileDownloadGoal
FTP directory on the NCBI server holding the taxonomy dump.
FTP_DIR_GENBANK - Static variable in class org.metagene.genestrip.goals.genbank.AssemblyFileDownloadGoal
Remote directory holding the GenBank assembly summary file.
FTP_DIR_REFSEQ - Static variable in class org.metagene.genestrip.goals.genbank.AssemblyFileDownloadGoal
Remote directory holding the RefSeq assembly summary file.
ftpDownload(FTPClient, File) - Method in class org.metagene.genestrip.make.FileDownloadGoal
Downloads the given file from the FTP server, connecting and logging in first if not yet connected.
FTProject - Class in org.metagene.genestrip.finertree
A GSProject for the finer-tree (FT) extension.
FTProject(GSCommon, String, String, String[], String, File, File, String, Properties, GSGoalKey, String, boolean) - Constructor for class org.metagene.genestrip.finertree.FTProject
Creates a fully configured finer-tree project, delegating to the GSProject constructor.
FTProject.FTFileType - Enum Class in org.metagene.genestrip.finertree
FT-specific file types and their suffixes (currently the TeX output file).
FTSETUP - Enum constant in enum class org.metagene.genestrip.finertree.FTGoalKey
Creates the additional project folders used by the FT extension, such as tex.
FUNGI - Enum constant in enum class org.metagene.genestrip.refseq.RefSeqCategory
The fungi RefSeq category.

G

GENALL - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Generates the k-mer matching database and the filtering database for the given project.
generateFastq(File, String, String, boolean) - Method in class org.metagene.genestrip.fastqgen.KMerFastqGenerator
Generates a FASTQ file at the given path from the matching stored k-mers.
generateFastq(OutputStream, String, String, boolean) - Method in class org.metagene.genestrip.fastqgen.KMerFastqGenerator
Generates FASTQ output to the given stream from the matching stored k-mers.
generateID(int) - Method in interface org.metagene.genestrip.tax.TaxTree.IDStringGenerator
Generates an artificial tax id string from the given counter value.
GENESTRIP_ID - Static variable in class org.metagene.genestrip.fastqgen.KMerFastqGenerator
FASTQ read descriptor prefix identifying reads generated by Genestrip.
GENESTRIP_TITLE - Static variable in class org.metagene.genestrip.GSProject
Database property key for the Genestrip title that created the database.
GENESTRIP_VERSION - Static variable in class org.metagene.genestrip.GSProject
Database property key for the Genestrip version that created the database.
GENOME - Enum constant in enum class org.metagene.genestrip.tax.Rank
Artificial rank marking the genome of k-mer origin, between Rank.FILE and Rank.ID in the taxonomy: a file may hold many genomes and a genome many contigs.
GENOME_NODES - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether to add artificial tax nodes representing single genomes.
genomeKeyLength(byte[], int, int) - Static method in class org.metagene.genestrip.refseq.GenomeKeyTrie
Returns how much of the given accession names the genome it belongs to.
GenomeKeyTrie - Class in org.metagene.genestrip.refseq
The set of genomes a database is to hold, as a trie over the alphabet accessions are written in.
GenomeKeyTrie() - Constructor for class org.metagene.genestrip.refseq.GenomeKeyTrie
Creates an empty set of genomes.
genomeNode(TaxTree.TaxIdNode, byte[], int, int, TaxTree.IDStringGenerator) - Method in class org.metagene.genestrip.tax.TaxTree
Returns the artificial GENOME-rank child of the given node standing for the genome of the accession array[start, end), creating it (with a freshly generated artificial tax id) if it does not yet exist.
genomeNode(TaxTree.TaxIdNode, String, TaxTree.IDStringGenerator) - Method in class org.metagene.genestrip.tax.TaxTree
Returns the artificial GENOME-rank child of the given node with the given name, creating it (with a freshly generated artificial tax id) if it does not yet exist.
GENOMES_ONLY - Enum constant in enum class org.metagene.genestrip.GSConfigKey
How finished an assembly must be for its sequences to enter the database.
GenomesOnlyConfigParamInfo(GSConfigKey.GenomesOnly) - Constructor for class org.metagene.genestrip.GSConfigKey.GenomesOnlyConfigParamInfo
Creates parameter info for how finished an assembly must be.
GENOMIC - Enum constant in enum class org.metagene.genestrip.GSConfigKey.SeqType
Genomic sequences.
GENOMIC_ACCESSION_PREFIXES - Static variable in class org.metagene.genestrip.refseq.AccessionFileProcessor
Accession prefixes that mark any genomic (DNA) sequence, as against RNA and protein ones.
GENOTYPE - Enum constant in enum class org.metagene.genestrip.tax.Rank
The genotype rank.
GENUS - Enum constant in enum class org.metagene.genestrip.tax.Rank
The genus rank.
get() - Method in class org.metagene.genestrip.make.ObjectGoal
Makes this goal if necessary and returns its computed value.
get(byte[], int, int) - Method in class org.metagene.genestrip.util.DigitTrie
Returns the value for the key given by seq[start, end), or null if absent.
get(byte[], int, int, boolean) - Method in interface org.metagene.genestrip.refseq.AccessionMap
Returns the tax id node for the accession key array[start, end), or null if none.
get(byte[], int, int, boolean) - Method in class org.metagene.genestrip.refseq.AccessionMapImpl
Deprecated.
 
get(byte[], int, int, boolean) - Method in class org.metagene.genestrip.refseq.AccessionMapTrieImpl
 
get(byte[], int, int, Object) - Method in class org.metagene.genestrip.util.DigitTrie
Returns the value for the key given by seq[start, end).
get(byte[], int, long[]) - Method in class org.metagene.genestrip.store.KMerSortedArray
Decodes the k-mer starting at start in the nucleotide sequence and returns its stored value, see KMerSortedArray.getLong(long, long[]).
get(long) - Method in class org.metagene.genestrip.util.LargeBitVector
Returns whether the bit at the given index is set.
get(long) - Method in class org.metagene.genestrip.util.LargeShortVector
Returns the short at the given index.
get(String) - Method in class org.metagene.genestrip.util.DigitTrie
Returns the value for the given digit key, or null if absent.
get(String, Object) - Method in class org.metagene.genestrip.util.DigitTrie
Returns the value for the given digit key.
getAccClassMeanError() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the accumulated mean class error.
getAccClassStdErrorDev() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the standard deviation of the accumulated mean class error.
getAccErrorStdDev() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the standard deviation of the accumulated mean error.
getAccMeanError() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the accumulated mean error.
getAccumulated() - Method in class org.metagene.genestrip.match.CountsPerTaxid.AccValues
Returns the accumulated raw value.
getAccumulatedNormalized() - Method in class org.metagene.genestrip.match.CountsPerTaxid.AccValues
Returns the accumulated normalized value.
getAccValuesFor(CountsPerTaxid.ValueType) - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the accumulated values for the given value type.
getAdded() - Method in class org.metagene.genestrip.fastqgen.FastQWriter
Returns the number of reads added so far.
getAdditionalFile() - Method in class org.metagene.genestrip.GSProject
Returns the additional.txt file listing additional tax ids.
getAdditionalProperties() - Method in class org.metagene.genestrip.make.Project
Returns a copy of the free-form additional properties.
getAdditionalProperty(String) - Method in class org.metagene.genestrip.make.Project
Returns the value of a free-form additional property.
getAddValueIndex(V) - Method in class org.metagene.genestrip.store.AbstractKMerStore
 
getAddValueIndex(V) - Method in interface org.metagene.genestrip.store.KMerStore
Registers the value if necessary and returns its store index.
getAddValueIndex(V) - Method in class org.metagene.genestrip.store.RadixKMerStore
Registers a value like the superclass, and settles the value-index mask again afterwards: a value registered beyond RadixKMerStore.countFreeValues() needs the count bit for its index.
getAdmittedGenomes() - Method in interface org.metagene.genestrip.refseq.AccessionMap
Returns the genomes a database built from this map is to hold, or null where maxGenomesPerTaxid is not set and it is to hold all of them.
getAdmittedGenomes() - Method in class org.metagene.genestrip.refseq.AccessionMapImpl
Deprecated.
 
getAdmittedGenomes() - Method in class org.metagene.genestrip.refseq.AccessionMapTrieImpl
 
getAllAsProperties() - Method in class org.metagene.genestrip.make.Project
Returns the config parameters and the additional properties combined into a single Properties.
getAssemblyCount() - Method in class org.metagene.genestrip.refseq.AssemblySizeIndex
Returns how many assemblies are indexed, which is what an id is bounded by.
getAssemblyId() - Method in class org.metagene.genestrip.refseq.AssemblySizeIndex.Match
Returns which assembly was matched, as an id below AssemblySizeIndex.getAssemblyCount().
getAssemblyInfo(byte[], int, int) - Method in class org.metagene.genestrip.goals.refseq.AssemblyMetadataGoal
Returns what is known about the assembly the given accession belongs to, or null where none was matched.
getAssemblyInfo(String) - Method in class org.metagene.genestrip.goals.refseq.AssemblyMetadataGoal
Returns what is known about the assembly the given accession belongs to, or null where none was matched.
getAverageContigLen() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the average contig length in k-mers.
getAverageReadLength() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the average length of classified reads in base pairs.
getAvgKMerSpread(SmallTaxTree.SmallTaxIdNode) - Method in interface org.metagene.genestrip.finertree.goals.KMerIntersectCountGoal.IntersectionsPerNode
Returns the average *k*-mer spread for the parent, i.e.
getAvgKMerSpread(SmallTaxTree.SmallTaxIdNode) - Method in class org.metagene.genestrip.finertree.goals.KMerIntersectCountGoal.IntersectionsPerNodeImpl
Returns the spread sum divided by the *k*-mer count for the parent.
getAvgPrecision() - Method in class org.metagene.genestrip.finertree.goals.DBQualityCountsGoal.Counts
Returns the unweighted average precision, i.e.
getAvgRecall() - Method in class org.metagene.genestrip.finertree.goals.DBQualityCountsGoal.Counts
Returns the unweighted average recall.
getBaseDir() - Method in class org.metagene.genestrip.GSCommon
Returns the base directory under which all shared directories are located.
getBatch(RadixKMerStore.BatchBuffers, RadixKMerStore.BatchPositionConsumer<V>) - Method in class org.metagene.genestrip.store.RadixKMerStore
Batched lookup as in RadixKMerStore.getBatch(BatchBuffers, BatchValueConsumer), but the consumer also receives each k-mer's storage position - the same value RadixKMerStore.getLong(long, long[]) reports through its posStore.
getBatch(RadixKMerStore.BatchBuffers, RadixKMerStore.BatchValueConsumer<V>) - Method in class org.metagene.genestrip.store.RadixKMerStore
Batched variant of RadixKMerStore.getLong(long, long[]) that looks up all k-mers accumulated in b together, using the same phased passes as RadixKMerStore.updateBatch(BatchBuffers, UpdateValueProvider) so that many independent cache-missing loads are in flight at the same time (memory-level parallelism).
getBitSize() - Method in class org.metagene.genestrip.probfilter.BlockedBloomFilter
 
getBitSize() - Method in class org.metagene.genestrip.probfilter.BloomFilter
Returns the number of bits in the backing bit vector.
getBitSize() - Method in interface org.metagene.genestrip.probfilter.ProbFilter
Returns the size of this filter's bit set, i.e.
getBitSize() - Method in class org.metagene.genestrip.probfilter.SingleWordBloomFilter
 
getBitSize() - Method in class org.metagene.genestrip.util.LargeBitVector
Returns the current capacity in bits.
getBitsPerKey() - Method in class org.metagene.genestrip.probfilter.SingleWordBloomFilter
Returns the number of bits allocated per key.
getBranch() - Method in class org.metagene.genestrip.match.EvoDistanceEstimator.DistanceInfo
Returns the child branch that carries the most k-mers below it, or null for a leaf.
getBucketSizes() - Method in class org.metagene.genestrip.goals.refseq.FillBloomFilterGoal.DBSize
Returns the per-radix-bucket distinct k-mer counts.
getBucketSizes() - Method in class org.metagene.genestrip.goals.refseq.FillBloomFilterGoal.MyFastaReader
Returns this reader's thread-local per-radix-bucket k-mer counts.
getBufferSize() - Static method in class org.metagene.genestrip.io.BufferedLineReader
Returns the default internal buffer size (in bytes) used by newly created readers.
getBufferSize() - Static method in class org.metagene.genestrip.io.StreamProvider
Returns the buffer size used for created streams.
getBytesRead() - Method in class org.metagene.genestrip.io.ByteCountingFileInputStream
Returns the total number of bytes read so far.
getBytesRead() - Method in class org.metagene.genestrip.io.ByteCountingInputStream
Returns the total number of bytes read so far.
getBytesRead() - Method in interface org.metagene.genestrip.io.StreamingResource.StreamAccess
Returns the number of bytes read from the resource so far.
getBytesRead() - Method in class org.metagene.genestrip.tax.NCBITaxTreeFormat.EntryAccess
 
getCatalogFile() - Method in class org.metagene.genestrip.goals.refseq.RefSeqCatalogDownloadGoal
The downloaded RefSeq release catalog file.
getCategoriesFile() - Method in class org.metagene.genestrip.GSProject
Returns the categories.txt file listing tax id categories.
getCategoryForFile(File) - Method in class org.metagene.genestrip.goals.refseq.RefSeqFnaFilesDownloadGoal
The RefSeq category that the given downloaded file belongs to.
getCategoryForFileName(String) - Method in class org.metagene.genestrip.goals.refseq.RefSeqFnaFilesDownloadGoal
The selected RefSeqCategory whose directory prefixes the given file name, or null if none matches.
getChild1() - Method in class org.metagene.genestrip.finertree.cluster.DendrogramNode
Returns the first child of this internal node, or null if this node is a leaf.
getChild2() - Method in class org.metagene.genestrip.finertree.cluster.DendrogramNode
Returns the second child of this internal node, or null if this node is a leaf.
getChildWithName(byte[], int, int) - Method in class org.metagene.genestrip.tax.TaxTree.TaxIdNode
Returns the direct child whose name equals the given byte sub-array range, or null if none.
getChildWithName(String) - Method in class org.metagene.genestrip.tax.TaxTree.TaxIdNode
Returns the direct child whose name equals the given string, or null if none.
getClassErrorStdDev() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the standard deviation of the mean class error.
getCommon() - Method in class org.metagene.genestrip.GSProject
Returns the shared system configuration.
getCommonDir() - Method in class org.metagene.genestrip.GSCommon
Returns the shared common directory located under the base directory.
getComp() - Method in enum class org.metagene.genestrip.finertree.FTConfigKey.RefinementPosition.Limit
Returns the textual token of this comparison operator.
getConfigAsProperties() - Method in class org.metagene.genestrip.make.Project
Returns the configured parameter values as properties keyed by config key name.
getConfigInfo() - Method in class org.metagene.genestrip.store.Database
Returns the configuration properties describing how this database was created.
getConfigInfo() - Method in exception org.metagene.genestrip.store.InvalidDatabaseClassException
Returns the database's config info.
getConfigKeys() - Method in class org.metagene.genestrip.finertree.FTProject
 
getConfigKeys() - Method in class org.metagene.genestrip.GSProject
 
getConfigKeys() - Method in class org.metagene.genestrip.make.Project
Returns all configuration keys supported by this project.
getConsumer(int) - Method in class org.metagene.genestrip.fastq.AbstractFastqReader
Returns the consumer belonging to the given consumer index.
getContigLenStdDev() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the standard deviation of the contig length.
getContigs() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the number of contiguous k-mer sequences specific to the tax id's genome.
getContigsPerTaxid() - Method in class org.metagene.genestrip.refseq.AbstractRefSeqFastaReader
Returns the trie counting how many contigs have been included per tax id.
getCounter(long) - Method in class org.metagene.genestrip.util.LargeBitVector
Returns the two-bit counter with the given index, which occupies bits 2 * counterIndex (low) and 2 * counterIndex + 1 (high).
getCountsPerTaxid(SmallTaxTree.SmallTaxIdNode, int) - Method in class org.metagene.genestrip.match.FastqKMerMatcher
Returns the statistics object for the given store index vi, lazily creating it for the given node in a thread-safe way if necessary.
getCoverage() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the database coverage as unique k-mers divided by db k-mers.
getDataChild() - Method in class org.metagene.genestrip.tax.SmallTaxTree.SmallTaxIdNode
Returns the DATA-rank descendant of this node, searching under any refined node on the way but no further down, or null if there is none.
getDataChild() - Method in class org.metagene.genestrip.tax.TaxTree.TaxIdNode
 
getDBDir() - Method in class org.metagene.genestrip.GSProject
Returns the directory holding this project's database files.
getDBFile() - Method in class org.metagene.genestrip.GSProject
Returns the database archive file.
getDBInfoFile() - Method in class org.metagene.genestrip.GSProject
Returns the database info CSV file.
getDBInfoFile(P) - Static method in class org.metagene.genestrip.finertree.goals.FTDBInfoGoal
Returns the database-info CSV output file for the given project.
getDbKMers() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the number of specific k-mers for the tax id in the database.
getDBPath() - Method in class org.metagene.genestrip.GSProject
Returns the explicit database path for project-less operation.
getDefaultGoal() - Method in class org.metagene.genestrip.Main
Returns the name of the default goal used when none is given.
getDefaultGoalKey() - Method in class org.metagene.genestrip.make.Maker
Returns the key of this maker's default goal, or null if none was registered.
getDependencies() - Method in class org.metagene.genestrip.make.Goal
Returns the goals this goal directly depends on.
getDepth() - Method in class org.metagene.genestrip.tax.TaxTree.TaxIdNode
Returns the depth of this node (root = 0), as assigned by the last TaxTree.TaxIdNode.initPositions(int, int) traversal.
getDescendantWithName(byte[], int, int) - Method in class org.metagene.genestrip.tax.SmallTaxTree.SmallTaxIdNode
Recursively searches this node's descendants for one whose name equals the given byte sub-array range, returning the first match or null.
getDescendantWithName(String) - Method in class org.metagene.genestrip.tax.SmallTaxTree.SmallTaxIdNode
Recursively searches this node's descendants for one whose name equals the given string, returning the first match or null.
getDirectory() - Method in enum class org.metagene.genestrip.refseq.RefSeqCategory
Returns the RefSeq directory name associated with this category.
getDirForType(GSProject.FileType) - Method in class org.metagene.genestrip.finertree.FTProject
Resolves the directory for FT-specific file types (TeX), delegating to the superclass otherwise.
getDirForType(GSProject.FileType) - Method in class org.metagene.genestrip.GSProject
Resolves the storage directory for files of the given type.
getDistance() - Method in class org.metagene.genestrip.match.EvoDistanceEstimator.DistanceInfo
Returns the evolutionary distance estimate for this node.
getDistance() - Method in class org.metagene.genestrip.refseq.AssemblySizeIndex.Match
Returns how far the sum was from the assembly's recorded length.
getDistancePortion() - Method in class org.metagene.genestrip.match.EvoDistanceEstimator.DistanceInfo
Returns the per-node portion of the distance relative to the strongest child branch.
getDistinct() - Method in class org.metagene.genestrip.goals.refseq.FillSizeGoal.KMerCounts
Returns the estimated number of distinct k-mers among them.
getDistinctSketch() - Method in class org.metagene.genestrip.goals.refseq.FillSizeGoal.MyFastaReader
Returns this reader's sketch of the distinct k-mers it saw, to be merged with the others.
getDustCounter() - Method in class org.metagene.genestrip.goals.refseq.FillSizeGoal.MyFastaReader
Returns the accumulated dust count.
getDustValue() - Method in class org.metagene.genestrip.util.CGATLongBuffer
Returns the current DUST score, or -1 if DUST tracking is disabled.
getEntries() - Method in class org.metagene.genestrip.finertree.goals.AbstractKMerIndexGoal.MyFastaReader
Returns the number of entries this reader added to the filter.
getEntries() - Method in class org.metagene.genestrip.store.AbstractKMerStore
 
getEntries() - Method in interface org.metagene.genestrip.store.KMerStore
Returns the number of k-mer entries currently stored.
getEntries() - Method in class org.metagene.genestrip.store.RadixKMerStore
 
getEntriesForNode(TaxTree.TaxIdNode) - Method in interface org.metagene.genestrip.refseq.AccessionMap
Returns the number of accession entries mapped to the given node.
getEntriesForNode(TaxTree.TaxIdNode) - Method in class org.metagene.genestrip.refseq.AccessionMapImpl
Deprecated.
 
getEntriesForNode(TaxTree.TaxIdNode) - Method in class org.metagene.genestrip.refseq.AccessionMapTrieImpl
 
getErrorStdDev() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the standard deviation of the mean error.
getEvoDistance() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the evolutionary distance derived from the shared fraction.
getEvoDistanceHigh() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the upper bound of the confidence interval of the evolutionary distance.
getEvoDistanceLow() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the lower bound of the confidence interval of the evolutionary distance.
getException() - Method in exception org.metagene.genestrip.store.InvalidDatabaseClassException
Returns the wrapped invalid-class exception.
getExcluded() - Method in class org.metagene.genestrip.tax.TaxNodeSelection
Returns the tax ids that were struck out.
getExecutionContext(P) - Method in class org.metagene.genestrip.GSMaker
Returns the shared execution context, lazily creating it on first use.
getExpectedInsertions() - Method in class org.metagene.genestrip.probfilter.BloomFilter
Returns the expected number of insertions the filter is currently sized for.
getExpectedUniqueKMers() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the expected number of unique k-mers.
getExtraResources() - Method in class org.metagene.genestrip.GSProject
Hook for subclasses to supply additional input resources; returns null by default.
getExtraResourcesKey() - Method in class org.metagene.genestrip.GSProject
Hook for subclasses to supply the key for the extra resources; returns null by default.
getFastaDir() - Method in class org.metagene.genestrip.goals.genbank.FastaFilesGenbankDownloadGoal
Returns the directory into which Genbank fasta files are downloaded.
getFastaDir() - Method in class org.metagene.genestrip.GSCommon
Returns the shared fasta directory located under the common directory.
getFastaDir() - Method in class org.metagene.genestrip.GSProject
Returns the directory holding this project's fasta files.
getFastasForFile(File) - Method in class org.metagene.genestrip.goals.Fasta2FastqGoal
Returns the FASTA resources feeding the given output file.
getFastqDir() - Method in class org.metagene.genestrip.GSCommon
Returns the shared fastq directory located under the base directory.
getFastqDir() - Method in class org.metagene.genestrip.GSProject
Returns the directory holding this project's fastq files.
getFastqMapFile() - Method in class org.metagene.genestrip.GSProject
Returns the mapping file listing fastq/fasta inputs.
getFastqMapGoal() - Method in class org.metagene.genestrip.goals.MatchResultGoal
Returns the goal supplying the per-key fastq input streams.
getFastqResDir() - Method in class org.metagene.genestrip.GSProject
Returns the directory for filtered/result fastq files.
getFastqResources() - Method in class org.metagene.genestrip.GSProject
Returns the configured fastq/fasta input resources.
getFile() - Method in class org.metagene.genestrip.goals.refseq.FastaReaderGoal.FileAndNode
Returns the FASTA file.
getFile() - Method in class org.metagene.genestrip.io.StreamingFileResource
Returns the underlying file.
getFile() - Method in class org.metagene.genestrip.make.FileGoal
Returns the single output file of this goal.
getFileBaseName(String) - Method in class org.metagene.genestrip.GSProject
Strips any compression and known file type suffix from the given file name.
getFileName() - Method in class org.metagene.genestrip.genbank.AssemblySummaryReader.AssemblyEntry
Returns the derived genomic fasta file name for this assembly entry.
getFiles() - Method in class org.metagene.genestrip.finertree.goals.AllInOneLaTeXGoal
Computes the chunked output files.
getFiles() - Method in class org.metagene.genestrip.finertree.goals.DBQualityCSVGoal
Returns the single CSV output file written by this goal.
getFiles() - Method in class org.metagene.genestrip.finertree.goals.KMerBranchHistoCSVGoal
 
getFiles() - Method in class org.metagene.genestrip.finertree.goals.KMerBranchHistoRankCSVGoal
 
getFiles() - Method in class org.metagene.genestrip.goals.AdditionalDownloadsGoal
Parses the project's additional-entries file and the shared downloads.txt, resolving each declared entry to a target file plus its download URL and optional MD5 checksum.
getFiles() - Method in class org.metagene.genestrip.goals.DBDownloadGoal
 
getFiles() - Method in class org.metagene.genestrip.goals.FastqDownloadsGoal
 
getFiles() - Method in class org.metagene.genestrip.goals.genbank.AssemblyFileDownloadGoal
 
getFiles() - Method in class org.metagene.genestrip.goals.genbank.FastaFilesGenbankDownloadGoal
 
getFiles() - Method in class org.metagene.genestrip.goals.refseq.KMerRankStatsCSVGoal
 
getFiles() - Method in class org.metagene.genestrip.goals.refseq.RefSeqCatalogDownloadGoal
Resolves the catalog and files.installed file paths for the current RefSeq release, making the release-number goal first to learn the release number.
getFiles() - Method in class org.metagene.genestrip.goals.refseq.RefSeqFnaFilesDownloadGoal
Builds the deterministically ordered list of .fna files to download by scanning the catalog's files.installed for relevant files in the selected categories.
getFiles() - Method in class org.metagene.genestrip.goals.refseq.RefSeqRNumDownloadGoal
 
getFiles() - Method in class org.metagene.genestrip.goals.refseq.SVGTaxTreeGoal
 
getFiles() - Method in class org.metagene.genestrip.goals.TaxIdFileDownloadGoal
 
getFiles() - Method in class org.metagene.genestrip.make.FileGoal
Returns the list of output files produced by this goal.
getFiles() - Method in class org.metagene.genestrip.make.FileListGoal
Returns the output files, invoking FileListGoal.provideFiles() once on first access.
getFilesToClean() - Method in class org.metagene.genestrip.make.FileGoal
Returns the files to delete when cleaning this goal; by default the output files.
getFileType() - Method in class org.metagene.genestrip.goals.FilterGoal
 
getFileType() - Method in class org.metagene.genestrip.goals.MultiFileGoal
Returns the file type of the produced output files.
getFilter() - Method in class org.metagene.genestrip.store.AbstractKMerStore
 
getFilter() - Method in interface org.metagene.genestrip.store.KMerStore
Returns the probabilistic pre-filter currently used by this store.
getFilterFile(Goal<P>) - Method in class org.metagene.genestrip.GSProject
Resolves the filter file for the given goal.
getFont(Graphics2D, SmallTaxTree.SmallTaxIdNode, Object2LongMap<String>) - Method in class org.metagene.genestrip.match.TaxTreePainter
Returns the font to use for the given node's label, using the requested font for requested nodes and the standard font otherwise.
getFpp() - Method in class org.metagene.genestrip.probfilter.BloomFilter
Returns the target false-positive probability.
getFpp(long) - Method in class org.metagene.genestrip.probfilter.BlockedBloomFilter
Returns the false-positive probability this filter has reached after the given number of insertions, which is not the rate it was sized for: that one holds at the number of expected insertions it was built with and is exceeded beyond them.
getFpp(long) - Method in class org.metagene.genestrip.probfilter.BloomFilter
Returns the false-positive probability the filter has reached after the given number of insertions.
getFTPBaseURL() - Method in class org.metagene.genestrip.goals.GSFileDownloadGoal
 
getFTPBaseURL() - Method in class org.metagene.genestrip.goals.refseq.RefSeqDownloadGoal
 
getFTPBaseURL() - Method in class org.metagene.genestrip.make.FileDownloadGoal
Returns the host / base URL used for FTP downloads.
getFtpClient() - Method in class org.metagene.genestrip.make.FileDownloadGoal
Returns the FTP client currently used for downloads, or null if none has been created.
getFTPDir(File) - Method in class org.metagene.genestrip.goals.AdditionalDownloadsGoal
 
getFTPDir(File) - Method in class org.metagene.genestrip.goals.DBDownloadGoal
 
getFTPDir(File) - Method in class org.metagene.genestrip.goals.FastqDownloadsGoal
 
getFTPDir(File) - Method in class org.metagene.genestrip.goals.genbank.AssemblyFileDownloadGoal
 
getFTPDir(File) - Method in class org.metagene.genestrip.goals.genbank.FastaFilesGenbankDownloadGoal
 
getFTPDir(File) - Method in class org.metagene.genestrip.goals.refseq.RefSeqCatalogDownloadGoal
 
getFTPDir(File) - Method in class org.metagene.genestrip.goals.refseq.RefSeqFnaFilesDownloadGoal
 
getFTPDir(File) - Method in class org.metagene.genestrip.goals.refseq.RefSeqRNumDownloadGoal
 
getFTPDir(File) - Method in class org.metagene.genestrip.goals.TaxIdFileDownloadGoal
 
getFTPDir(File) - Method in class org.metagene.genestrip.make.FileDownloadGoal
Returns the remote directory (relative to the base URL) that contains the given file.
getFtpDirFromURL(String) - Method in class org.metagene.genestrip.goals.genbank.FastaFilesGenbankDownloadGoal
Returns the FTP directory of the given URL relative to the configured HTTP base URL, or null if the URL is not below that base URL.
getFtpURL() - Method in class org.metagene.genestrip.genbank.AssemblySummaryReader.AssemblyEntry
Returns the FTP directory URL of the assembly.
getGap() - Method in class org.metagene.genestrip.goals.refseq.AssemblyMetadataGoal
Returns how many bases a sum of sequence lengths may differ from an assembly's recorded length and still be taken for that assembly.
getGenbankDir() - Method in class org.metagene.genestrip.GSCommon
Returns the shared genbank directory located under the common directory.
getGenestripRuntimeTitle() - Static method in class org.metagene.genestrip.GSProject
Returns the Genestrip runtime title read from the jar manifest.
getGenestripRuntimeVersion() - Static method in class org.metagene.genestrip.GSProject
Returns the Genestrip runtime version read from the jar manifest.
getGlobalStats() - Method in class org.metagene.genestrip.match.MatchingResult
Returns the global totals across all tax ids.
getGlobalUpdateInterval() - Static method in class org.metagene.genestrip.util.progressbar.GSProgressBarCreator
Returns the default refresh interval (in milliseconds) used for newly created progress bars.
getGoal(String) - Method in class org.metagene.genestrip.make.Maker
Returns the goal whose key has the given name, or null if there is none.
getGoal(GoalKey) - Method in class org.metagene.genestrip.make.Maker
Returns the goal registered under the given key, or null if there is none.
getGoalKeys() - Method in class org.metagene.genestrip.make.Maker
Returns the keys of all registered goals.
getGoals() - Method in class org.metagene.genestrip.make.Maker
Returns all registered goals in registration order.
getGoals(GoalKey...) - Method in class org.metagene.genestrip.make.Maker
Returns the goals registered under the given keys, in the given order.
getHashBits() - Method in class org.metagene.genestrip.probfilter.SingleWordBloomFilter
Returns the number of bits a key sets within its word.
getHttpBaseURL() - Method in class org.metagene.genestrip.goals.GSFileDownloadGoal
 
getHttpBaseURL() - Method in class org.metagene.genestrip.goals.refseq.CheckRefSeqRNumGoal
Returns the base HTTP URL used to reach the RefSeq download location.
getHttpBaseURL() - Method in class org.metagene.genestrip.goals.refseq.RefSeqDownloadGoal
 
getHttpBaseURL() - Method in class org.metagene.genestrip.make.FileDownloadGoal
Returns the base URL used for HTTP downloads.
getIncludedKmers() - Method in class org.metagene.genestrip.goals.refseq.FillSizeGoal.MyFastaReader
Returns the number of included k-mers counted so far.
getIndex() - Method in class org.metagene.genestrip.fastq.AbstractFastqReader.ConsumerRunnable
Returns the index of this consumer among the reader's consumers.
getIndexForValue(V) - Method in class org.metagene.genestrip.store.AbstractKMerStore
 
getIndexForValue(V) - Method in interface org.metagene.genestrip.store.KMerStore
Returns the store index of the given value.
getInfo() - Method in enum class org.metagene.genestrip.finertree.FTConfigKey
Returns the parameter descriptor holding the type, value range and default value of this configuration key.
getInfo() - Method in enum class org.metagene.genestrip.GSConfigKey
 
getInfo() - Method in interface org.metagene.genestrip.make.ConfigKey
Returns the descriptor of this parameter's value type, valid range and default value.
getInputStream() - Method in interface org.metagene.genestrip.io.StreamingResource.StreamAccess
Returns the input stream to read the resource's data from.
getInputStream() - Method in class org.metagene.genestrip.tax.NCBITaxTreeFormat.EntryAccess
 
getInputStreamForFile(File) - Static method in class org.metagene.genestrip.io.StreamProvider
Opens a buffered input stream for the file, transparently decompressing it if its name indicates a GZIP file.
getInputStreamForFile(File, boolean) - Static method in class org.metagene.genestrip.io.StreamProvider
Opens a buffered input stream for the file.
getInstalledFilesFile() - Method in class org.metagene.genestrip.goals.refseq.RefSeqCatalogDownloadGoal
The downloaded files.installed listing that accompanies the catalog.
getInstance() - Static method in class org.metagene.genestrip.util.GSLogFactory
Returns the lazily created singleton factory.
getIntersectionCount(SmallTaxTree.SmallTaxIdNode, int, int, boolean) - Method in interface org.metagene.genestrip.finertree.goals.KMerIntersectCountGoal.IntersectionsPerNode
Returns the number of *k*-mers present in both of the given child subtrees of the parent (or, when child1 == child2, the number of *k*-mers present in that single subtree).
getIntersectionCount(SmallTaxTree.SmallTaxIdNode, int, int, boolean) - Method in class org.metagene.genestrip.finertree.goals.KMerIntersectCountGoal.IntersectionsPerNodeImpl
Looks up the intersection count for the pair of slots (i, j) and, when withDescendantCounts is set on the diagonal (i == j), adds the child's recursively accumulated descendant *k*-mer counts.
getJaccardIndex(SmallTaxTree.SmallTaxIdNode, int, int, boolean) - Method in interface org.metagene.genestrip.finertree.goals.KMerIntersectCountGoal.IntersectionsPerNode
Returns the Jaccard index between the two given child subtrees of the parent, optionally enlarging the two set sizes by the descendant *k*-mer counts of the two children.
getJaccardIndex(SmallTaxTree.SmallTaxIdNode, int, int, boolean) - Method in class org.metagene.genestrip.finertree.goals.KMerIntersectCountGoal.IntersectionsPerNodeImpl
Computes the Jaccard index of slots i and j as |A ∩ B| / |A ∪ B| from the stored intersection counts, or the containment |A ∩ B| / min(|A|, |B|) where FTConfigKey.JACCARD_SIM is off.
getK() - Method in class org.metagene.genestrip.match.MatchingResult
Returns the k-mer length used for matching.
getK() - Method in class org.metagene.genestrip.store.AbstractKMerStore
 
getK() - Method in interface org.metagene.genestrip.store.KMerStore
Returns the k-mer length (k) of this store.
getKey() - Method in class org.metagene.genestrip.GSProject
Returns the key used as a prefix for result file names.
getKey() - Method in class org.metagene.genestrip.make.Goal
Returns the key identifying this goal.
getKey() - Method in class org.metagene.genestrip.refseq.AssemblyInfo
Returns the genome key shared by every sequence of this assembly.
getKeyByName(String) - Method in class org.metagene.genestrip.make.Maker
Returns the registered goal key with the given name, or null if there is none.
getKMer() - Method in class org.metagene.genestrip.util.CGATLongBuffer
Returns the current straight k-mer encoding, or -1 if fewer than k bases have been buffered.
getKMerAt(long) - Method in class org.metagene.genestrip.store.KMerSortedArray
Returns the k-mer stored at the given storage position.
getKMerConsistency() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the ratio of unique k-mers to expected unique k-mers.
getKMers() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns all matched k-mers specific to the tax id's genome.
getKMersHitOnce() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the number of the tax id's stored k-mers hit exactly once.
getKMersHitTwice() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the number of the tax id's stored k-mers hit exactly twice.
getKMerSpreadSum(SmallTaxTree.SmallTaxIdNode) - Method in interface org.metagene.genestrip.finertree.goals.KMerIntersectCountGoal.IntersectionsPerNode
Returns the sum of the spread values (number of subtrees each *k*-mer occurs in) over all *k*-mers of the parent.
getKMerSpreadSum(SmallTaxTree.SmallTaxIdNode) - Method in class org.metagene.genestrip.finertree.goals.KMerIntersectCountGoal.IntersectionsPerNodeImpl
Returns the accumulated *k*-mer spread sum stored in the second-to-last entry of the parent's count array, or 0 when the parent is unknown.
getKmerStore() - Method in class org.metagene.genestrip.store.Database
Returns the k-mer store backing this database.
getKMerSum(SmallTaxTree.SmallTaxIdNode) - Method in interface org.metagene.genestrip.finertree.goals.KMerIntersectCountGoal.IntersectionsPerNode
Returns the number of *k*-mers counted for the parent.
getKMerSum(SmallTaxTree.SmallTaxIdNode) - Method in class org.metagene.genestrip.finertree.goals.KMerIntersectCountGoal.IntersectionsPerNodeImpl
Returns the accumulated *k*-mer count stored in the last entry of the parent's count array, or 0 when the parent is unknown.
getKmerSumForNode() - Method in class org.metagene.genestrip.finertree.goals.DBQualityCountsGoal.Counts
Returns the number of k-mers stored under this node alone.
getKrakenOutDir() - Method in class org.metagene.genestrip.GSProject
Returns the directory holding Kraken output files.
getLeaves() - Method in class org.metagene.genestrip.finertree.goals.DBQualityCountsGoal.Counts
Returns the number of leaves aggregated into this tally.
getLevel() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the depth in the taxonomy tree, where the root is zero.
getLevel() - Method in class org.metagene.genestrip.refseq.AssemblyInfo
Returns the assembly level as the summary records it.
getLevel() - Method in class org.metagene.genestrip.refseq.AssemblySizeIndex.Match
Returns the assembly level of the nearest assembly within the gap.
getLevel() - Method in enum class org.metagene.genestrip.tax.Rank
Returns this rank's numeric level.
getLevel() - Method in class org.metagene.genestrip.tax.SmallTaxTree.SmallTaxIdNode
Returns the depth of this node in the tree (the root has level 0), computed by walking up to the root.
getLevel() - Method in class org.metagene.genestrip.util.GSLogFactory.GSLog
 
getLimit() - Method in class org.metagene.genestrip.finertree.FTConfigKey.RefinementPosition
Returns the comparison operator of this position.
getList() - Method in class org.metagene.genestrip.io.StreamingResourceListStream
Returns the list of resources backing this stream.
getLoadDBGoal() - Method in class org.metagene.genestrip.finertree.FinerTreeMaker
Returns the goal used to load the database for API access, choosing the FT database (FTGoalKey.LOAD_FTDB) when FinerTreeMaker.isUseFTDBForAPI() is set and otherwise the standard Genestrip load goal.
getLoadDBGoal() - Method in class org.metagene.genestrip.GSMaker
Returns the goal that loads the project's database.
getLog(String) - Static method in class org.metagene.genestrip.util.GSLogFactory
Returns the shared logger with the given name, creating it if necessary.
getLogByName(String) - Method in class org.metagene.genestrip.util.GSLogFactory
Returns the shared logger with the given name, creating and caching it if necessary.
getLogDir() - Method in class org.metagene.genestrip.GSProject
Returns the directory holding log files.
getLogger() - Method in class org.metagene.genestrip.fasta.AbstractFastaReader
Returns the logger used by this reader.
getLogger() - Method in class org.metagene.genestrip.fastq.AbstractFastqReader
Returns the logger used by this reader.
getLogger() - Method in class org.metagene.genestrip.fastqgen.FastQWriter
Returns the logger used by this writer.
getLogger() - Method in class org.metagene.genestrip.make.Goal
Returns the logger for this goal.
getLogger() - Method in class org.metagene.genestrip.make.Maker
Returns the logger of this maker.
getLogger() - Method in class org.metagene.genestrip.make.Project
Returns the logger of this project.
getLogin() - Method in class org.metagene.genestrip.make.FileDownloadGoal
Returns the FTP login name; "anonymous" by default.
getLogLevel() - Method in class org.metagene.genestrip.util.GSLogFactory
Returns the current shared log level.
getLogUpdateCycle() - Method in class org.metagene.genestrip.DefaultExecutionContext
 
getLogUpdateCycle() - Method in interface org.metagene.genestrip.ExecutionContext
Returns the interval, in processed units, between progress log updates.
getLogUpdateCycle() - Method in class org.metagene.genestrip.fastq.AbstractLoggingFastqStreamer
Returns the number of reads between progress log updates.
getLong(long, long[]) - Method in class org.metagene.genestrip.store.KMerSortedArray
 
getLong(long, long[]) - Method in interface org.metagene.genestrip.store.KMerStore
Looks up the value stored under the given k-mer.
getLong(long, long[]) - Method in class org.metagene.genestrip.store.RadixKMerStore
 
getLongValue() - Method in class org.metagene.genestrip.util.StringLongDigitTrie.StringLong
Returns the long value (counter) of this pairing.
getLowestCommonAncestor(SmallTaxTree.SmallTaxIdNode, SmallTaxTree.SmallTaxIdNode) - Method in class org.metagene.genestrip.tax.SmallTaxTree
Returns the lowest common ancestor of the two nodes, or null if they have none in common.
getLowestCommonAncestor(TaxTree.TaxIdNode, TaxTree.TaxIdNode) - Method in class org.metagene.genestrip.tax.TaxTree
Returns the lowest common ancestor of the two nodes, or null if they have none in common.
getMainThread() - Method in class org.metagene.genestrip.GSMaker
Returns the thread that drives goal execution.
getMaker() - Method in class org.metagene.genestrip.Main
Returns the maker created during parsing.
getMatchingNodeFor(TaxIdInfo, Collection<FTConfigKey.RefinementPosition>) - Static method in class org.metagene.genestrip.finertree.FTConfigKey.RefinementPosition
Finds the first refinement position in the collection that matches the given node.
getMaxContigDescriptor() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the descriptor of the read holding the longest contig.
getMaxContigLen() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the maximum contig length in k-mers.
getMaxDownloadTries() - Method in class org.metagene.genestrip.goals.GSFileDownloadGoal
 
getMaxDownloadTries() - Method in class org.metagene.genestrip.make.FileDownloadGoal
Returns the maximum number of download attempts per file before giving up.
getMaxDust() - Method in class org.metagene.genestrip.util.CGATLongBuffer
Returns the maximum tolerated DUST score, or a negative value if DUST tracking is disabled.
getMaxLevel(SmallTaxTree) - Method in class org.metagene.genestrip.match.TaxTreePainter
Returns the maximum node depth (level) occurring in the tree.
getMaxValues() - Method in class org.metagene.genestrip.store.AbstractKMerStore
 
getMaxValues() - Method in interface org.metagene.genestrip.store.KMerStore
Returns the value-index capacity of this store.
getMD5CheckSum(File) - Method in class org.metagene.genestrip.goals.AdditionalDownloadsGoal
 
getMD5CheckSum(File) - Method in class org.metagene.genestrip.goals.DBDownloadGoal
 
getMD5CheckSum(File) - Method in class org.metagene.genestrip.goals.refseq.RefSeqFnaFilesDownloadGoal
 
getMD5CheckSum(File) - Method in class org.metagene.genestrip.make.FileDownloadGoal
Returns the expected MD5 check sum for the given file, or null if none is known and no verification should take place; null by default.
getMDDefaultValue() - Method in class org.metagene.genestrip.GSConfigKey.GenomesOnlyConfigParamInfo
 
getMDDefaultValue() - Method in class org.metagene.genestrip.GSConfigKey.UpdateScopeConfigParamInfo
 
getMDDefaultValue() - Method in class org.metagene.genestrip.make.ConfigParamInfo
Returns the default value rendered for Markdown documentation.
getMDDefaultValue() - Method in class org.metagene.genestrip.make.ConfigParamInfo.ListConfigParamInfo
 
getMDRangeDescriptor() - Method in class org.metagene.genestrip.finertree.FTConfigKey.MethodConfigParamInfo
Returns a Markdown fragment listing all available clustering method names as the value range of this parameter.
getMDRangeDescriptor() - Method in class org.metagene.genestrip.GSConfigKey.BloomFilterSizingConfigParamInfo
 
getMDRangeDescriptor() - Method in class org.metagene.genestrip.GSConfigKey.FastaQualitiesConfigInfo
 
getMDRangeDescriptor() - Method in class org.metagene.genestrip.GSConfigKey.GenomesOnlyConfigParamInfo
 
getMDRangeDescriptor() - Method in class org.metagene.genestrip.GSConfigKey.LogLevelConfigParamInfo
 
getMDRangeDescriptor() - Method in class org.metagene.genestrip.GSConfigKey.RankConfigParamInfo
 
getMDRangeDescriptor() - Method in class org.metagene.genestrip.GSConfigKey.RefSeqStatusConfigInfo
 
getMDRangeDescriptor() - Method in class org.metagene.genestrip.GSConfigKey.SeqTypeConfigParamInfo
 
getMDRangeDescriptor() - Method in class org.metagene.genestrip.GSConfigKey.UpdateScopeConfigParamInfo
 
getMDRangeDescriptor() - Method in class org.metagene.genestrip.make.ConfigParamInfo.BooleanConfigParamInfo
 
getMDRangeDescriptor() - Method in class org.metagene.genestrip.make.ConfigParamInfo.DoubleConfigParamInfo
 
getMDRangeDescriptor() - Method in class org.metagene.genestrip.make.ConfigParamInfo
Returns a Markdown description of the allowed range; empty by default.
getMDRangeDescriptor() - Method in class org.metagene.genestrip.make.ConfigParamInfo.IntConfigParamInfo
 
getMDRangeDescriptor() - Method in class org.metagene.genestrip.make.ConfigParamInfo.LongConfigParamInfo
 
getMDRangeDescriptor() - Method in class org.metagene.genestrip.make.ConfigParamInfo.StringConfigParamInfo
 
getMeanClassError() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the mean class error over reads.
getMeanError() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the mean k-mer error over classified reads.
getMissingKMers() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the estimated number of the tax id's stored k-mers the sample lacks.
getName() - Method in enum class org.metagene.genestrip.finertree.FTConfigKey
Returns the textual name of this configuration key as used in property files and on the command line.
getName() - Method in enum class org.metagene.genestrip.finertree.FTGoalKey
Returns the textual name of this goal as used on the command line.
getName() - Method in enum class org.metagene.genestrip.GSConfigKey.BloomFilterSizing
Returns the name this value carries in a configuration file.
getName() - Method in enum class org.metagene.genestrip.GSConfigKey.GenomesOnly
Returns the name this value carries in a configuration file.
getName() - Method in enum class org.metagene.genestrip.GSConfigKey
 
getName() - Method in enum class org.metagene.genestrip.GSConfigKey.RefSeqStatus
Returns the RefSeq status name associated with this status value.
getName() - Method in enum class org.metagene.genestrip.GSConfigKey.UpdateScope
Returns the name this value carries in a configuration file.
getName() - Method in enum class org.metagene.genestrip.GSGoalKey
 
getName() - Method in class org.metagene.genestrip.io.StreamingFileResource
 
getName() - Method in interface org.metagene.genestrip.io.StreamingResource
Returns the name of this resource.
getName() - Method in class org.metagene.genestrip.io.StreamingURLResource
 
getName() - Method in interface org.metagene.genestrip.make.ConfigKey
Returns the name of this configuration parameter.
getName() - Method in class org.metagene.genestrip.make.GoalKey.DefaultGoalKey
 
getName() - Method in interface org.metagene.genestrip.make.GoalKey
Returns the name used to look up the goal identified by this key.
getName() - Method in class org.metagene.genestrip.make.Project
Returns the project name.
getName() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the name associated with the tax id.
getName() - Method in enum class org.metagene.genestrip.match.CountsPerTaxid.ValueType
Returns the display name of this value type.
getName() - Method in enum class org.metagene.genestrip.tax.Rank
Returns this rank's name.
getName() - Method in class org.metagene.genestrip.tax.TaxIdInfo
Returns the name of this node.
getName() - Method in class org.metagene.genestrip.util.GSLogFactory.GSLog
Returns this logger's name.
getNKmersPerTaxid() - Method in class org.metagene.genestrip.store.AbstractKMerStore
 
getNKmersPerTaxid() - Method in interface org.metagene.genestrip.store.KMerStore
Returns the number of stored k-mers per value (the null key maps to the total number of entries), computed by visiting every entry.
getNode() - Method in class org.metagene.genestrip.goals.refseq.FastaReaderGoal.FileAndNode
Returns the associated tax node, or null if there is none.
getNode() - Method in class org.metagene.genestrip.match.EvoDistanceEstimator.DistanceInfo
Returns the taxonomy node this distance information describes.
getNode(byte[], int, int, boolean) - Method in class org.metagene.genestrip.tax.TaxTree.Builder
Returns the node with the tax id given by the byte sub-array range, optionally creating it.
getNode(String, boolean) - Method in class org.metagene.genestrip.tax.TaxTree.Builder
Returns the node with the given tax id, optionally creating it.
getNodeByTaxId(byte[], int, int) - Method in class org.metagene.genestrip.tax.TaxTree
Returns the node whose tax id equals the given byte sub-array range, or null if there is none.
getNodeByTaxId(String) - Method in class org.metagene.genestrip.tax.SmallTaxTree
Looks up the node with the given tax id via the lookup trie.
getNodeByTaxId(String) - Method in class org.metagene.genestrip.tax.TaxTree
Returns the node with the given tax id, or null if there is none.
getNodeCount() - Method in class org.metagene.genestrip.tax.SmallTaxTree
Returns the number of nodes, which is also the number of distinct TaxIdInfo.getPosition() values - so an array indexed by position needs exactly this many entries.
getNodePrecision() - Method in class org.metagene.genestrip.finertree.goals.DBQualityCountsGoal.Counts
Returns the node precision of this node, i.e.
getNodesForPositions(Database, Collection<FTConfigKey.RefinementPosition>) - Static method in class org.metagene.genestrip.finertree.goals.KMerIntersectCSVGoal
Collects the taxonomy nodes eligible to receive a CSV report: those matching one of the given refinement positions that have at least one child node and whose tax id has a positive *k*-mer count in the database statistics.
getNodeText(EvoDistanceEstimator.DistanceInfo, Object2LongMap<String>) - Method in class org.metagene.genestrip.match.TaxTreePainter
Builds a node's label, comprising its name, tax id (optionally rank), stored k-mer count and, if enabled, its distance and distance portion.
getNormalizedFor(CountsPerTaxid.ValueType) - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the normalized value for the given value type.
getNumberOfSubNodes() - Method in class org.metagene.genestrip.tax.SmallTaxTree.SmallTaxIdNode
Returns the number of child nodes of this node.
getNValues() - Method in class org.metagene.genestrip.store.AbstractKMerStore
 
getNValues() - Method in interface org.metagene.genestrip.store.KMerStore
Returns the number of distinct values currently registered.
getOptions() - Method in class org.metagene.genestrip.Main
Returns the command line option set.
getOtherChild() - Method in class org.metagene.genestrip.tax.TaxTree.TaxIdNode
Returns the direct OTHER-rank child of this node, or null if none.
getOutputFile(File, String, String, String, String, GSProject.FileType, boolean) - Method in class org.metagene.genestrip.GSProject
Builds an output file in the given directory whose name is composed from an optional project prefix, a goal/key infix and the base file name (with the input suffix stripped), followed by the type's suffix and an optional .gz extension.
getOutputFile(File, String, String, String, GSProject.FileType, boolean) - Method in class org.metagene.genestrip.GSProject
Resolves the output file for the given goal, key, base file name and file type in the given directory, using the default project prefix.
getOutputFile(String) - Method in class org.metagene.genestrip.goals.DB2FastqGoal
Returns the output FASTQ file for the given tax id.
getOutputFile(String, String, String, GSProject.FileType, boolean) - Method in class org.metagene.genestrip.GSProject
Resolves the output file for the given goal, key, base file name and file type, in the directory associated with the file type.
getOutputFile(String, String, GSProject.FileType) - Method in class org.metagene.genestrip.GSProject
Resolves the gzip-compressed output file for the given goal, base file name and file type.
getOutputFile(String, GSProject.FileType) - Method in class org.metagene.genestrip.GSProject
Resolves the gzip-compressed output file for the given goal and file type.
getOutputFile(String, GSProject.FileType, boolean) - Method in class org.metagene.genestrip.GSProject
Resolves the output file for the given goal and file type.
getOutputFileGoalPrefix(String, String) - Method in class org.metagene.genestrip.GSProject
Builds the goal/key infix used in output file names, URL-encoding the key (truncated to 256 characters) and joining it to the goal with an underscore when both are present.
getOutputFilePrefix(String) - Method in class org.metagene.genestrip.GSProject
Builds the project-specific prefix for output file names.
getOutputStreamForFile(File) - Static method in class org.metagene.genestrip.io.StreamProvider
Opens a buffered output stream for the file, transparently GZIP-compressing what is written if its name indicates a GZIP file.
getOutputStreamForFile(File, boolean) - Static method in class org.metagene.genestrip.io.StreamProvider
Opens a buffered output stream for the file.
getOverspreadRatio(SmallTaxTree.SmallTaxIdNode) - Method in interface org.metagene.genestrip.finertree.goals.KMerIntersectCountGoal.IntersectionsPerNode
Returns the overspread ratio for the parent, normalising the average spread above the minimum of two to the range spanned up to the maximum possible spread (number of children plus the "OTHER" slot).
getOverspreadRatio(SmallTaxTree.SmallTaxIdNode) - Method in class org.metagene.genestrip.finertree.goals.KMerIntersectCountGoal.IntersectionsPerNodeImpl
Returns the average spread rescaled so that the minimum spread of two maps to 0 and the maximum possible spread (number of children plus the "OTHER" slot) maps to 1.
getParent() - Method in class org.metagene.genestrip.tax.SmallTaxTree.SmallTaxIdNode
Returns the parent of this node, or null for the root.
getParent() - Method in class org.metagene.genestrip.tax.TaxIdInfo
Returns the parent node of this node.
getParent() - Method in class org.metagene.genestrip.tax.TaxTree.TaxIdNode
 
getParentNodes() - Method in interface org.metagene.genestrip.finertree.goals.KMerIntersectCountGoal.IntersectionsPerNode
Returns the set of parent nodes for which statistics have been collected.
getParentNodes() - Method in class org.metagene.genestrip.finertree.goals.KMerIntersectCountGoal.IntersectionsPerNodeImpl
Returns an unmodifiable view of the parent nodes for which counts have been accumulated.
getParentTaxId() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the parent tax id.
getPassword() - Method in class org.metagene.genestrip.make.FileDownloadGoal
Returns the FTP password; "anonymous" by default.
getPathSum(SmallTaxTree.SmallTaxIdNode, Object2LongMap) - Method in class org.metagene.genestrip.finertree.goals.AbstractDBQualityGoal
Sums the per-tax-id stored k-mer counts along the path from a node up to the root.
getPos() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the sort position of this entry.
getPosition() - Method in class org.metagene.genestrip.tax.TaxIdInfo
Returns the position of this node within the taxonomy tree.
getPrecision() - Method in class org.metagene.genestrip.finertree.goals.DBQualityCountsGoal.Counts
Returns the weighted average path precision of the subtree rooted at this node, i.e.
getProgressBar(GSProgressUpdate) - Method in class org.metagene.genestrip.match.TaxTreePainter
Returns a progress bar to track painting, or null (the default) for none.
getProgressBarTaskName() - Method in class org.metagene.genestrip.fastq.AbstractLoggingFastqStreamer
Returns the task name displayed on the progress bar.
getProgressBarTaskName() - Method in class org.metagene.genestrip.refseq.AccessionFileProcessor
Returns the task name shown on the progress bar.
getProject() - Method in class org.metagene.genestrip.Main
Returns the project created during parsing.
getProject() - Method in class org.metagene.genestrip.make.Goal
Returns the project this goal belongs to.
getProject() - Method in class org.metagene.genestrip.make.Maker
Returns the project this maker builds goals for.
getProjectDir() - Method in class org.metagene.genestrip.GSProject
Returns this project's directory.
getProjectsDir() - Method in class org.metagene.genestrip.GSProject
Returns the base projects directory containing all project directories.
getQuality() - Method in class org.metagene.genestrip.genbank.AssemblySummaryReader.AssemblyEntry
Returns the assembly quality level of this entry.
getRadixBits() - Method in class org.metagene.genestrip.store.RadixKMerStore
Returns the number of low k-mer bits this store uses as its radix index.
getRank() - Method in class org.metagene.genestrip.finertree.FTConfigKey.RefinementPosition
Returns the rank of this position.
getRank() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the rank of the tax id.
getRank() - Method in class org.metagene.genestrip.tax.TaxIdInfo
Returns the rank of this node.
getRankFromBytes(byte[], int, int) - Static method in enum class org.metagene.genestrip.tax.Rank
Returns the rank whose name matches the given byte sub-array range, or null if none matches.
getRankOrdinal() - Method in class org.metagene.genestrip.tax.TaxIdInfo
Returns the rank of this node as its enum ordinal.
getReads() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the number of reads classified to the tax id.
getReads1KMer() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the number of reads with at least one k-mer of the tax id.
getReadsBPs() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the total number of base pairs of classified reads.
getReadsKMers() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the number of k-mers from classified reads consistent with the read's tax id.
getRecall() - Method in class org.metagene.genestrip.finertree.goals.DBQualityCountsGoal.Counts
Returns the weighted recall.
getRefSeqContigs() - Method in class org.metagene.genestrip.tax.TaxTree.TaxIdNode
Returns the number of RefSeq contigs associated with this node.
getRefSeqDir() - Method in class org.metagene.genestrip.GSCommon
Returns the shared refseq directory located under the common directory.
getRegisteredValueIndex(V) - Method in class org.metagene.genestrip.store.AbstractKMerStore
Resolves an already registered value to its store index with a lock-free read, for the concurrent fill and update paths.
getRelevantEntries(Set<TaxTree.TaxIdNode>, List<AssemblySummaryReader.AssemblyQuality>, boolean, boolean, int[]) - Method in class org.metagene.genestrip.genbank.AssemblySummaryReader
Parses the summary file and groups the assembly entries by taxonomy node.
getResources(String) - Method in class org.metagene.genestrip.goals.FastqMapGoal
Resolves a path or URL string to the corresponding streaming resources, or null if none exist.
getRestArgs() - Method in class org.metagene.genestrip.Main
Returns the non-option arguments (project name followed by goal names).
getRestrictedSubtreePrecision() - Method in class org.metagene.genestrip.finertree.goals.DBQualityCountsGoal.Counts
Returns the subtree precision restricted to the k-mers stored above the data taxa, i.e.
getResultsDir() - Method in class org.metagene.genestrip.GSProject
Returns the directory holding CSV/result files.
getReverseKMer() - Method in class org.metagene.genestrip.util.CGATLongBuffer
Returns the current reverse-complement k-mer encoding, or -1 if fewer than k bases have been buffered.
getRoot() - Method in class org.metagene.genestrip.tax.SmallTaxTree
Returns the root node of the tree, or null if the tree is empty.
getRoot() - Method in class org.metagene.genestrip.tax.TaxTree
Returns the root node of the tree.
getSampledCount() - Method in class org.metagene.genestrip.finertree.probfilter.DistinctPairSketch
Returns the size of the sample behind the last estimate, before it was scaled up.
getSampleScale() - Method in class org.metagene.genestrip.finertree.probfilter.DistinctPairSketch
Returns the factor the sample is scaled by to stand for the whole population.
getSelected() - Method in class org.metagene.genestrip.tax.TaxNodeSelection
Returns the tax ids the database is to hold.
getSharedFraction() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the estimated share of the tax id's stored k-mers that the sample contains.
getSharedFractionHigh() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the upper bound of the confidence interval of the shared fraction.
getSharedFractionLow() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the lower bound of the confidence interval of the shared fraction.
getSimilarity() - Method in class org.metagene.genestrip.finertree.cluster.DendrogramNode
Returns the similarity associated with this node: for an internal node this is the similarity at which its two children were merged.
getSimilarity(int, int) - Method in interface org.metagene.genestrip.finertree.cluster.Similarity
Returns the similarity between the items at indices i and j.
getSize() - Method in class org.metagene.genestrip.goals.refseq.FillBloomFilterGoal.DBSize
Returns the total estimated number of distinct k-mers.
getSize() - Method in class org.metagene.genestrip.io.StreamingFileResource
 
getSize() - Method in interface org.metagene.genestrip.io.StreamingResource
Returns the total size of this resource in bytes, or -1 if unknown.
getSize() - Method in interface org.metagene.genestrip.io.StreamingResource.StreamAccess
Returns the total size of the resource in bytes, or -1 if unknown.
getSize() - Method in class org.metagene.genestrip.store.AbstractKMerStore
 
getSize() - Method in interface org.metagene.genestrip.store.KMerStore
Returns the reserved capacity of this store.
getSize() - Method in class org.metagene.genestrip.tax.NCBITaxTreeFormat.EntryAccess
 
getSize() - Method in class org.metagene.genestrip.util.CGATLongBuffer
Returns the k-mer length in bases.
getSize() - Method in class org.metagene.genestrip.util.LargeShortVector
Returns the current size (number of shorts) of the vector.
getSpeciesTaxid() - Method in class org.metagene.genestrip.genbank.AssemblySummaryReader.AssemblyEntry
Returns the species-level tax id of this assembly entry.
getStandardKMer() - Method in class org.metagene.genestrip.util.CGATLongBuffer
Returns the current canonical (standard) k-mer encoding, or -1 if fewer than k bases have been buffered.
getStats() - Method in class org.metagene.genestrip.store.Database
Returns per-taxid store statistics.
getStoreIndex() - Method in class org.metagene.genestrip.tax.SmallTaxTree.SmallTaxIdNode
Returns the index linking this node to its entry in the k-mer database.
getStringValue() - Method in class org.metagene.genestrip.util.StringLongDigitTrie.StringLong
Returns the string key of this pairing.
getSubNodes() - Method in class org.metagene.genestrip.tax.SmallTaxTree.SmallTaxIdNode
Returns the child nodes of this node, or null if it is a leaf.
getSubNodes() - Method in class org.metagene.genestrip.tax.TaxTree.TaxIdNode
Returns the direct child nodes, or null if there are none.
getSubNodes(SmallTaxTree.SmallTaxIdNode) - Method in class org.metagene.genestrip.finertree.goals.KMerStoreWorkGoal
Returns the child subtrees whose membership is to be recorded for a k-mer stored at the given node, or null where that node is not at a refinement position and its k-mers are of no interest here.
getSubnodesKMerCount(SmallTaxTree.SmallTaxIdNode) - Method in interface org.metagene.genestrip.finertree.goals.KMerIntersectCountGoal.IntersectionsPerNode
Returns the number of *k*-mers assigned to the entire subtree rooted at the given node.
getSubnodesKMerCount(SmallTaxTree.SmallTaxIdNode) - Method in class org.metagene.genestrip.finertree.goals.KMerIntersectCountGoal.IntersectionsPerNodeImpl
Returns the descendant *k*-mer count recorded for the given child node, or 0 when none was recorded.
getSubtreeKMersAboveData() - Method in class org.metagene.genestrip.finertree.goals.DBQualityCountsGoal.Counts
getSubtreeKmerSum() - Method in class org.metagene.genestrip.finertree.goals.DBQualityCountsGoal.Counts
Returns the number of k-mers backing DBQualityCountsGoal.Counts.getSubtreePrecision(), i.e.
getSubtreePrecision() - Method in class org.metagene.genestrip.finertree.goals.DBQualityCountsGoal.Counts
Returns the subtree precision of the subtree rooted at this node, i.e.
getSubtreeTp() - Method in class org.metagene.genestrip.finertree.goals.DBQualityCountsGoal.Counts
Returns the true positives pooled over the subtree rooted at this node.
getSubtreeTpPlusFp() - Method in class org.metagene.genestrip.finertree.goals.DBQualityCountsGoal.Counts
Returns the true positives plus false positives pooled over the subtree rooted at this node.
getSuffix() - Method in enum class org.metagene.genestrip.finertree.FTProject.FTFileType
Returns the file-name suffix associated with this file type.
getSuffix() - Method in interface org.metagene.genestrip.GSProject.FileType
Returns the file name suffix associated with this file type.
getSuffix() - Method in enum class org.metagene.genestrip.GSProject.GSFileType
 
getTarget() - Method in class org.metagene.genestrip.Main
Returns the parsed generation target.
getTaxid() - Method in class org.metagene.genestrip.finertree.FTConfigKey.RefinementPosition
Returns the tax id of this position.
getTaxid() - Method in class org.metagene.genestrip.genbank.AssemblySummaryReader.AssemblyEntry
Returns the tax id of this assembly entry.
getTaxid() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the tax id.
getTaxId() - Method in class org.metagene.genestrip.tax.TaxIdInfo
Returns the tax id of this node.
getTaxid2Stats() - Method in class org.metagene.genestrip.match.MatchingResult
Returns an unmodifiable view of the per-tax-id statistics, keyed by tax id.
getTaxIdsFile() - Method in class org.metagene.genestrip.GSProject
Returns the taxids.txt file listing the project's tax ids.
getTaxTree() - Method in class org.metagene.genestrip.store.Database
Returns the taxonomy tree this database was built against.
getTaxTreeGoal() - Method in class org.metagene.genestrip.goals.TaxNodesGoal
Returns the goal supplying the taxonomy tree.
getTempDBInfoFile() - Method in class org.metagene.genestrip.GSProject
Returns the temporary database info CSV file.
getTeXDir() - Method in class org.metagene.genestrip.finertree.FTProject
Returns the directory used for TeX output.
getThreads() - Method in class org.metagene.genestrip.DefaultExecutionContext
 
getThreads() - Method in interface org.metagene.genestrip.ExecutionContext
Returns the number of worker threads configured for parallel processing.
getThrowableList() - Method in class org.metagene.genestrip.DefaultExecutionContext
 
getThrowableList() - Method in interface org.metagene.genestrip.ExecutionContext
Returns the list of throwables raised by worker threads so far.
getTotalByteSize() - Method in class org.metagene.genestrip.io.StreamingResourceListStream
 
getTotalByteSize() - Method in interface org.metagene.genestrip.io.StreamingResourceStream
Returns the combined size in bytes of all resources in the stream, or -1 if unknown.
getTotalIndentWidth(int[], int, int) - Method in class org.metagene.genestrip.match.TaxTreePainter
Returns the total horizontal offset of the given level, summing the per-node indents up to that level plus the standard indent for each level.
getTotalKmers() - Method in class org.metagene.genestrip.goals.refseq.FillSizeGoal.MyFastaReader
Returns the total number of k-mers counted so far.
getTp() - Method in class org.metagene.genestrip.finertree.goals.DBQualityCountsGoal.Counts
Returns the true-positives count.
getTpForNodePrecision() - Method in class org.metagene.genestrip.finertree.goals.DBQualityCountsGoal.Counts
Returns the true positives attributed to this node itself.
getTpPlusFn() - Method in class org.metagene.genestrip.finertree.goals.DBQualityCountsGoal.Counts
Returns the true-positives-plus-false-negatives count.
getTpPlusFp() - Method in class org.metagene.genestrip.finertree.goals.DBQualityCountsGoal.Counts
Returns the true-positives-plus-false-positives count.
getTree() - Method in class org.metagene.genestrip.finertree.goals.AbstractDBQualityGoal.MyFastaReader
Returns the taxonomy tree of the loaded database.
getTree() - Method in class org.metagene.genestrip.finertree.goals.AbstractKMerIndexGoal.MyFastaReader
Returns the compact tax tree of the database being indexed.
getTree() - Method in class org.metagene.genestrip.finertree.refseq.AbstractUpdateFastaReader
Returns the refined taxonomy tree whose nodes leaf resolution descends into.
getTypeDescriptor() - Method in class org.metagene.genestrip.finertree.FTConfigKey.MethodConfigParamInfo
Returns the type descriptor of this parameter.
getTypeDescriptor() - Method in class org.metagene.genestrip.GSConfigKey.FastaQualitiesConfigInfo
 
getTypeDescriptor() - Method in class org.metagene.genestrip.GSConfigKey.RankConfigParamInfo
 
getTypeDescriptor() - Method in class org.metagene.genestrip.GSConfigKey.RefSeqStatusConfigInfo
 
getTypeDescriptor() - Method in class org.metagene.genestrip.GSConfigKey.SeqTypeConfigParamInfo
 
getTypeDescriptor() - Method in class org.metagene.genestrip.GSConfigKey.UpdateScopeConfigParamInfo
 
getTypeDescriptor() - Method in class org.metagene.genestrip.make.ConfigParamInfo.BooleanConfigParamInfo
 
getTypeDescriptor() - Method in class org.metagene.genestrip.make.ConfigParamInfo.DoubleConfigParamInfo
 
getTypeDescriptor() - Method in class org.metagene.genestrip.make.ConfigParamInfo
Returns a short name of the value type (e.g.
getTypeDescriptor() - Method in class org.metagene.genestrip.make.ConfigParamInfo.IntConfigParamInfo
 
getTypeDescriptor() - Method in class org.metagene.genestrip.make.ConfigParamInfo.LongConfigParamInfo
 
getTypeDescriptor() - Method in class org.metagene.genestrip.make.ConfigParamInfo.StringConfigParamInfo
 
getTypeHint() - Method in interface org.metagene.genestrip.io.StreamingResource
Returns an optional hint about the resource's content type, or null if none.
getUncompressedSize(File) - Static method in class org.metagene.genestrip.io.StreamProvider
Returns the uncompressed size of the given GZIP file by decompressing and reading it fully.
getUniqueKMers() - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns all unique matched k-mers specific to the tax id's genome.
getUpdateValue(V) - Method in interface org.metagene.genestrip.store.KMerStore.UpdateValueProvider
Returns the new value to store, derived from the currently stored value.
getURL() - Method in class org.metagene.genestrip.genbank.AssemblySummaryReader.AssemblyEntry
Returns the download URL of the assembly.
getURL() - Method in class org.metagene.genestrip.io.StreamingURLResource
Returns the URL backing this resource.
getValue() - Method in class org.metagene.genestrip.finertree.cluster.DendrogramNode
Returns the application-specific value previously attached to this node, or null if none was set.
getValueFor(CountsPerTaxid.ValueType) - Method in class org.metagene.genestrip.match.CountsPerTaxid
Returns the raw count for the given value type.
getValueForIndex(int) - Method in class org.metagene.genestrip.store.AbstractKMerStore
 
getValueForIndex(int) - Method in interface org.metagene.genestrip.store.KMerStore
Returns the value registered under the given store index.
getValueIndex() - Method in class org.metagene.genestrip.finertree.cluster.DendrogramNode
Returns the index of the clustered item represented by this leaf, or -1 if this node is an internal (non-leaf) node.
getValues() - Method in class org.metagene.genestrip.goals.refseq.FillBloomFilterGoal.DBSize
Returns the distinct fill values collected up front (for pre-registering the store's value map), or null if they were not collected.
getValues() - Method in class org.metagene.genestrip.goals.refseq.FillBloomFilterGoal.MyFastaReader
Returns this reader's thread-local set of distinct store values (tax id strings).
getValues() - Method in class org.metagene.genestrip.store.AbstractKMerStore
 
getValues() - Method in interface org.metagene.genestrip.store.KMerStore
Returns an iterator over all registered values.
getWithDuplicates() - Method in class org.metagene.genestrip.goals.refseq.FillSizeGoal.KMerCounts
Returns the number of k-mers a fill would see, duplicates included.
Goal<P extends Project> - Class in org.metagene.genestrip.make
Base class of the make-like build framework: a goal produces some output (files or an in-memory value) and declares dependencies on other goals.
Goal(P, GoalKey, Goal<P>...) - Constructor for class org.metagene.genestrip.make.Goal
Creates a goal for the given project and key, wiring up the given dependencies and registering this goal as a dependent of each of them.
Goal.LogHeapInfo - Interface in org.metagene.genestrip.make
Marker interface for goals whose heap usage should be logged at info level.
GoalKey - Interface in org.metagene.genestrip.make
Identifies a goal within a Maker.
GoalKey.DefaultGoalKey - Class in org.metagene.genestrip.make
A simple GoalKey identified solely by its name, with transitive cleaning disabled.
growPrintBuffer(int) - Method in class org.metagene.genestrip.match.FastqKMerMatcher.MatcherReadEntry
Ensures the output buffer has room for at least additionalSize more bytes, allocating or doubling it as needed.
growReadBuffer(BufferedLineReader) - Method in class org.metagene.genestrip.fastq.AbstractFastqReader.ReadEntry
Doubles the read buffer (and the probability buffer, if present) until the current line fits, continuing to read the line from the given reader.
GSCommon - Class in org.metagene.genestrip
Holds system-wide configuration rooted at a base directory and derives the standard shared directory locations (common, fastq, fasta, refseq and genbank) used across projects.
GSCommon(File) - Constructor for class org.metagene.genestrip.GSCommon
Creates the system configuration rooted at the given base directory.
GSConfigKey - Enum Class in org.metagene.genestrip
Enumeration of all Genestrip configuration parameters.
GSConfigKey.BloomFilterSizing - Enum Class in org.metagene.genestrip
How the temporary Bloom filter of tempindex is sized, i.e.
GSConfigKey.BloomFilterSizingConfigParamInfo - Class in org.metagene.genestrip
Parameter info for GSConfigKey.BloomFilterSizing.
GSConfigKey.FastaQualitiesConfigInfo - Class in org.metagene.genestrip
Parameter info for a comma/semicolon-separated list of Genbank AssemblySummaryReader.AssemblyQuality values.
GSConfigKey.GenomesOnly - Enum Class in org.metagene.genestrip
How finished an assembly must be for its sequences to enter the database, for GSConfigKey.GENOMES_ONLY.
GSConfigKey.GenomesOnlyConfigParamInfo - Class in org.metagene.genestrip
Parameter info for GSConfigKey.GenomesOnly.
GSConfigKey.LogLevelConfigParamInfo - Class in org.metagene.genestrip
Parameter info for a log level, restricting the value to the recognized level names.
GSConfigKey.RankConfigParamInfo - Class in org.metagene.genestrip
 
GSConfigKey.RefSeqStatus - Enum Class in org.metagene.genestrip
RefSeq status values used to restrict which genomic accessions are considered.
GSConfigKey.RefSeqStatusConfigInfo - Class in org.metagene.genestrip
Parameter info for a comma/semicolon-separated list of GSConfigKey.RefSeqStatus values.
GSConfigKey.SeqType - Enum Class in org.metagene.genestrip
The kind of RefSeq sequence files to include (genomic, RNA variants or all).
GSConfigKey.SeqTypeConfigParamInfo - Class in org.metagene.genestrip
Parameter info for a GSConfigKey.SeqType value.
GSConfigKey.UpdateScope - Enum Class in org.metagene.genestrip
 
GSConfigKey.UpdateScopeConfigParamInfo - Class in org.metagene.genestrip
Parameter info for GSConfigKey.UpdateScope.
GSFileDownloadGoal<P extends GSProject> - Class in org.metagene.genestrip.goals
Base class for genestrip FileDownloadGoals that sources the HTTP/FTP base URLs and download options from the project's GSConfigKey configuration.
GSFileDownloadGoal(P, GoalKey, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.GSFileDownloadGoal
Creates a download goal for the given project and key.
GSGoalKey - Enum Class in org.metagene.genestrip
Enumeration of all Genestrip goals.
GSLog(String) - Constructor for class org.metagene.genestrip.util.GSLogFactory.GSLog
Creates a logger with the given name backed by the enclosing factory.
GSLogFactory - Class in org.metagene.genestrip.util
A logging facility built on Apache Commons Logging's SimpleLog that shares a single, dynamically adjustable log level across all loggers, supports redirecting output per thread, and prefixes each message with '>' characters to reflect the current make nesting depth.
GSLogFactory() - Constructor for class org.metagene.genestrip.util.GSLogFactory
Creates a factory with an empty logger cache, output to System.err, zero nesting and the default INFO log level.
GSLogFactory.GSLog - Class in org.metagene.genestrip.util
A SimpleLog whose effective level is governed centrally by the enclosing factory and whose output honors the factory's nesting indentation and per-thread output redirection.
GSMaker<P extends GSProject> - Class in org.metagene.genestrip
Builds the Genestrip goal graph for a project and wires up their dependencies.
GSMaker(P) - Constructor for class org.metagene.genestrip.GSMaker
Creates a maker for the given project.
GSProgressBarCreator - Class in org.metagene.genestrip.util.progressbar
Factory for tongfei ProgressBar instances configured for Genestrip: ASCII style, a custom renderer that pulls live current/max values from a GSProgressUpdate, a configurable update interval and unit name, and optional rendering of the bar to a Log at debug level.
GSProgressUpdate - Interface in org.metagene.genestrip.util.progressbar
Supplies live current and maximum progress values to a progress bar renderer.
GSProject - Class in org.metagene.genestrip
Represents a single Genestrip project: its configuration (loaded from command line properties and config.properties files), its directory layout under the base directory, and its fastq/fasta inputs.
GSProject(GSCommon, String) - Constructor for class org.metagene.genestrip.GSProject
Creates a project with the given system configuration and project name, using defaults for all other settings.
GSProject(GSCommon, String, boolean) - Constructor for class org.metagene.genestrip.GSProject
Creates a project with the given system configuration and project name, optionally suppressing informational logging during initialization.
GSProject(GSCommon, String, String) - Constructor for class org.metagene.genestrip.GSProject
Creates a project whose fastq/fasta inputs are listed in the given mapping (CSV) file.
GSProject(GSCommon, String, String, String[]) - Constructor for class org.metagene.genestrip.GSProject
Creates a project with the given result key and fastq inputs.
GSProject(GSCommon, String, String, String[], boolean) - Constructor for class org.metagene.genestrip.GSProject
Creates a project with the given result key and fastq inputs, optionally suppressing informational logging during initialization.
GSProject(GSCommon, String, String, String[], String, File, File, String, Properties, GSGoalKey, String, boolean) - Constructor for class org.metagene.genestrip.GSProject
Creates a fully configured project.
GSProject.FileType - Interface in org.metagene.genestrip
A category of project file that carries a file name suffix.
GSProject.GSFileType - Enum Class in org.metagene.genestrip
The built-in Genestrip file types and their file name suffixes.
guessUncompressedSize(Collection<File>, int) - Static method in class org.metagene.genestrip.io.StreamProvider
Estimates the total uncompressed size of the given GZIP files.
GZIP_FASTQ_OUTPUT - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether fastq output of the filter and match goals is gzipped.

H

handleEntry(byte[], int, int, int) - Method in class org.metagene.genestrip.refseq.AccessionFileProcessor
Handles a catalog entry that passed all filters, given the line buffer and the byte offsets delimiting its tax id (ending at taxIdEnd) and its accession (accessionStart inclusive to accessionEnd exclusive).
handleEntry(byte[], int, int, int, int, int) - Method in class org.metagene.genestrip.refseq.AccessionFileProcessor
Handles one entry, with the length column too.
handleStore(long) - Method in class org.metagene.genestrip.finertree.goals.AbstractDBQualityGoal.MyFastaReader
Looks the current *k*-mer up in the database and, if it holds it, forms the pair with the leaf of the contig being read and hands it to AbstractDBQualityGoal.MyFastaReader.count(long, int, org.metagene.genestrip.tax.SmallTaxTree.SmallTaxIdNode).
handleStore(long) - Method in class org.metagene.genestrip.finertree.goals.AbstractKMerIndexGoal.MyFastaReader
Registers the current k-mer in the filter.
handleStore(long) - Method in class org.metagene.genestrip.goals.refseq.DBGoal.MyFastaReader
 
handleStore(long) - Method in class org.metagene.genestrip.goals.refseq.FillBloomFilterGoal.MyFastaReader
 
handleStore(long) - Method in class org.metagene.genestrip.goals.refseq.FillDBGoal.MyFastaReader
 
handleStore(long) - Method in class org.metagene.genestrip.goals.refseq.FillSizeGoal.MyFastaReader
 
handleStore(long) - Method in class org.metagene.genestrip.goals.refseq.KMerRankStatsGoal.MyFastaReader
 
handleStore(long) - Method in class org.metagene.genestrip.refseq.AbstractStoreFastaReader
Stores the given k-mer; returns whether it was counted as included.
hash(long) - Method in class org.metagene.genestrip.probfilter.BlockedBloomFilter
Computes the hash of the given key by seeding it and running it through the MurmurHash3 finalizer, which carries a k-mer's low-bit entropy over the whole word.
hash(long) - Method in class org.metagene.genestrip.probfilter.SingleWordBloomFilter
Computes the hash of the given key exactly as BlockedBloomFilter does: seeded and run through the MurmurHash3 finalizer, which carries a k-mer's low-bit entropy over the whole word.
hash(long) - Method in class org.metagene.genestrip.probfilter.XORBlockedBloomFilter
XORs the key with the seed - no mixing whatsoever, which is what makes it fast.
hash(long) - Method in class org.metagene.genestrip.probfilter.XORSingleWordBloomFilter
XORs the key with the seed - no mixing whatsoever, which is what makes it fast.
hash(long, int) - Method in class org.metagene.genestrip.probfilter.BloomFilter
Computes the i-th hash of the given k-mer by a bit-mixing hash (moved here from the former LemireOptBloomFilter) that carries a k-mer's low-bit entropy upwards and hence pairs with the multiply-shift BloomFilter.reduce(long).
hash(long, int) - Method in class org.metagene.genestrip.probfilter.MurmurBloomFilter
 
hash(long, int) - Method in class org.metagene.genestrip.probfilter.XORBloomFilter
XORs the k-mer with the hash function's factor - no mixing whatsoever, which is what makes it fast.
hash64(long, long) - Static method in class org.metagene.genestrip.probfilter.MurmurBloomFilter.MurmurHash3DropIn
Computes the 64-bit MurmurHash3 hash of the given 8-byte value, using hashBase as the seed.
hash64(long, long) - Static method in class org.metagene.genestrip.util.MurmurHash3DropIn
Computes the 64-bit MurmurHash3 hash of the given 8-byte value, using hashBase as the seed.
hashCode() - Method in class org.metagene.genestrip.make.GoalKey.DefaultGoalKey
 
hashes - Variable in class org.metagene.genestrip.probfilter.BloomFilter
The number of hash functions applied per k-mer.
hashFactors - Variable in class org.metagene.genestrip.probfilter.BloomFilter
The random factors used to derive the individual hashes.
hasReference(String) - Method in class org.metagene.genestrip.refseq.ReferenceGenomes
Returns whether the summary marks a reference assembly for this taxon, so that a place is worth keeping for it.
hasThrowables() - Method in class org.metagene.genestrip.DefaultExecutionContext
 
hasThrowables() - Method in interface org.metagene.genestrip.ExecutionContext
Returns whether any throwables have been raised by worker threads.
hasTransDependencyFor(Goal<P>) - Method in class org.metagene.genestrip.make.Goal
Returns whether the given goal is a transitive (direct or indirect) dependency of this goal.
HitCountingFastqKMerMatcher - Class in org.metagene.genestrip.match
A matcher that keeps a two-bit counter per stored k-mer instead of a single bit, so that the k-mers hit exactly once and exactly twice can be counted per tax id (kmersHitOnce, kmersHitTwice).
HitCountingFastqKMerMatcher(KMerStore<SmallTaxTree.SmallTaxIdNode>, int, int, ExecutionContext, boolean, SmallTaxTree, int, double, double, boolean, int, String) - Constructor for class org.metagene.genestrip.match.HitCountingFastqKMerMatcher
HTTP_BASE_URL - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Base URL for downloading the taxonomy and Genbank files.
httpDownload(File) - Method in class org.metagene.genestrip.make.FileDownloadGoal
Downloads the given file over HTTP, verifying its MD5 check sum on the fly when an expected check sum is available.

I

ID - Enum constant in enum class org.metagene.genestrip.tax.Rank
Artificial rank marking the id of k-mer origin, at the bottom of the taxonomy.
ID_NODES - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether to add artificial tax nodes for ids from fasta info lines.
idNode(TaxTree.TaxIdNode, byte[], int, int, TaxTree.IDStringGenerator) - Method in class org.metagene.genestrip.tax.TaxTree
Returns the artificial ID-rank child of the given node whose name is the given byte sub-array range, creating it (with a freshly generated artificial tax id) if it does not yet exist.
IGNORE_MISSING_FASTAS - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether to continue downloading when a file is missing on the server.
ignoreAccessionMap(TaxTree.TaxIdNode) - Method in class org.metagene.genestrip.refseq.AbstractRefSeqFastaReader
Forces all following contigs to be mapped to the given tax id instead of resolving accessions via the accession map; pass null to re-enable map lookups.
ignoreMap - Variable in class org.metagene.genestrip.refseq.AbstractRefSeqFastaReader
Whether accession-map lookups are currently bypassed in favor of AbstractRefSeqFastaReader.mappedNode.
inc(byte[], int, int) - Method in class org.metagene.genestrip.util.StringLongDigitTrie
Increments the counter for the key given by seq[start, end) by one, creating it if necessary.
inc(long) - Method in class org.metagene.genestrip.util.LargeShortVector
Increments the short at the given index and returns its new value.
inc(String) - Method in class org.metagene.genestrip.util.StringLongDigitTrie
Increments the counter for the given key by one, creating it if necessary.
incAndAdd(long) - Method in class org.metagene.genestrip.refseq.AbstractRefSeqFastaReader.StringLong2DigitTrie.StringLong2
Increments the contig count and adds add to the k-mer count.
incAndAdd(String, long) - Method in class org.metagene.genestrip.refseq.AbstractRefSeqFastaReader.StringLong2DigitTrie
Increments the contig count and adds add to the k-mer count for the given key, creating the entry if necessary.
incCount(SmallTaxTree.SmallTaxIdNode, FastqKMerMatcher.MatcherConsumer, long) - Method in class org.metagene.genestrip.match.FastqKMerMatcher
Counts one vote of the current read for the given node, on this consumer's own counters.
includeContig - Variable in class org.metagene.genestrip.refseq.AbstractRefSeqFastaReader
Whether the current contig is being included.
includedKmers - Variable in class org.metagene.genestrip.refseq.AbstractRefSeqFastaReader
Total number of k-mers included so far.
incN() - Static method in class org.metagene.genestrip.util.GSLogFactory
Increases the make-nesting indentation level of the shared factory by one.
incNesting() - Method in class org.metagene.genestrip.util.GSLogFactory
Increases the nesting indentation level (the '>' prefix depth on log lines) by one.
incRefSeqContigs() - Method in class org.metagene.genestrip.tax.TaxTree.TaxIdNode
Increments the RefSeq contig count of this node and all of its ancestors.
incrementCounter(long) - Method in class org.metagene.genestrip.util.LargeBitVector
Increments the two-bit counter with the given index (see LargeBitVector.getCounter(long)) unless it holds three already, where it stays.
indentFactor - Variable in class org.metagene.genestrip.match.TaxTreePainter
The standard horizontal indent per level, as a multiple of the line height.
indentForNode(EvoDistanceEstimator.DistanceInfo, long, long) - Method in class org.metagene.genestrip.match.TaxTreePainter
Returns the extra horizontal indent for a node, derived either from its distance portion or from its k-mer count relative to the maximum, depending on configuration.
INDETERMINATE_LEVEL - Static variable in enum class org.metagene.genestrip.tax.Rank
Level value indicating that a rank has no well-defined level in the taxonomy.
index - Variable in class org.metagene.genestrip.fastq.AbstractFastqReader.ConsumerRunnable
The index of this consumer among the reader's consumers.
INDEX - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Generates a filtering database for the given project.
INDEX_BLOOM_FILTER_FPP - Enum constant in enum class org.metagene.genestrip.GSConfigKey
False positive probability of the filtering database's Bloom filter.
INDEX_BLOOM_FILTER_FPP_DEFAULT - Static variable in enum class org.metagene.genestrip.GSConfigKey
Default false positive probability for the filtering index Bloom filter.
INDEX_FILE - Static variable in class org.metagene.genestrip.store.Database
ZIP entry name of the serialized probabilistic pre-filter.
indexAtPosition(long) - Method in class org.metagene.genestrip.store.KMerSortedArray
Returns the value index of the entry at the given storage position.
indexed - Variable in class org.metagene.genestrip.match.FastqKMerMatcher
Output stream for the filtered (matched) reads, or null if none.
indexedC - Variable in class org.metagene.genestrip.fastq.AbstractLoggingFastqStreamer
The number of reads indexed (written) so far.
indexMap - Variable in class org.metagene.genestrip.store.AbstractKMerStore
Maps each store index back to its value; length maxValues.
indexOf(byte[], int, int, char) - Static method in class org.metagene.genestrip.util.ByteArrayUtil
Returns the index of the first occurrence of c within [start, end), or -1 if it is not found.
indexOf(byte[], int, int, String) - Static method in class org.metagene.genestrip.util.ByteArrayUtil
Returns the start index of the first occurrence of str within [start, end), or -1 if it is not found.
indexPos - Variable in class org.metagene.genestrip.match.FastqKMerMatcher.MatcherReadEntry
Single-element scratch array holding the store index of the last matched k-mer.
INFERRED - Enum constant in enum class org.metagene.genestrip.GSConfigKey.RefSeqStatus
Inferred status.
infoLine() - Method in class org.metagene.genestrip.fasta.AbstractFastaReader
Called for a header ('>') line; the line's bytes are held in target[0, size).
infoLine() - Method in class org.metagene.genestrip.finertree.goals.AbstractKMerIndexGoal.MyFastaReader
Processes a fasta header line, resolving the current tax node and marking its contig for inclusion whenever the node is among the relevant nodes, so that all of its k-mers are considered.
infoLine() - Method in class org.metagene.genestrip.finertree.refseq.AbstractUpdateFastaReader
Processes a fasta info line and additionally re-resolves the current refined leaf node.
infoLine() - Method in class org.metagene.genestrip.goals.Fasta2FastqGoal.FastqWriter
 
infoLine() - Method in class org.metagene.genestrip.goals.refseq.DBGoal.MyFastaReader
 
infoLine() - Method in class org.metagene.genestrip.goals.refseq.ExtractRefSeqFastasGoal.MyFastaReader
 
infoLine() - Method in class org.metagene.genestrip.refseq.AbstractRefSeqFastaReader
Processes a contig header: resolves the contig's tax id node and decides whether the contig is included, based on the configured per-tax-id contig and k-mer limits.
initConfigParam(ConfigKey, Object) - Method in class org.metagene.genestrip.make.Project
Sets the value of the given config parameter if it is within the key's allowed range.
initConfigParam(ConfigKey, Properties...) - Method in class org.metagene.genestrip.make.Project
Initializes a single config parameter from the first property source that supplies a value the key accepts, falling back to the key's default value.
initConfigParams(Properties...) - Method in class org.metagene.genestrip.make.Project
Initializes all supported config parameters from the given property sources.
initDustFunctionDiff(int[]) - Method in class org.metagene.genestrip.util.CGATLongBuffer
Initializes the DUST weighting table used to incrementally update the DUST score.
INITIAL_READ_SIZE_BYTES - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Initial read buffer size in bytes.
initialReadSize - Variable in class org.metagene.genestrip.match.FastqKMerMatcher
Initial read size in bytes (kept boxed for reuse as a map key).
initKey(GoalKey) - Method in class org.metagene.genestrip.make.Goal
Returns the key to actually use for this goal, giving subclasses a chance to change it by overriding this method.
initParams() - Method in class org.metagene.genestrip.match.TaxTreePainter
Initializes the layout, font and rendering parameters.
initPositions(int, int) - Method in class org.metagene.genestrip.tax.TaxTree.TaxIdNode
Assigns position values (depth-first order, starting from counter) and depth values (root = 0) to this node and its descendants, and returns the last position used.
initStoreIndex(SmallTaxTree.SmallTaxIdNode) - Method in class org.metagene.genestrip.store.Database
Recursively assigns store value indices to the given tax node and its descendants.
initStoreIndices() - Method in class org.metagene.genestrip.store.Database
Assigns a store value index to every taxon in the taxonomy tree (see KMerStore.getAddValueIndex(V)), making the database ready for matching.
initUniqueCounter() - Method in class org.metagene.genestrip.match.FastqKMerMatcher
Prepares the counting of distinct matched k-mers for a run: either this matcher's own FastqKMerMatcher.uniqueKmerBits or the marks in the database, see FastqKMerMatcher.isOwnUniqueKMerBits().
initUniqueCounter() - Method in class org.metagene.genestrip.match.HitCountingFastqKMerMatcher
 
inKMerStoreWork(SmallTaxTree.SmallTaxIdNode, long, boolean[], int, int[]) - Method in class org.metagene.genestrip.finertree.goals.KMerBranchHistoGoal
Adds the current k-mer to its parent's branching-degree histogram.
inKMerStoreWork(SmallTaxTree.SmallTaxIdNode, long, boolean[], int, int[]) - Method in class org.metagene.genestrip.finertree.goals.KMerIntersectCountGoal
Records the *k*-mer's spread for the parent and increments the intersection count for every pair of set child-membership slots (including each slot paired with itself and with the "OTHER" slot).
inKMerStoreWork(SmallTaxTree.SmallTaxIdNode, long, boolean[], int, int[]) - Method in class org.metagene.genestrip.finertree.goals.KMerStoreWorkGoal
Hook invoked for every visited *k*-mer whose indexed value is a parent node at a refinement rank.
inKMerStoreWork(SmallTaxTree.SmallTaxIdNode, long, boolean[], int, int[]) - Method in class org.metagene.genestrip.finertree.goals.UpdateStoreGoal
Reassigns a single k-mer to the most specific refined node it matches.
IntConfigParamInfo(int, int, int) - Constructor for class org.metagene.genestrip.make.ConfigParamInfo.IntConfigParamInfo
Creates an int parameter descriptor.
intConfigValue(ConfigKey) - Method in class org.metagene.genestrip.make.Goal
Returns the configuration value for the given key as an int.
intConfigValue(ConfigKey) - Method in class org.metagene.genestrip.make.Project
Returns the value of the given key as an int.
interruptAll() - Method in class org.metagene.genestrip.DefaultExecutionContext
 
interruptAll() - Method in interface org.metagene.genestrip.ExecutionContext
Interrupts all worker threads (and the main thread, if any) to abort ongoing processing.
INTERSECT_COUNT - Enum constant in enum class org.metagene.genestrip.finertree.FTGoalKey
Counts the joint k-mers of any two species below a refinement rank.
INTERSECT_CSV - Enum constant in enum class org.metagene.genestrip.finertree.FTGoalKey
Writes the joint k-mer counts of FTGoalKey.INTERSECT_COUNT and the Jaccard indices to CSV.
IntersectionsPerNodeImpl() - Constructor for class org.metagene.genestrip.finertree.goals.KMerIntersectCountGoal.IntersectionsPerNodeImpl
Creates an empty accumulator with no parent statistics collected yet.
intervalOf(Rank) - Static method in class org.metagene.genestrip.goals.refseq.KMerRankStatsCSVGoal
Classifies a rank into one of the four output intervals.
intToByteArray(int, byte[], int) - Static method in class org.metagene.genestrip.util.ByteArrayUtil
Writes the decimal ASCII representation of value (including a leading '-' for negative values) into data starting at pos.
INVALID_NODE - Static variable in class org.metagene.genestrip.match.FastqKMerMatcher
Sentinel node marking an invalid (ambiguous) k-mer position within a read.
invalidateNKmersPerTaxid() - Method in class org.metagene.genestrip.store.AbstractKMerStore
 
invalidateNKmersPerTaxid() - Method in interface org.metagene.genestrip.store.KMerStore
Discards the cached per-value k-mer counts (see KMerStore.getNKmersPerTaxid()), so the next call recomputes them.
InvalidDatabaseClassException - Exception in org.metagene.genestrip.store
Wraps an InvalidClassException raised while deserializing a Database, additionally carrying the database's config info so a version-mismatch message can be produced.
InvalidDatabaseClassException(String, String, Properties, InvalidClassException) - Constructor for exception org.metagene.genestrip.store.InvalidDatabaseClassException
Creates the exception wrapping the given InvalidClassException and config info.
INVERTEBRATE - Enum constant in enum class org.metagene.genestrip.refseq.RefSeqCategory
The invertebrate RefSeq category.
isAbove(Rank) - Method in enum class org.metagene.genestrip.tax.Rank
Whether this rank is strictly above (higher/less specific than) the given rank.
isAcceptRead(FastqFilter.MyReadEntry) - Method in class org.metagene.genestrip.match.FastqFilter
Decides whether the given read should be accepted based on how many of its canonical k-mers are present in the filter.
isAdditionalFile(File) - Method in class org.metagene.genestrip.goals.AdditionalDownloadsGoal
 
isAdditionalFile(File) - Method in class org.metagene.genestrip.goals.DBDownloadGoal
 
isAdditionalFile(File) - Method in class org.metagene.genestrip.goals.FastqDownloadsGoal
 
isAdditionalFile(File) - Method in class org.metagene.genestrip.goals.genbank.FastaFilesGenbankDownloadGoal
 
isAdditionalFile(File) - Method in class org.metagene.genestrip.make.FileDownloadGoal
Returns whether the given file is an "additional" file that is fetched via FileDownloadGoal.additionalDownload(File) rather than through the standard HTTP/FTP path; false by default.
isAdmitted(byte[], int, int) - Method in class org.metagene.genestrip.refseq.GenomeKeyTrie
Returns whether the genome of the accession seq[start, end) is in the set.
isAdmittedKey(byte[], int, int) - Method in class org.metagene.genestrip.refseq.GenomeKeyTrie
Returns whether an already derived key is in the set.
isAllowCheckSumOkCacheFile() - Method in class org.metagene.genestrip.make.FileDownloadGoal
Returns whether an on-disk marker file may be used to remember a successful check-sum verification, avoiding recomputation.
isAllowEmptyFiles() - Method in class org.metagene.genestrip.make.FileGoal
Returns whether zero-length output files are considered made for this goal.
isAllowTransitiveClean() - Method in class org.metagene.genestrip.make.Goal
Returns whether this goal may be cleaned transitively when a dependent goal is cleaned.
isAncestorOf(SmallTaxTree.SmallTaxIdNode, SmallTaxTree.SmallTaxIdNode) - Method in class org.metagene.genestrip.tax.SmallTaxTree
Whether ancestor lies on the path from node up to the root, i.e.
isAncestorOf(TaxTree.TaxIdNode, TaxTree.TaxIdNode) - Method in class org.metagene.genestrip.tax.TaxTree
Whether ancestor lies on the path from node up to the root, i.e.
isArtificial() - Method in enum class org.metagene.genestrip.tax.Rank
Whether this is one of the artificial ranks Genestrip adds to track where k-mers come from, rather than a rank of the NCBI taxonomy.
isAssemblyAccession(byte[], int) - Static method in class org.metagene.genestrip.refseq.AccessionFileProcessor
Returns whether the accession starting at the given offset has a complete-genome prefix.
isBadEmpty(File) - Method in class org.metagene.genestrip.make.FileGoal
Returns whether the given file is an empty file that is not allowed, i.e.
isBelow(Rank) - Method in enum class org.metagene.genestrip.tax.Rank
Whether this rank is strictly below (lower/more specific than) the given rank.
isBelowRank(SmallTaxTree.SmallTaxIdNode, Rank) - Method in class org.metagene.genestrip.match.TaxTreePainter
Returns whether the given node sits strictly below the given rank in the taxonomy.
isCGAT(byte) - Static method in class org.metagene.genestrip.util.CGAT
Returns whether the given byte is one of the uppercase nucleotide letters C, G, A or T.
isCheckSumOk(File, String) - Method in class org.metagene.genestrip.make.FileDownloadGoal
Returns whether the given file matches its expected MD5 check sum.
isChromosome() - Method in class org.metagene.genestrip.refseq.AssemblyInfo
Returns whether the assembly is chromosome-level rather than complete.
isChromosome() - Method in class org.metagene.genestrip.refseq.AssemblySizeIndex.Match
Returns whether the assembly is chromosome-level rather than complete.
isCleaned() - Method in class org.metagene.genestrip.finertree.goals.AllInOneLaTeXGoal
Reports this goal as already cleaned.
isCleaned() - Method in class org.metagene.genestrip.finertree.goals.DengrogramLaTeXGoal
Reports this goal as already cleaned.
isCleaned() - Method in class org.metagene.genestrip.finertree.goals.KMerIntersectCSVGoal
Reports this goal as already cleaned, since a real check would require making the goals this goal depends on.
isCleaned() - Method in class org.metagene.genestrip.make.FileGoal
 
isCleaned() - Method in class org.metagene.genestrip.make.Goal
Returns whether this goal is cleaned, i.e.
isComparableTo(Rank) - Method in enum class org.metagene.genestrip.tax.Rank
Whether this rank and the given rank both have a defined level and can therefore be ordered.
isComplete() - Method in class org.metagene.genestrip.refseq.AssemblyInfo
Returns whether the assembly is complete, i.e.
isComplete() - Method in class org.metagene.genestrip.refseq.AssemblySizeIndex.Match
Returns whether the assembly is complete, and so gapless: no complete assembly in the summary has a genome_size differing from its genome_size_ungapped.
isCompleteGzip(File) - Method in class org.metagene.genestrip.make.FileDownloadGoal
Returns whether the given file holds a gzip stream that decompresses to its end.
isCountHits() - Method in class org.metagene.genestrip.store.KMerSortedArray
 
isCountHits() - Method in interface org.metagene.genestrip.store.KMerStore
Returns whether lookups count rather than mark the k-mers they find.
isCountHits() - Method in class org.metagene.genestrip.store.RadixKMerStore
 
isDownloadFastqs() - Method in class org.metagene.genestrip.GSProject
Returns whether fastq inputs should be downloaded.
isDownloadFastqsToCommon() - Method in class org.metagene.genestrip.GSProject
Returns whether downloaded fastq inputs should be stored in the common directory.
isDumped() - Method in class org.metagene.genestrip.goals.DBDownloadGoal
Returns whether this goal has been dumped (and thus any download interrupted).
isDust() - Method in class org.metagene.genestrip.util.CGATLongBuffer
Returns whether the current k-mer's DUST score exceeds the configured maximum (i.e.
isEmpty() - Method in class org.metagene.genestrip.store.RadixKMerStore.BatchBuffers
Returns whether the batch currently holds no k-mers.
isEmpty() - Method in class org.metagene.genestrip.util.SimpleBlockingQueue
 
isFastaStream(StreamingResource) - Method in class org.metagene.genestrip.fastq.AbstractLoggingFastqStreamer
Returns whether the given resource should be parsed as FASTA (based on its type hint).
isFilled() - Method in class org.metagene.genestrip.util.CGATLongBuffer
Returns whether at least size bases have been buffered.
isForGoal(GoalKey) - Method in enum class org.metagene.genestrip.finertree.FTConfigKey
 
isForGoal(GoalKey) - Method in enum class org.metagene.genestrip.GSConfigKey
 
isForGoal(GoalKey) - Method in interface org.metagene.genestrip.make.ConfigKey
Returns whether this parameter is applicable to the given goal; true by default.
isForLeaf() - Method in class org.metagene.genestrip.finertree.goals.DBQualityCountsGoal.Counts
Returns whether this tally belongs to a leaf node.
isForUser() - Method in enum class org.metagene.genestrip.finertree.FTGoalKey
Indicates whether this goal is meant to be invoked directly by users.
isForUser() - Method in enum class org.metagene.genestrip.GSGoalKey
Returns whether this goal is intended to be invoked directly by users.
isFrozen() - Method in class org.metagene.genestrip.refseq.GenomeKeyTrie
Returns whether the selection is closed.
isFull() - Method in class org.metagene.genestrip.store.AbstractKMerStore
 
isFull() - Method in interface org.metagene.genestrip.store.KMerStore
Returns whether the store is full.
isGenomeKeyed() - Method in enum class org.metagene.genestrip.refseq.RefSeqCategory
Returns whether GenomeKeyTrie.genomeKeyLength(byte[], int, int) finds the genome of a sequence in this category from its accession, which is what genomeNodes needs.
isGenomicAccession(byte[], int) - Method in class org.metagene.genestrip.refseq.AccessionFileProcessor
Returns whether the accession starting at the given offset has a genomic (DNA) prefix.
isGzip(File) - Method in class org.metagene.genestrip.make.FileDownloadGoal
Returns whether the given file is gzip-compressed, judged by its name.
isGZIPFile(File) - Static method in class org.metagene.genestrip.io.StreamProvider
Returns whether the file's name indicates a GZIP file.
isGZIPFileName(String) - Static method in class org.metagene.genestrip.io.StreamProvider
Returns whether the given file name ends with .gz or .gzip.
isIgnoreMissingFiles() - Method in class org.metagene.genestrip.goals.GSFileDownloadGoal
 
isIgnoreMissingFiles() - Method in class org.metagene.genestrip.make.FileDownloadGoal
Returns whether missing or unverifiable files are tolerated (and merely logged) instead of causing the make to fail.
isIncludeRefSeqFna() - Method in class org.metagene.genestrip.goals.refseq.FastaReaderGoal
Whether the downloaded RefSeq .fna files are part of this goal's input.
isIndeterminate() - Method in enum class org.metagene.genestrip.tax.Rank
Whether this rank has no well-defined level (such as CLADE or NO_RANK) and hence cannot be ordered against other ranks.
isInRange(String) - Method in class org.metagene.genestrip.make.ConfigParamInfo
Returns whether the given string parses to a value that is within the allowed range.
isInternal() - Method in enum class org.metagene.genestrip.finertree.FTConfigKey
Returns whether this configuration key is internal.
isInternal() - Method in enum class org.metagene.genestrip.GSConfigKey
Indicates whether this configuration key is internal and hidden from generated documentation.
isLarge() - Method in class org.metagene.genestrip.store.KMerSortedArray
Indicates whether this store uses the big-array layout for large k-mer sets.
isLarge() - Method in class org.metagene.genestrip.util.LargeShortVector
Returns whether this vector currently uses the large (big-array) backing storage.
isLastChild(SmallTaxTree.SmallTaxIdNode) - Method in class org.metagene.genestrip.match.TaxTreePainter
Whether the given node is the last child of its parent (used to stop drawing the parent's vertical connector line).
isLeaf() - Method in class org.metagene.genestrip.tax.SmallTaxTree.SmallTaxIdNode
Whether this node is a leaf: the deepest artificial node on its branch, i.e.
isLevelEnabled(int) - Method in class org.metagene.genestrip.util.GSLogFactory.GSLog
 
isMade() - Method in class org.metagene.genestrip.goals.ExtractGoal
 
isMade() - Method in class org.metagene.genestrip.goals.refseq.RefSeqFnaFilesDownloadGoal
Runs the RefSeq release check before reporting whether this goal is already made.
isMade() - Method in class org.metagene.genestrip.make.FileGoal
 
isMade() - Method in class org.metagene.genestrip.make.Goal
Returns whether this goal's output already exists and is up to date, so that making it can be skipped.
isMade() - Method in class org.metagene.genestrip.make.ObjectGoal
Returns whether the value has been computed, i.e.
isMade(File) - Method in class org.metagene.genestrip.make.FileDownloadGoal
Returns whether the given file exists as an ordinary made file and, if an expected check sum is known, matches it.
isMade(File) - Method in class org.metagene.genestrip.make.FileGoal
Returns whether the given file is made, i.e.
isMarkVisited() - Method in class org.metagene.genestrip.store.KMerSortedArray
 
isMarkVisited() - Method in interface org.metagene.genestrip.store.KMerStore
Returns whether lookups currently mark the k-mers they find.
isMarkVisited() - Method in class org.metagene.genestrip.store.RadixKMerStore
Clears the "visited" mark of every entry, so that a following run counts only its own matches.
isMatchingNode(SmallTaxTree.SmallTaxIdNode, String, boolean) - Method in class org.metagene.genestrip.fastqgen.KMerFastqGenerator
Returns whether the given node matches the tax id filter: any node when taxid is null and withDesc is set, the node itself when its tax id equals taxid, or (when withDesc is set) any node having taxid as an ancestor.
isMatchingNodeForPosition(TaxIdInfo) - Method in class org.metagene.genestrip.finertree.FTConfigKey.RefinementPosition
Tests whether the given taxonomy node matches this refinement position.
isMRNAAccession(byte[], int) - Static method in class org.metagene.genestrip.refseq.AccessionFileProcessor
Returns whether the accession starting at the given offset has a messenger-RNA prefix.
isNoGZ() - Method in class org.metagene.genestrip.io.StreamingURLResource
Returns whether the content is read without GZIP decompression.
ISOLATE - Enum constant in enum class org.metagene.genestrip.tax.Rank
The isolate rank.
isOneGenomePerTaxon() - Method in class org.metagene.genestrip.refseq.AbstractRefSeqFastaReader
Returns whether genomeNodes takes the current contig's genome to be its taxon, rather than reading it from the accession.
isOneGenomePerTaxon() - Method in enum class org.metagene.genestrip.refseq.RefSeqCategory
Returns whether genomeNodes=true takes all sequences of one taxon in this category's release files for one genome, instead of telling the genomes apart by accession.
isOneGenomePerTaxon() - Method in class org.metagene.genestrip.tax.TaxTree.TaxIdNode
Returns whether this taxon is marked by TaxTree.TaxIdNode.markOneGenomePerTaxon().
isOneGenomePerTaxonRow(byte[], int, int) - Static method in enum class org.metagene.genestrip.refseq.RefSeqCategory
Returns whether a row of the accession catalog belongs to a category that is RefSeqCategory.isOneGenomePerTaxon(), from the row's release directories, such as complete|protozoa.
isOptimized() - Method in class org.metagene.genestrip.store.AbstractKMerStore
 
isOptimized() - Method in interface org.metagene.genestrip.store.KMerStore
Returns whether this store has been optimized for lookups.
isOwnUniqueKMerBits() - Method in class org.metagene.genestrip.match.FastqKMerMatcher
Whether this matcher counts its distinct matched k-mers in a bit vector of its own rather than marking them in the database.
isPositionsValid() - Method in class org.metagene.genestrip.tax.SmallTaxTree
Returns whether the node positions and depths currently describe this tree, i.e.
isPotentiallyRequired() - Method in class org.metagene.genestrip.make.Goal
Returns whether this goal is currently marked as potentially required for making.
isProgressBar() - Method in class org.metagene.genestrip.fastq.AbstractLoggingFastqStreamer
Returns whether a progress bar should be shown while processing.
isProgressBar() - Method in class org.metagene.genestrip.goals.Fasta2FastqGoal
Indicates whether a progress bar should be shown while processing.
isProgressBar() - Method in class org.metagene.genestrip.refseq.AccessionFileProcessor
Returns whether a progress bar should be shown while processing the catalog.
isReference() - Method in class org.metagene.genestrip.genbank.AssemblySummaryReader.AssemblyEntry
Indicates whether this entry is a reference genome.
isReference() - Method in class org.metagene.genestrip.refseq.AssemblyInfo
Returns whether the summary marks this assembly as its species' reference genome -- NCBI's own choice of the assembly to use for the species.
isReference() - Method in class org.metagene.genestrip.refseq.AssemblySizeIndex.Match
Returns whether the summary marks this assembly as its species' reference genome, i.e.
isReferenceDraft(byte[], int, int) - Method in class org.metagene.genestrip.refseq.ReferenceGenomes
Returns whether this accession belongs to a draft assembly that is marked as a reference.
isRefinementNode(SmallTaxTree.SmallTaxIdNode) - Method in class org.metagene.genestrip.finertree.goals.AbstractKMerIndexGoal
Returns whether the given stored node is selected for refinement, by testing its store index's bit in AbstractKMerIndexGoal.refinementBits.
isRefSeqReleaseContig() - Method in class org.metagene.genestrip.refseq.AbstractRefSeqFastaReader
Returns whether the file currently being read is one of the RefSeq release's own fna files.
isRelevantFileName(String) - Method in class org.metagene.genestrip.goals.refseq.RefSeqFnaFilesDownloadGoal
Whether the given catalog file name matches the configured sequence type (genomic and/or RNA).
isRequested() - Method in class org.metagene.genestrip.tax.SmallTaxTree.SmallTaxIdNode
Returns whether this node has been explicitly requested.
isRequired() - Method in class org.metagene.genestrip.tax.TaxTree.TaxIdNode
Returns whether this node has been marked as required.
isRequiresProgress() - Method in class org.metagene.genestrip.DefaultExecutionContext
 
isRequiresProgress() - Method in interface org.metagene.genestrip.ExecutionContext
Returns whether this context wants progress callbacks.
isRNAAccession(byte[], int) - Static method in class org.metagene.genestrip.refseq.AccessionFileProcessor
Returns whether the accession starting at the given offset has a (non-messenger) RNA prefix.
isSampled(long, long) - Static method in class org.metagene.genestrip.util.KMerSampling
Returns whether the given k-mer belongs to the sample described by the threshold.
isStrictConfigCheck() - Method in class org.metagene.genestrip.GSProject
Whether an unknown configuration key, or a value its key cannot take, ends the run, as GSConfigKey.STRICT_CONFIG_CHECK says.
isStrictConfigCheck() - Method in class org.metagene.genestrip.make.Project
Whether an unknown configuration key, or a value its key cannot take, ends the run instead of being reported and dropped.
isThin() - Method in class org.metagene.genestrip.finertree.probfilter.DistinctPairSketch
Returns whether so few pairs were sampled that the estimate should be read as coarse.
isTransClean() - Method in enum class org.metagene.genestrip.finertree.FTGoalKey
Indicates whether this goal participates in transitive cleaning; FT goals always do.
isTransClean() - Method in enum class org.metagene.genestrip.GSGoalKey
 
isTransClean() - Method in class org.metagene.genestrip.make.GoalKey.DefaultGoalKey
 
isTransClean() - Method in interface org.metagene.genestrip.make.GoalKey
Returns whether goals identified by this key may be cleaned transitively when one of their dependents is cleaned.
isUseFilter() - Method in class org.metagene.genestrip.store.AbstractKMerStore
 
isUseFilter() - Method in interface org.metagene.genestrip.store.KMerStore
Returns whether the pre-filter is currently used for lookups.
isUseFTDBForAPI() - Method in class org.metagene.genestrip.finertree.FinerTreeMaker
Returns whether the FT database is used for API access.
isUseGZip() - Method in class org.metagene.genestrip.goals.FilterGoal
 
isUseGZip() - Method in class org.metagene.genestrip.goals.MultiFileGoal
Returns whether produced output files should be GZIP-compressed.
isUseHttp() - Method in class org.metagene.genestrip.goals.GSFileDownloadGoal
 
isUseHttp() - Method in class org.metagene.genestrip.make.FileDownloadGoal
Returns whether HTTP (rather than FTP) is used for downloads.
isValid(String) - Method in class org.metagene.genestrip.make.ConfigParamInfo
Returns whether the given string can be parsed into a value of this parameter's type.
isValueInRange(Object) - Method in class org.metagene.genestrip.finertree.FTConfigKey.MethodConfigParamInfo
Tests whether the given object is an acceptable value, i.e.
isValueInRange(Object) - Method in class org.metagene.genestrip.GSConfigKey.BloomFilterSizingConfigParamInfo
 
isValueInRange(Object) - Method in class org.metagene.genestrip.GSConfigKey.GenomesOnlyConfigParamInfo
 
isValueInRange(Object) - Method in class org.metagene.genestrip.GSConfigKey.RankConfigParamInfo
 
isValueInRange(Object) - Method in class org.metagene.genestrip.GSConfigKey.SeqTypeConfigParamInfo
 
isValueInRange(Object) - Method in class org.metagene.genestrip.GSConfigKey.UpdateScopeConfigParamInfo
 
isValueInRange(Object) - Method in class org.metagene.genestrip.make.ConfigParamInfo.DoubleConfigParamInfo
 
isValueInRange(Object) - Method in class org.metagene.genestrip.make.ConfigParamInfo.IntConfigParamInfo
 
isValueInRange(Object) - Method in class org.metagene.genestrip.make.ConfigParamInfo
Returns whether the given value is within the allowed range; by default any non-null value.
isValueInRange(Object) - Method in class org.metagene.genestrip.make.ConfigParamInfo.LongConfigParamInfo
 
isWeakDependency(Goal<P>) - Method in class org.metagene.genestrip.goals.genbank.FastaFilesFromGenbankGoal
Treats the assembly-summary download as a weak dependency, so it is only made on demand within FastaFilesFromGenbankGoal.doMakeThis().
isWeakDependency(Goal<P>) - Method in class org.metagene.genestrip.make.Goal
Returns whether the given dependency is "weak", i.e.
iterator() - Method in class org.metagene.genestrip.io.StreamingResourceListStream
 
iterator() - Method in class org.metagene.genestrip.tax.SmallTaxTree
Returns an iterator over all nodes of the tree in depth-first (pre-order) order.
iterator() - Method in class org.metagene.genestrip.util.SimpleBlockingQueue
 
IteratorRuntimeIOException(IOException) - Constructor for exception org.metagene.genestrip.io.StreamingResourceStream.IteratorRuntimeIOException
Wraps the given IOException.

J

JACCARD_SIM - Enum constant in enum class org.metagene.genestrip.finertree.FTConfigKey
Whether the clustering merges on the Jaccard index rather than on containment.

K

k - Variable in class org.metagene.genestrip.fastq.AbstractFastqReader
The k-mer length used when counting k-mers per read.
k - Variable in class org.metagene.genestrip.refseq.AbstractRefSeqFastaReader
The k-mer length.
k - Variable in class org.metagene.genestrip.store.AbstractKMerStore
The k-mer length; always in [1, 31].
KINGDOM - Enum constant in enum class org.metagene.genestrip.tax.Rank
The kingdom rank.
KMER_HIT_COUNTER_BITS - Enum constant in enum class org.metagene.genestrip.GSConfigKey
The number of bits per stored k-mer a matching run counts its hits with.
KMER_INDEX_BLOOM - Enum constant in enum class org.metagene.genestrip.finertree.FTGoalKey
Records in a Bloom filter which k-mer belongs to which species below the refinement ranks.
KMER_INDEX_SIZE - Enum constant in enum class org.metagene.genestrip.finertree.FTGoalKey
Estimates how many entries the filter of FTGoalKey.KMER_INDEX_BLOOM will have to hold.
KMER_RANK_STATS - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Computes, per species, the taxonomic rank at which each of its k-mers landed in the database.
KMER_RANK_STATS_CSV - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Writes a CSV file with the mean, standard deviation and box-plot quartiles of k-mers per rank interval over all species.
KMER_RANK_STATS_TAXID - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Tax id restricting the k-mer rank statistics CSV to species below that node.
KMER_SAMPLING - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Store only one k-mer in kMerSampling, selected by the k-mer itself.
KMER_SIZE - Enum constant in enum class org.metagene.genestrip.GSConfigKey
The k-mer length k in base pairs.
KMerBranchHistoCSVGoal<P extends FTProject> - Class in org.metagene.genestrip.finertree.goals
Writes a single CSV file summarizing the per-node branching-degree histograms computed by KMerBranchHistoGoal.
KMerBranchHistoCSVGoal(P, ObjectGoal<Database, P>, ObjectGoal<Map<String, long[]>, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.finertree.goals.KMerBranchHistoCSVGoal
Creates the goal under the FTGoalKey.BRANCH_HISTO_CSV key.
KMerBranchHistoGoal<P extends FTProject> - Class in org.metagene.genestrip.finertree.goals
Concrete KMerStoreWorkGoal that builds, per taxonomy parent node at a refinement rank, a histogram over the branching degree of the node's k-mers as recorded by KMerIndexBloomGoal.
KMerBranchHistoGoal(P, ObjectGoal<Database, P>, ObjectGoal<ProbFilter, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.finertree.goals.KMerBranchHistoGoal
Creates the goal under the FTGoalKey.BRANCH_HISTO key.
KMerBranchHistoRankCSVGoal<P extends FTProject> - Class in org.metagene.genestrip.finertree.goals
Writes a single CSV file that aggregates the per-node branching-degree histograms from KMerBranchHistoGoal by taxonomic rank, with one row per rank.
KMerBranchHistoRankCSVGoal(P, ObjectGoal<Database, P>, ObjectGoal<Map<String, long[]>, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.finertree.goals.KMerBranchHistoRankCSVGoal
Creates the goal under the FTGoalKey.BRANCH_HISTO_RANK_CSV key.
KMerCounts(long, long) - Constructor for class org.metagene.genestrip.goals.refseq.FillSizeGoal.KMerCounts
Creates the pair of counts.
KMerFastqGenerator - Class in org.metagene.genestrip.fastqgen
Generates a FASTQ file from a k-mer store database by decoding each stored k-mer back into bases and writing it as a read, optionally restricted to a given tax id (and its descendants).
KMerFastqGenerator(Database) - Constructor for class org.metagene.genestrip.fastqgen.KMerFastqGenerator
Creates a generator over the k-mer store of the given database.
KMerIndexBloomGoal<P extends FTProject> - Class in org.metagene.genestrip.finertree.goals
Builds the ProbFilter that records, for every relevant k-mer of the database, which leaf tax node (genome) it originates from.
KMerIndexBloomGoal(P, ExecutionContext, ObjectGoal<Set<RefSeqCategory>, P>, ObjectGoal<TaxNodeSelection, P>, ObjectGoal<TaxTree, P>, RefSeqFnaFilesDownloadGoal, ObjectGoal<Map<File, TaxTree.TaxIdNode>, P>, ObjectGoal<AccessionMap, P>, ObjectGoal<Database, P>, ObjectGoal<Long, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.finertree.goals.KMerIndexBloomGoal
Creates the goal that builds the k-mer index bloom filter.
KMerIndexFilterHelper - Class in org.metagene.genestrip.finertree.probfilter
Static helper for the k-mer index Bloom filter of the finer-tree (FT) extension, which records (k-mer, child index) pairs rather than plain k-mers.
KMerIndexSizeGoal<P extends FTProject> - Class in org.metagene.genestrip.finertree.goals
Estimates how many (k-mer, leaf index) pairs the k-mer index filter will have to hold, by reading the reference sequences once and sketching the pairs with HyperLogLog instead of storing them.
KMerIndexSizeGoal(P, ExecutionContext, ObjectGoal<Set<RefSeqCategory>, P>, ObjectGoal<TaxNodeSelection, P>, ObjectGoal<TaxTree, P>, RefSeqFnaFilesDownloadGoal, ObjectGoal<Map<File, TaxTree.TaxIdNode>, P>, ObjectGoal<AccessionMap, P>, ObjectGoal<Database, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.finertree.goals.KMerIndexSizeGoal
Creates the goal.
KMerIntersectCountGoal<P extends FTProject> - Class in org.metagene.genestrip.finertree.goals
Concrete KMerStoreWorkGoal that, per taxonomy parent node at a refinement rank, accumulates pairwise intersection counts of *k*-mer presence across the parent's child subtrees together with *k*-mer spread statistics.
KMerIntersectCountGoal(P, ObjectGoal<Database, P>, ObjectGoal<ProbFilter, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.finertree.goals.KMerIntersectCountGoal
Creates the goal under the FTGoalKey.INTERSECT_COUNT key.
KMerIntersectCountGoal.IntersectionsPerNode - Interface in org.metagene.genestrip.finertree.goals
Read-only view of the intersection and spread statistics accumulated per parent node.
KMerIntersectCountGoal.IntersectionsPerNodeImpl - Class in org.metagene.genestrip.finertree.goals
Default KMerIntersectCountGoal.IntersectionsPerNode implementation backed by per-parent long[] arrays.
KMerIntersectCSVGoal<P extends FTProject> - Class in org.metagene.genestrip.finertree.goals
File goal that writes, for each relevant parent node, a CSV file summarising the pairwise *k*-mer intersection counts and Jaccard indices among the parent's child subtrees as computed by KMerIntersectCountGoal.
KMerIntersectCSVGoal(P, ObjectGoal<Database, P>, ObjectGoal<KMerIntersectCountGoal.IntersectionsPerNode, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.finertree.goals.KMerIntersectCSVGoal
Creates the goal under the FTGoalKey.INTERSECT_CSV key, depending on the intersection-count goal.
kmerPersTaxid - Variable in class org.metagene.genestrip.store.AbstractKMerStore
Per-value k-mer count statistics, or null if not tracked.
KMerRankStatsCSVGoal<P extends GSProject> - Class in org.metagene.genestrip.goals.refseq
Writes a CSV file summarizing the per-species k-mer rank statistics computed by KMerRankStatsGoal.
KMerRankStatsCSVGoal(P, GoalKey, ObjectGoal<Map<String, long[]>, P>, ObjectGoal<Database, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.refseq.KMerRankStatsCSVGoal
Creates the goal writing the rank-interval summary CSV file.
KMerRankStatsGoal<P extends GSProject> - Class in org.metagene.genestrip.goals.refseq
Goal that builds a per-species statistic of the taxonomic rank at which each of a species' k-mers ended up in a Genestrip database.
KMerRankStatsGoal(P, GoalKey, ExecutionContext, ObjectGoal<Set<RefSeqCategory>, P>, ObjectGoal<TaxNodeSelection, P>, RefSeqFnaFilesDownloadGoal, ObjectGoal<Map<File, TaxTree.TaxIdNode>, P>, ObjectGoal<AccessionMap, P>, ObjectGoal<Database, P>, ObjectGoal<TaxTree, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.refseq.KMerRankStatsGoal
Creates the goal, wiring the accession map and the loaded database it looks k-mers up in, in addition to the standard FASTA-reader dependencies.
KMerRankStatsGoal.MyFastaReader - Class in org.metagene.genestrip.goals.refseq
FASTA reader that, for each k-mer of a contig, looks the k-mer up in the database and tallies the rank of the stored tax id against the contig's species in the shared result map.
kmers - Variable in class org.metagene.genestrip.match.CountsPerTaxid
The number of matched k-mers specific to the tax id's genome.
kMers - Variable in class org.metagene.genestrip.fastq.AbstractFastqReader
Number of k-mers counted across all reads processed so far.
KMERS - Enum constant in enum class org.metagene.genestrip.match.CountsPerTaxid.ValueType
The number of matched k-mers.
kMerSampling - Variable in class org.metagene.genestrip.refseq.AbstractRefSeqFastaReader
One k-mer in this many is kept, selected by the k-mer itself; see KMerSampling.
KMerSampling - Class in org.metagene.genestrip.util
Selects one k-mer in n, as a function of the k-mer and of nothing else.
kmersHitOnce - Variable in class org.metagene.genestrip.match.CountsPerTaxid
The number of the tax id's stored k-mers hit exactly once, or -1 where hits were not counted.
kmersHitTwice - Variable in class org.metagene.genestrip.match.CountsPerTaxid
The number of the tax id's stored k-mers hit exactly twice, or -1 where hits were not counted.
kmersInContig - Variable in class org.metagene.genestrip.refseq.AbstractRefSeqFastaReader
Number of k-mers seen in the current contig.
kMerSortedArray - Variable in class org.metagene.genestrip.finertree.goals.AbstractDBQualityGoal
The database's k-mer store, held for the same stretch.
KMerSortedArray<V extends Serializable> - Class in org.metagene.genestrip.store
A KMerStore that keeps its k-mers in a single long array sorted by KMerSortedArray.optimize(), with a parallel short array holding each k-mer's value index (offset by Short.MIN_VALUE); lookups binary-search the sorted array.
KMerSortedArray(int, double, double, List<V>, boolean, boolean, long) - Constructor for class org.metagene.genestrip.store.KMerSortedArray
 
KMerSortedArray(int, List<V>, boolean, ProbFilter, double, long) - Constructor for class org.metagene.genestrip.store.KMerSortedArray
Creates a store using the given fill-time pre-filter, sized to hold size k-mers.
KMerSortedArray(KMerSortedArray<W>, KMerStore.ValueConverter<W, V>) - Constructor for class org.metagene.genestrip.store.KMerSortedArray
Value-converting copy constructor: shares the (immutable after optimize) k-mer and value-index arrays with org while remapping the values via converter.
kmerStore - Variable in class org.metagene.genestrip.finertree.goals.AbstractKMerIndexGoal
The k-mer store of the database being indexed, held while this goal is being made.
kmerStore - Variable in class org.metagene.genestrip.match.FastqKMerMatcher
The k-mer store (database) mapping k-mers to their tax id nodes.
kMerStore - Variable in class org.metagene.genestrip.finertree.goals.KMerStoreWorkGoal
The visited k-mer store of KMerStoreWorkGoal.database, available from KMerStoreWorkGoal.beforeKMerStoreWork() on.
KMerStore<V extends Serializable> - Interface in org.metagene.genestrip.store
A store mapping k-mers (each encoded as a long) to a value of type V, keyed additionally by a compact per-store value index.
KMerStore.IndexedKMerStoreVisitor<V extends Serializable> - Interface in org.metagene.genestrip.store
Visitor that exposes the store index of the value and the storage position of the entry, see KMerStore.visit(IndexedKMerStoreVisitor).
KMerStore.UpdateValueProvider<V extends Serializable> - Interface in org.metagene.genestrip.store
Provides the new value for an KMerStore.update(long, UpdateValueProvider).
KMerStore.ValueConverter<V,W extends Serializable> - Interface in org.metagene.genestrip.store
Converts a value of type V into a value of type W, see KMerStore.convertValues(ValueConverter).
KMerStoreWorkGoal<T,P extends FTProject> - Class in org.metagene.genestrip.finertree.goals
Abstract base goal that visits every *k*-mer of a loaded database's *k*-mer store and, for each taxonomy "parent" node that sits at a configured refinement rank, determines how the *k*-mer's presence is spread across the parent's direct child subtrees.
KMerStoreWorkGoal(P, FTGoalKey, ObjectGoal<Database, P>, ObjectGoal<ProbFilter, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.finertree.goals.KMerStoreWorkGoal
Creates the goal, adding the store and bloom-filter goals as dependencies and reading the configured refinement positions from the project configuration.
kMerToLong(byte[], int, int, int[]) - Static method in class org.metagene.genestrip.util.CGAT
Encodes the k bases starting at start into the canonical (standard) k-mer, i.e.
kMerToLongReverse(byte[], int, int, int[]) - Static method in class org.metagene.genestrip.util.CGAT
Encodes the reverse complement of the k bases starting at start into a 2-bit-per-base long.
kMerToLongStraight(byte[], int, int, int[]) - Static method in class org.metagene.genestrip.util.CGAT
Encodes the k bases starting at start into a 2-bit-per-base long in reading direction.
KRAKEN_OUT - Enum constant in enum class org.metagene.genestrip.GSProject.GSFileType
A Kraken output file.
KRAKEN_OUT_RES - Enum constant in enum class org.metagene.genestrip.GSProject.GSFileType
A Kraken result output file.

L

LargeBitVector - Class in org.metagene.genestrip.util
A bit vector backed by a self-managed array of long[] buckets whose size is fixed at construction.
LargeBitVector(long) - Constructor for class org.metagene.genestrip.util.LargeBitVector
Creates a bit vector with at least the given initial capacity in bits and the default bucket floor (LargeBitVector.DEFAULT_MIN_BUCKET_BITS).
LargeBitVector(long, int) - Constructor for class org.metagene.genestrip.util.LargeBitVector
Creates a bit vector with at least the given initial capacity in bits and at least 1 << minBucketBits buckets (once non-empty), so that concurrent inserts have at least that many independent locks to spread across.
largeDistanceThreshold - Variable in class org.metagene.genestrip.match.TaxTreePainter
The distance above which a node's connector line is drawn dashed.
LARGER - Enum constant in enum class org.metagene.genestrip.finertree.FTConfigKey.RefinementPosition.Limit
Strictly-larger comparison, token >.
LARGER_EQ - Enum constant in enum class org.metagene.genestrip.finertree.FTConfigKey.RefinementPosition.Limit
Larger-or-equal comparison, token >=.
largeShorts - Variable in class org.metagene.genestrip.util.LargeShortVector
Large (bucketed) backing array, or null when small storage is used.
LargeShortVector - Class in org.metagene.genestrip.util
A vector of short counters that transparently switches between a single short[] for small capacities and a self-managed array of short[] buckets for capacities beyond the range of a normal array, and never shrinks.
LargeShortVector(long) - Constructor for class org.metagene.genestrip.util.LargeShortVector
Creates a vector with at least the given initial capacity (number of shorts).
LargeShortVector(long, boolean) - Constructor for class org.metagene.genestrip.util.LargeShortVector
Creates a vector with at least the given initial capacity (number of shorts).
LATEST - Enum constant in enum class org.metagene.genestrip.genbank.AssemblySummaryReader.AssemblyQuality
Latest version with an otherwise unspecified assembly level.
LDF - Static variable in class org.metagene.genestrip.finertree.goals.DengrogramLaTeXGoal
Format for the k-mer counts shown in the leaf labels, using US grouping separators.
leafByPos - Variable in class org.metagene.genestrip.finertree.goals.AbstractDBQualityGoal
Whether the node at that position is a leaf in the sense of SmallTaxTree.SmallTaxIdNode.isLeaf().
leafNode - Variable in class org.metagene.genestrip.finertree.refseq.AbstractUpdateFastaReader
The refined leaf node the current fasta contig's k-mers are attributed to, as resolved by AbstractUpdateFastaReader.updateLeafNode(), or null if the contig is not covered by the refined tree.
LESS - Enum constant in enum class org.metagene.genestrip.finertree.FTConfigKey.RefinementPosition.Limit
Strictly-less comparison, token <.
LESS_EQ - Enum constant in enum class org.metagene.genestrip.finertree.FTConfigKey.RefinementPosition.Limit
Less-or-equal comparison, token <=.
level - Variable in class org.metagene.genestrip.match.CountsPerTaxid
The depth of the tax id in the taxonomy tree.
ListConfigParamInfo(List<E>) - Constructor for class org.metagene.genestrip.make.ConfigParamInfo.ListConfigParamInfo
Creates a list parameter descriptor.
load(File) - Static method in interface org.metagene.genestrip.probfilter.ProbFilter
Deserializes a filter from the given file.
load(File) - Static method in interface org.metagene.genestrip.store.KMerStore
Deserializes a store previously written by KMerStore.save(KMerStore, File).
load(File, boolean) - Static method in class org.metagene.genestrip.store.Database
Loads a database from the given file, see Database.load(InputStream, boolean).
load(InputStream) - Static method in interface org.metagene.genestrip.probfilter.ProbFilter
Deserializes a filter from the given stream.
load(InputStream, boolean) - Static method in class org.metagene.genestrip.store.Database
Loads a database from the given ZIP stream, restoring its store value indices.
LOAD_DB - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Loads the matching database into memory.
LOAD_FTDB - Enum constant in enum class org.metagene.genestrip.finertree.FTGoalKey
Loads the updated (FT) database.
LOAD_INDEX - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Loads the filtering database into memory.
LOAD_KMER_INDEX - Enum constant in enum class org.metagene.genestrip.finertree.FTGoalKey
Loads the Bloom filter computed by FTGoalKey.KMER_INDEX_BLOOM from disk.
LOAD_TEMPDB - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Loads the temporary database into memory.
loadConfigInfo(File) - Static method in class org.metagene.genestrip.store.Database
Loads only the config-info properties from the given database file.
loadConfigInfo(InputStream) - Static method in class org.metagene.genestrip.store.Database
Reads only the config-info entry from the given database ZIP stream, without deserializing the database itself.
loadConfigProperties(File, boolean) - Method in class org.metagene.genestrip.GSProject
Loads config.properties from the given directory, returning empty properties if the file is missing or unreadable.
LoadDBGoal<P extends GSProject> - Class in org.metagene.genestrip.goals
Loads the matching database into memory from the stored database file (or reuses an already-made one), optionally showing a progress bar and enabling the bloom pre-filter for matching.
LoadDBGoal(P, GoalKey, ObjectGoal<Database, P>, FileGoal<P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.LoadDBGoal
Creates the goal that loads the database into memory.
LoadIndexGoal<P extends GSProject> - Class in org.metagene.genestrip.goals
Loads the k-mer bloom-filter index (ProbFilter) from the stored database file, or reuses the already-made in-memory index.
LoadIndexGoal(P, ObjectGoal<ProbFilter, P>, FileGoal<P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.LoadIndexGoal
Creates the goal, wiring the bloom-index and store-index goals it loads from.
LoadKMerIndexGoal<P extends FTProject> - Class in org.metagene.genestrip.finertree.goals
Provides the ProbFilter k-mer index, either by reusing the in-memory filter already produced by the bloom goal or, if that goal was not made, by deserializing the filter from the file written by StoreKMerIndexGoal.
LoadKMerIndexGoal(P, ObjectGoal<ProbFilter, P>, FileGoal<P>, Goal<P>...) - Constructor for class org.metagene.genestrip.finertree.goals.LoadKMerIndexGoal
Creates the goal that loads or reuses the k-mer index bloom filter.
log(long) - Method in class org.metagene.genestrip.goals.DBDownloadGoal
Hook invoked periodically during download with the number of bytes read so far; does nothing by default.
LOG - Enum constant in enum class org.metagene.genestrip.GSProject.GSFileType
A log file.
LOG_LEVEL - Enum constant in enum class org.metagene.genestrip.GSConfigKey
The log level used by Genestrip.
LOG_PROGRESS_UPDATE_CYCLE - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Number of reads per file between matching-progress log messages.
logFastqDone() - Method in class org.metagene.genestrip.fastq.AbstractLoggingFastqStreamer
Logs completion statistics for the current file.
logFastqStart() - Method in class org.metagene.genestrip.fastq.AbstractLoggingFastqStreamer
Logs the start of processing for the current file.
logger - Variable in class org.metagene.genestrip.fastq.AbstractFastqReader
The logger used by this reader.
logger - Variable in class org.metagene.genestrip.refseq.AccessionFileProcessor
Logger used for accession-catalog reading.
logHeapInfo() - Method in class org.metagene.genestrip.make.Goal
Logs the current heap usage, at info level for Goal.LogHeapInfo goals and at debug level otherwise.
logHeapInfo(String) - Method in class org.metagene.genestrip.make.Goal
Logs the current heap usage, naming the point of the goal's making it was taken at, at info level for Goal.LogHeapInfo goals and at debug level otherwise.
login(FTPClient) - Method in class org.metagene.genestrip.make.FileDownloadGoal
Logs the given FTP client in using FileDownloadGoal.getLogin() and FileDownloadGoal.getPassword().
LogLevelConfigParamInfo(String) - Constructor for class org.metagene.genestrip.GSConfigKey.LogLevelConfigParamInfo
Creates parameter info for a log level.
logParamMap() - Method in class org.metagene.genestrip.make.Project
Logs the effective configuration parameter map at info level, ordered by parameter name.
logSetObject(Map<String, String>) - Method in class org.metagene.genestrip.goals.refseq.CheckSumMapGoal
 
logSetObject(T) - Method in class org.metagene.genestrip.make.ObjectGoal
Returns the string used to represent the value in trace logging when it is set; may be overridden to avoid logging large objects.
LongConfigParamInfo(long, long, long) - Constructor for class org.metagene.genestrip.make.ConfigParamInfo.LongConfigParamInfo
Creates a long parameter descriptor.
longConfigValue(ConfigKey) - Method in class org.metagene.genestrip.make.Goal
Returns the configuration value for the given key as a long.
longConfigValue(ConfigKey) - Method in class org.metagene.genestrip.make.Project
Returns the value of the given key as a long.
longToKMerStraight(long, byte[], int, int) - Static method in class org.metagene.genestrip.util.CGAT
Decodes a straight 2-bit-per-base k-mer encoding back into k nucleotide bytes, written to res starting at start.
longValue - Variable in class org.metagene.genestrip.util.StringLongDigitTrie.StringLong
The long value (counter) associated with the key.
lowestNodeWhereSumAboveThreshold(SmallTaxTree.SmallTaxIdNode, FastqKMerMatcher.MatcherConsumer, long, int) - Method in class org.metagene.genestrip.match.FastqKMerMatcher
Walks from the node to the root accumulating this consumer's counters belonging to initKey, and returns the lowest node at which the running sum reaches threshold.

M

M_RNA - Enum constant in enum class org.metagene.genestrip.GSConfigKey.SeqType
Messenger RNA (mRNA) sequences.
M_RNA_PREFIXES - Static variable in class org.metagene.genestrip.refseq.AccessionFileProcessor
Accession prefixes that mark a messenger-RNA sequence.
main(String[]) - Static method in class org.metagene.genestrip.finertree.FinerTreeMain
Runs the finer-tree extension on the default FTProject type from the command line.
main(String[]) - Static method in class org.metagene.genestrip.Main
Runs Genestrip on the default GSProject type from the command line.
Main<P extends GSProject> - Class in org.metagene.genestrip
Command line entry point for Genestrip.
Main() - Constructor for class org.metagene.genestrip.Main
Creates a new instance, building the command line option set.
make() - Method in class org.metagene.genestrip.make.Goal
Makes this goal: if it is not already made, marks it (and its dependencies) as potentially required, makes all non-weak dependencies, then makes this goal itself.
make(boolean, GoalKey...) - Method in class org.metagene.genestrip.make.Maker
Makes the given goals.
make(GoalKey...) - Method in class org.metagene.genestrip.make.Maker
Makes the given goals together (non-isolated), so shared dependencies are made only once.
makeFile(File) - Method in class org.metagene.genestrip.finertree.goals.AllInOneLaTeXGoal
Writes one chunked standalone LaTeX document: emits the article preamble (page geometry and TikZ package), appends the verbatim contents of each dendrogram file assigned to this output file, and closes the document.
makeFile(File) - Method in class org.metagene.genestrip.finertree.goals.DBQualityCSVGoal
Writes the per-tax-id database-quality metrics to the given CSV file, ordered by the taxonomy tree.
makeFile(File) - Method in class org.metagene.genestrip.finertree.goals.DengrogramLaTeXGoal
Writes the TikZ figure for the parent associated with the given file.
makeFile(File) - Method in class org.metagene.genestrip.finertree.goals.FTDBInfoGoal
Writes general information about the database to the given file.
makeFile(File) - Method in class org.metagene.genestrip.finertree.goals.KMerBranchHistoCSVGoal
 
makeFile(File) - Method in class org.metagene.genestrip.finertree.goals.KMerBranchHistoRankCSVGoal
 
makeFile(File) - Method in class org.metagene.genestrip.finertree.goals.KMerIntersectCSVGoal
Writes the CSV report for the parent node mapped to the given file: a header row of summary statistics, the child tax ids (with a trailing "OTHER" column), the full matrix of pairwise intersection counts and finally the matrix of Jaccard indices.
makeFile(File) - Method in class org.metagene.genestrip.finertree.goals.StoreKMerIndexGoal
Saves the k-mer index bloom filter to the given output file.
makeFile(File) - Method in class org.metagene.genestrip.goals.DB2FastqGoal
 
makeFile(File) - Method in class org.metagene.genestrip.goals.DBInfoGoal
 
makeFile(File) - Method in class org.metagene.genestrip.goals.Fasta2FastqGoal
 
makeFile(File) - Method in class org.metagene.genestrip.goals.FilterGoal
 
makeFile(File) - Method in class org.metagene.genestrip.goals.MatchGoal
 
makeFile(File) - Method in class org.metagene.genestrip.goals.refseq.ExtractRefSeqCSVGoal
 
makeFile(File) - Method in class org.metagene.genestrip.goals.refseq.KMerRankStatsCSVGoal
 
makeFile(File) - Method in class org.metagene.genestrip.goals.refseq.RefSeqFnaFilesDownloadGoal
Downloads the given RefSeq FASTA file, first warning if the local release is outdated (in which case the MD5 check may fail).
makeFile(File) - Method in class org.metagene.genestrip.goals.refseq.RefSeqRNumPropsGoal
 
makeFile(File) - Method in class org.metagene.genestrip.goals.refseq.StoreDBGoal
 
makeFile(File) - Method in class org.metagene.genestrip.goals.refseq.StoreIndexGoal
 
makeFile(File) - Method in class org.metagene.genestrip.goals.refseq.SVGTaxTreeGoal
 
makeFile(File) - Method in class org.metagene.genestrip.make.FileDownloadGoal
Downloads the given file, retrying up to FileDownloadGoal.getMaxDownloadTries() times while the check sum is wrong.
makeFile(File) - Method in class org.metagene.genestrip.make.FileGoal
Produces the given output file.
Maker<P extends Project> - Class in org.metagene.genestrip.make
Holds the goal graph of a Project: goals are created in Maker.createGoals() and registered by their GoalKey.
Maker(P) - Constructor for class org.metagene.genestrip.make.Maker
Creates a maker for the given project and immediately builds its goal graph via Maker.createGoals().
makeThis() - Method in class org.metagene.genestrip.make.Goal
Makes this goal's own output without making its dependencies, unless it is already made; notifies the dependencies afterwards via Goal.dependentMade(Goal).
mappedNode - Variable in class org.metagene.genestrip.refseq.AbstractRefSeqFastaReader
The tax id node the current contig is mapped to.
mapToIndex(byte, int) - Method in class org.metagene.genestrip.refseq.AccessionTrie
Digits, then the upper-case letters, then the underscore, then anything else.
mapToIndex(byte, int) - Method in class org.metagene.genestrip.util.DigitTrie
Maps a key byte at the given position to a child-array index; by default the digit value bite - '0'.
mark(int) - Method in class org.metagene.genestrip.io.ByteCountingFileInputStream
 
mark(int) - Method in class org.metagene.genestrip.io.ByteCountingInputStream
 
markLongestPath - Variable in class org.metagene.genestrip.match.TaxTreePainter
Whether the longest evolutionary path is highlighted (in red).
markOneGenomePerTaxon() - Method in class org.metagene.genestrip.tax.TaxTree.TaxIdNode
Marks this taxon as one whose sequences the catalog files under a category with one genome per taxon; see RefSeqCategory#isOneGenomePerTaxonRow(byte[], int, int).
markOwn(long) - Method in class org.metagene.genestrip.match.FastqKMerMatcher
Records a hit on the stored k-mer at the given storage position in this matcher's own FastqKMerMatcher.uniqueKmerBits; only called while those exist (see FastqKMerMatcher.isOwnUniqueKMerBits()).
markOwn(long) - Method in class org.metagene.genestrip.match.HitCountingFastqKMerMatcher
 
markPotentiallyRequired(boolean) - Method in class org.metagene.genestrip.make.Goal
Marks or unmarks this goal and all its dependencies as potentially required for making.
markRequired() - Method in class org.metagene.genestrip.tax.TaxTree.TaxIdNode
Marks this node and all of its ancestors as required, so they are retained when building a SmallTaxTree.
markSupported() - Method in class org.metagene.genestrip.io.ByteCountingInputStream
 
match(boolean, boolean, String, String...) - Method in class org.metagene.genestrip.GSMaker
Matches the given fastq/fasta inputs against the project's database and writes the result files.
match(boolean, String, String...) - Method in class org.metagene.genestrip.GSMaker
Matches the given fastq/fasta inputs against the project's database and writes the result files.
MATCH - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Analyzes fastq files given via the -f or -m option.
MatcherConsumer(AbstractFastqReader, int) - Constructor for class org.metagene.genestrip.match.FastqKMerMatcher.MatcherConsumer
Creates the consumer for the given matcher and index.
MatcherReadEntry(int, boolean, int) - Constructor for class org.metagene.genestrip.match.FastqKMerMatcher.MatcherReadEntry
Creates a read entry with buffers sized for the given number of candidate paths.
MatchGoal<P extends GSProject> - Class in org.metagene.genestrip.goals
Writes the k-mer matching result for each fastq map key as a CSV file (via ResultReporter).
MatchGoal(P, GoalKey, ObjectGoal<Map<String, StreamingResourceStream>, P>, ObjectGoal<Map<String, MatchingResult>, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.MatchGoal
Creates the goal, wiring the fastq map and matching-result goals it reports on.
MatchingResult - Class in org.metagene.genestrip.match
The result of matching FASTQ reads against the k-mer database: the per-tax-id statistics (CountsPerTaxid) together with the global totals and the k-mer length used.
MatchingResult(int, Map<String, CountsPerTaxid>, String, long, long, long) - Constructor for class org.metagene.genestrip.match.MatchingResult
Creates a matching result from the per-tax-id statistics and the global totals.
MATCHLR - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Same as match but without read classification.
matchRead(FastqKMerMatcher.MatcherReadEntry, int) - Method in class org.metagene.genestrip.match.FastqKMerMatcher
Matches a single read against the database: walks its k-mers, tracks contigs of k-mers belonging to the same tax id, updates per-tax-id statistics and unique-k-mer counts, votes on candidate taxonomic paths and resolves the read's classification via the lowest common ancestor subject to the error and count thresholds.
matchRead(FastqKMerMatcher.MatcherReadEntry, FastqKMerMatcher.MatcherConsumer) - Method in class org.metagene.genestrip.match.FastqKMerMatcher
Matches one read against the database on behalf of the given consumer, using only that consumer's private state.
MATCHRES - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Analyzes fastq files given via the -f or -m option.
MATCHRESLR - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Same as matchres but without read classification.
matchResult(boolean, String, String...) - Method in class org.metagene.genestrip.GSMaker
Computes and returns the matching result for the given inputs without writing the result files.
MatchResultGoal<P extends GSProject> - Class in org.metagene.genestrip.goals
Runs the k-mer matcher over each input fastq stream against the database and produces the per-key MatchingResults, optionally also writing filtered and kraken-style output files.
MatchResultGoal(P, GoalKey, ObjectGoal<Map<String, StreamingResourceStream>, P>, ObjectGoal<Database, P>, ExecutionContext, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.MatchResultGoal
Creates the goal wiring the fastq map and database goals that supply the matcher's inputs.
MatchResultGoal.AfterMatchCallback - Interface in org.metagene.genestrip.goals
Callback invoked during matching: once per finished key and once per matched read.
max() - Method in interface org.metagene.genestrip.io.StreamingResource.StreamAccess
 
max() - Method in interface org.metagene.genestrip.util.progressbar.GSProgressUpdate
Returns the maximum progress value.
MAX_BUCKET_SHIFT - Static variable in class org.metagene.genestrip.probfilter.BlockedBloomFilter
Maximum base-2 logarithm of the large-backing bucket width; keeps a bucket int-indexable.
MAX_BUCKET_SHIFT - Static variable in class org.metagene.genestrip.probfilter.SingleWordBloomFilter
Maximum base-2 logarithm of the large-backing bucket width; keeps a bucket int-indexable.
MAX_CLASSIFICATION_PATHS - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Maximum number of classification paths tracked per read.
MAX_DEGREE - Static variable in class org.metagene.genestrip.finertree.goals.KMerBranchHistoRankCSVGoal
Highest branching degree for which statistics are written.
MAX_DOWNLOAD_TRIES - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Number of download attempts per file before giving up.
MAX_DUST - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Maximum dust value above which low-complexity k-mers are dropped.
MAX_FROM_GENBANK - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Maximum number of Genbank fasta files used per tax id.
MAX_GENOMES_PER_TAXID - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Maximum number of genomes per tax id included in the database.
MAX_HASH_BITS - Static variable in class org.metagene.genestrip.probfilter.SingleWordBloomFilter
Maximum number of bits a key may set.
MAX_PER_TAXID_RANK - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Rank at which the per-tax-id genome limit applies.
MAX_RADIX_BITS - Static variable in class org.metagene.genestrip.store.RadixKMerStore
Maximum number of low k-mer bits used as the radix index.
MAX_READ_CLASS_ERROR_COUNT - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Maximum count of a read's k-mers inconsistent with its class for it to be classified.
MAX_READ_TAX_ERROR_COUNT - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Maximum count of a read's k-mers absent from the database for it to be classified.
MAX_SMALL_CAPACITY - Static variable in class org.metagene.genestrip.probfilter.BlockedBloomFilter
Maximum capacity (in words) that still uses the small int-indexed storage.
MAX_SMALL_CAPACITY - Static variable in class org.metagene.genestrip.probfilter.SingleWordBloomFilter
Maximum capacity (in words) that still uses the small int-indexed storage.
MAX_SMALL_CAPACITY - Static variable in class org.metagene.genestrip.store.KMerSortedArray
Capacity threshold above which the store switches to big (paged) arrays.
MAX_SMALL_CAPACITY - Static variable in class org.metagene.genestrip.util.LargeShortVector
Maximum capacity that still uses the small (int-indexed) array.
MAX_VALUES - Static variable in class org.metagene.genestrip.store.KMerSortedArray
Maximum number of distinct values, capped by the short range of the value index.
maxContigDescriptor - Variable in class org.metagene.genestrip.match.CountsPerTaxid
The read descriptor of the longest contig.
maxContigLen - Variable in class org.metagene.genestrip.match.CountsPerTaxid
The maximum contig length in k-mers.
maxPaths - Variable in class org.metagene.genestrip.match.FastqKMerMatcher
Maximum number of candidate taxonomic paths tracked per read.
maxReadClassErrorCount - Variable in class org.metagene.genestrip.match.FastqKMerMatcher
Maximum allowed classification error count per read before it is discarded.
maxReadTaxErrorCount - Variable in class org.metagene.genestrip.match.FastqKMerMatcher
Maximum allowed tax error count per read before it is discarded.
maxValues - Variable in class org.metagene.genestrip.store.AbstractKMerStore
The value-index capacity (maximum number of distinct values).
maxValuesForRadix(int) - Static method in class org.metagene.genestrip.store.RadixKMerStore
Maximum number of distinct values a store with the given radix width can hold.
MDCDescription - Annotation Interface in org.metagene.genestrip.match
Marks a CountsPerTaxid getter as a match-detail column of the CSV result.
MDDescription - Annotation Interface in org.metagene.genestrip.make
Attaches a human-readable Markdown description to a field (typically a config-key field), used when generating documentation.
mergeReadTaxidPath(SmallTaxTree.SmallTaxIdNode, FastqKMerMatcher.MatcherReadEntry) - Method in class org.metagene.genestrip.match.FastqKMerMatcher
Merges the given tax id node into the read's set of candidate taxonomic paths, collapsing paths that are ancestors of one another so that only the most specific nodes are kept.
MethodConfigParamInfo(SimpleAggloClustering.Method) - Constructor for class org.metagene.genestrip.finertree.FTConfigKey.MethodConfigParamInfo
Creates a method parameter descriptor with the given default clustering method.
MIN_BUCKET_SHIFT - Static variable in class org.metagene.genestrip.probfilter.BlockedBloomFilter
Minimum base-2 logarithm of the large-backing bucket width (in long words).
MIN_BUCKET_SHIFT - Static variable in class org.metagene.genestrip.probfilter.SingleWordBloomFilter
Minimum base-2 logarithm of the large-backing bucket width (in words).
MIN_KMERS_FOR_CLASS - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Minimum total of k-mers under a taxon required to classify a read to it.
MIN_POS_COUNT_FILTER - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Minimum number of a read's k-mers in the Bloom index for it to pass the filter.
MIN_RADIX_BITS - Static variable in class org.metagene.genestrip.store.RadixKMerStore
Minimum number of low k-mer bits used as the radix index.
minBucketShift(long, int) - Static method in class org.metagene.genestrip.probfilter.BlockedBloomFilter
Returns the smallest bucket-width exponent (a power-of-two word count, so the >>> bucketShift / & bucketMask addressing keeps working) that still holds all the words a filter of the given sizing needs.
minBucketShift(long, int) - Static method in class org.metagene.genestrip.probfilter.SingleWordBloomFilter
Returns the smallest bucket-width exponent that still holds all the words a filter of the given sizing needs, clamped to [SingleWordBloomFilter.MIN_BUCKET_SHIFT, SingleWordBloomFilter.MAX_BUCKET_SHIFT].
MITOCHONDRION - Enum constant in enum class org.metagene.genestrip.refseq.RefSeqCategory
The mitochondrion RefSeq category.
MODEL - Enum constant in enum class org.metagene.genestrip.GSConfigKey.RefSeqStatus
Model status.
MultiFileGoal<P extends GSProject> - Class in org.metagene.genestrip.goals
Base class for goals that produce one output file per fastq/fasta map key, keeping the association from each output file back to its input resources.
MultiFileGoal(P, GoalKey, ObjectGoal<Map<String, StreamingResourceStream>, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.MultiFileGoal
Creates the goal wiring the fastq map goal whose keys drive the produced output files.
MurmurBloomFilter - Class in org.metagene.genestrip.probfilter
A BloomFilter that hashes k-mers with MurmurHash3 rather than with the bit-mixing finalizer of BloomFilter.hash(long, int).
MurmurBloomFilter(double, long) - Constructor for class org.metagene.genestrip.probfilter.MurmurBloomFilter
Creates a filter with the given target false-positive probability, sized for expectedInsertions k-mers.
MurmurBloomFilter.MurmurHash3DropIn - Class in org.metagene.genestrip.probfilter
A drop-in reimplementation of the 64-bit MurmurHash3 hash (as in Apache Commons Codec) that, unlike the deprecated original, supports a custom seed.
MurmurHash3DropIn - Class in org.metagene.genestrip.util
A drop-in reimplementation of the 64-bit MurmurHash3 hash (as in Apache Commons Codec) that, unlike the deprecated original, supports a custom seed.
MyFastaReader(int, Set<TaxTree.TaxIdNode>, AccessionMap, int, int, boolean, AbstractRefSeqFastaReader.StringLong2DigitTrie, boolean) - Constructor for class org.metagene.genestrip.goals.refseq.ExtractRefSeqFastasGoal.MyFastaReader
Creates the reader that writes each included contig to its own FASTA file.
MyFastaReader(int, Set<TaxTree.TaxIdNode>, AccessionMap, int, int, int, boolean, AbstractRefSeqFastaReader.StringLong2DigitTrie, boolean) - Constructor for class org.metagene.genestrip.finertree.goals.AbstractKMerIndexGoal.MyFastaReader
Creates the reader.
MyFastaReader(int, Set<TaxTree.TaxIdNode>, AccessionMap, int, int, int, boolean, AbstractRefSeqFastaReader.StringLong2DigitTrie, boolean) - Constructor for class org.metagene.genestrip.goals.refseq.FillSizeGoal.MyFastaReader
Creates a counting FASTA reader.
MyFastaReader(int, Set<TaxTree.TaxIdNode>, AccessionMap, int, int, int, boolean, AbstractRefSeqFastaReader.StringLong2DigitTrie, boolean) - Constructor for class org.metagene.genestrip.goals.refseq.KMerRankStatsGoal.MyFastaReader
Creates the reader.
MyFastaReader(int, Set<TaxTree.TaxIdNode>, AccessionMap, int, ProbFilter, int, int, boolean, AbstractRefSeqFastaReader.StringLong2DigitTrie, boolean, TaxTree, boolean, boolean, boolean, boolean, TaxTree.IDStringGenerator, Rank) - Constructor for class org.metagene.genestrip.goals.refseq.FillBloomFilterGoal.MyFastaReader
Creates the reader that fills the temporary Bloom filter and counts distinct k-mers per radix bucket.
MyFastaReader(int, Set<TaxTree.TaxIdNode>, AccessionMap, KMerStore<String>, int, int, boolean, AbstractRefSeqFastaReader.StringLong2DigitTrie, boolean, TaxTree, boolean, boolean, boolean, boolean, TaxTree.IDStringGenerator, Rank) - Constructor for class org.metagene.genestrip.goals.refseq.FillDBGoal.MyFastaReader
Creates the reader storing k-mers into the given store.
MyFastaReader(int, TaxTree, Set<TaxTree.TaxIdNode>, AccessionMap, KMerStore<String>, int, int, boolean, AbstractRefSeqFastaReader.StringLong2DigitTrie, boolean, boolean, boolean, boolean, boolean, Rank) - Constructor for class org.metagene.genestrip.goals.refseq.DBGoal.MyFastaReader
Creates the reader that updates existing k-mers to the lowest common ancestor of their current and new nodes.
MyFastaReader(AbstractRefSeqFastaReader.StringLong2DigitTrie) - Constructor for class org.metagene.genestrip.finertree.goals.AbstractDBQualityGoal.MyFastaReader
Creates the reader, reading everything but the contigs from the goal's configuration.
MyReadEntry(int, boolean) - Constructor for class org.metagene.genestrip.match.FastqFilter.MyReadEntry
Creates the read entry.

N

NA - Enum constant in enum class org.metagene.genestrip.GSConfigKey.RefSeqStatus
Status not available.
name - Variable in class org.metagene.genestrip.tax.TaxIdInfo
The name of this node.
name() - Element in annotation interface org.metagene.genestrip.match.MDCDescription
The column header name.
NAMES_DMP - Static variable in class org.metagene.genestrip.tax.NCBITaxTreeFormat
File name of the NCBI taxonomy names dump.
NAMES_DMP - Static variable in class org.metagene.genestrip.tax.TaxTree
File name of the NCBI taxonomy names dump; see NCBITaxTreeFormat.NAMES_DMP.
NCBITaxTreeFormat - Class in org.metagene.genestrip.tax
The NCBI taxonomy dump: the nodes.dmp and names.dmp files, read straight from the archive taxdmp.zip as NCBI publishes it, or else from the two files themselves.
NCBITaxTreeFormat() - Constructor for class org.metagene.genestrip.tax.NCBITaxTreeFormat
 
NCBITaxTreeFormat.EntryAccess - Class in org.metagene.genestrip.tax
An entry of the archive as a stream that counts what was read from it, for the progress bar.
nearest(int, long, int) - Method in class org.metagene.genestrip.refseq.AssemblySizeIndex
Returns the nearest assembly of the given taxon whose recorded length is within gap of the given sum, or null where there is none.
newDecodeTable() - Static method in class org.metagene.genestrip.util.CGAT
Returns a fresh copy of the 2-bit-code-to-nucleotide decode table (index 0-3 maps to C, G, A, T).
newGSProgressBar(String, long, int, String, GSProgressUpdate, Log, boolean) - Static method in class org.metagene.genestrip.util.progressbar.GSProgressBarCreator
Creates a progress bar with full control over its parameters.
newGSProgressBar(String, long, String, Log) - Static method in class org.metagene.genestrip.util.progressbar.GSProgressBarCreator
Creates a progress bar for the given task with a fixed maximum and the given unit name, stepped by the caller.
newGSProgressBar(String, String, GSProgressUpdate, Log) - Static method in class org.metagene.genestrip.util.progressbar.GSProgressBarCreator
Creates a progress bar for the given task with the given unit name that reads its progress from the given progress update.
newGSProgressBar(String, GSProgressUpdate, Log) - Static method in class org.metagene.genestrip.util.progressbar.GSProgressBarCreator
Creates a byte-counting progress bar for the given task that reads its current and maximum values from the given progress update.
newGSProgressBar(String, GSProgressUpdate, Log, boolean) - Static method in class org.metagene.genestrip.util.progressbar.GSProgressBarCreator
newReader(AbstractRefSeqFastaReader.StringLong2DigitTrie) - Method in class org.metagene.genestrip.finertree.goals.AbstractDBQualityGoal
Creates the reader of this pass, which is the one thing the two goals do not share.
newReader(AbstractRefSeqFastaReader.StringLong2DigitTrie) - Method in class org.metagene.genestrip.finertree.goals.DBQualityCountsGoal
 
newReader(AbstractRefSeqFastaReader.StringLong2DigitTrie) - Method in class org.metagene.genestrip.finertree.goals.DBQualitySizeGoal
 
newSketch() - Static method in class org.metagene.genestrip.goals.refseq.FillSizeGoal
Creates a HyperLogLog sketch of the sizing all readers share, so that theirs can be merged.
nextEntry(AbstractFastqReader.ReadEntry, AbstractFastqReader.ConsumerRunnable) - Method in class org.metagene.genestrip.fastq.AbstractFastqReader
Processes a single read entry.
nextEntry(AbstractFastqReader.ReadEntry, AbstractFastqReader.ConsumerRunnable) - Method in class org.metagene.genestrip.match.FastqFilter
 
nextEntry(AbstractFastqReader.ReadEntry, AbstractFastqReader.ConsumerRunnable) - Method in class org.metagene.genestrip.match.FastqKMerMatcher
 
nextKMerReverse(long, byte, int) - Static method in class org.metagene.genestrip.util.CGAT
Returns the reverse-complement k-mer encoding obtained by prepending the complement of base bp to the given reverse k-mer and dropping its oldest base, or -1 if bp is not a CGAT base.
nextKMerStraight(long, byte, int) - Static method in class org.metagene.genestrip.util.CGAT
Returns the straight k-mer encoding obtained by appending base bp to the given k-mer and dropping its oldest base, or -1 if bp is not a CGAT base.
nextLine(byte[]) - Method in class org.metagene.genestrip.io.BufferedLineReader
Reads the next line into target starting at position 0; see BufferedLineReader.nextLine(byte[], int).
nextLine(byte[], int) - Method in class org.metagene.genestrip.io.BufferedLineReader
Reads the next line into target starting at startPos, skipping null bytes.
nextValue(KMerStore<V>, long, int, long) - Method in interface org.metagene.genestrip.store.KMerStore.IndexedKMerStoreVisitor
Called for each stored entry during a KMerStore.visit(IndexedKMerStoreVisitor).
nextValueIndex - Variable in class org.metagene.genestrip.store.AbstractKMerStore
The next store index to assign to a newly registered value.
NO_RANK - Enum constant in enum class org.metagene.genestrip.tax.Rank
The wildcard "no rank" rank, with an indeterminate level.
node - Variable in class org.metagene.genestrip.refseq.AbstractRefSeqFastaReader
The tax id node resolved for the current contig.
NODE_COMPARATOR - Static variable in class org.metagene.genestrip.tax.TaxTree
Comparator ordering nodes by tax id, with null sorting first.
nodeByPos - Variable in class org.metagene.genestrip.finertree.goals.AbstractDBQualityGoal
The tree's nodes by dense position.
nodeCount - Variable in class org.metagene.genestrip.finertree.goals.AbstractDBQualityGoal
The number of node positions, i.e.
nodeCountInitKeys - Variable in class org.metagene.genestrip.match.FastqKMerMatcher.MatcherConsumer
Read key per counter: a counter only counts for the read whose number is stored here.
nodeCounts - Variable in class org.metagene.genestrip.match.FastqKMerMatcher.MatcherConsumer
Vote counters of the current read, indexed by node position; null without classification.
nodeIndentFactor - Variable in class org.metagene.genestrip.match.TaxTreePainter
The scaling factor applied to per-node distance- or k-mer-based indentation.
NODES_DMP - Static variable in class org.metagene.genestrip.tax.NCBITaxTreeFormat
File name of the NCBI taxonomy nodes dump.
NODES_DMP - Static variable in class org.metagene.genestrip.tax.TaxTree
File name of the NCBI taxonomy nodes dump; see NCBITaxTreeFormat.NODES_DMP.
NONE - Enum constant in enum class org.metagene.genestrip.genbank.AssemblySummaryReader.AssemblyQuality
No quality level, treated as the lowest quality level.
normalQuantile(double) - Static method in class org.metagene.genestrip.match.SharedFractionEstimator
The quantile function of the standard normal distribution, by Acklam's rational approximation (relative error below 1.15e-9).

O

ObjectGoal<T,P extends Project> - Class in org.metagene.genestrip.make
A Goal that produces an in-memory value of type T rather than files.
ObjectGoal(P, GoalKey, Goal<P>...) - Constructor for class org.metagene.genestrip.make.ObjectGoal
Creates the object goal.
OFF - Enum constant in enum class org.metagene.genestrip.GSConfigKey.GenomesOnly
No restriction: every genomic accession of the release enters, drafts included.
offer(T) - Method in class org.metagene.genestrip.util.SimpleBlockingQueue
 
offer(T, long, TimeUnit) - Method in class org.metagene.genestrip.util.SimpleBlockingQueue
 
onePass(long) - Method in class org.metagene.genestrip.finertree.goals.KMerIndexBloomGoal
Allocates a filter of the given size and reads all sequences once into it.
onePass(FillSizeGoal.KMerCounts, boolean) - Method in class org.metagene.genestrip.goals.refseq.FillBloomFilterGoal
Reads all sequences once through a temporary filter of the given sizing and returns the database size derived from what it counted.
openStream() - Method in class org.metagene.genestrip.io.StreamingFileResource
 
openStream() - Method in interface org.metagene.genestrip.io.StreamingResource
Opens this resource for streaming and returns a handle for reading from it.
openStream() - Method in class org.metagene.genestrip.io.StreamingURLResource
 
OPT_BLOOM_FILTER_FPP - Enum constant in enum class org.metagene.genestrip.GSConfigKey
False positive probability of the final matching database's Bloom filter.
optimalHashBits(int) - Static method in class org.metagene.genestrip.probfilter.SingleWordBloomFilter
Returns the number of bits a key should set for the given sizing.
optimalNumOfBits(long, double) - Method in class org.metagene.genestrip.probfilter.BloomFilter
Computes the optimal number of bits for the given sizing and false-positive probability.
optimalNumOfHashFunctions(long, long) - Method in class org.metagene.genestrip.probfilter.BloomFilter
Computes the optimal number of hash functions for the given sizing.
optimize() - Method in interface org.metagene.genestrip.refseq.AccessionMap
optimize() - Method in class org.metagene.genestrip.refseq.AccessionMapImpl
Deprecated.
 
optimize() - Method in class org.metagene.genestrip.refseq.AccessionMapTrieImpl
 
optimize() - Method in class org.metagene.genestrip.store.KMerSortedArray
 
optimize() - Method in interface org.metagene.genestrip.store.KMerStore
Finalizes the store for lookups (e.g.
optimize() - Method in class org.metagene.genestrip.store.RadixKMerStore
 
optimizedFpp - Variable in class org.metagene.genestrip.store.AbstractKMerStore
The target false-positive probability of the post-optimize filter.
ORDER - Enum constant in enum class org.metagene.genestrip.tax.Rank
The order rank.
org.metagene.genestrip - package org.metagene.genestrip
 
org.metagene.genestrip.fasta - package org.metagene.genestrip.fasta
 
org.metagene.genestrip.fastq - package org.metagene.genestrip.fastq
 
org.metagene.genestrip.fastqgen - package org.metagene.genestrip.fastqgen
 
org.metagene.genestrip.finertree - package org.metagene.genestrip.finertree
 
org.metagene.genestrip.finertree.cluster - package org.metagene.genestrip.finertree.cluster
 
org.metagene.genestrip.finertree.goals - package org.metagene.genestrip.finertree.goals
 
org.metagene.genestrip.finertree.probfilter - package org.metagene.genestrip.finertree.probfilter
 
org.metagene.genestrip.finertree.refseq - package org.metagene.genestrip.finertree.refseq
 
org.metagene.genestrip.genbank - package org.metagene.genestrip.genbank
 
org.metagene.genestrip.goals - package org.metagene.genestrip.goals
 
org.metagene.genestrip.goals.genbank - package org.metagene.genestrip.goals.genbank
 
org.metagene.genestrip.goals.refseq - package org.metagene.genestrip.goals.refseq
 
org.metagene.genestrip.io - package org.metagene.genestrip.io
 
org.metagene.genestrip.make - package org.metagene.genestrip.make
 
org.metagene.genestrip.match - package org.metagene.genestrip.match
 
org.metagene.genestrip.probfilter - package org.metagene.genestrip.probfilter
 
org.metagene.genestrip.refseq - package org.metagene.genestrip.refseq
 
org.metagene.genestrip.store - package org.metagene.genestrip.store
 
org.metagene.genestrip.tax - package org.metagene.genestrip.tax
 
org.metagene.genestrip.util - package org.metagene.genestrip.util
 
org.metagene.genestrip.util.progressbar - package org.metagene.genestrip.util.progressbar
 
OTHER - Enum constant in enum class org.metagene.genestrip.refseq.RefSeqCategory
The other RefSeq category.
OTHER - Enum constant in enum class org.metagene.genestrip.tax.Rank
Artificial rank marking a node that stands for the genomes below a taxon which nothing in the database names.
OTHER_TAXA_ONLY - Enum constant in enum class org.metagene.genestrip.GSConfigKey.UpdateScope
Every contig of the release except those of the selected tax ids - the complement of GSConfigKey.UpdateScope.OWN_TAXA_ONLY.
OTHER_VALUE - Static variable in class org.metagene.genestrip.finertree.goals.AbstractKMerIndexGoal
Marker index used for k-mers that belong to no relevant leaf tax node, i.e.
otherNode(TaxTree.TaxIdNode, TaxTree.IDStringGenerator) - Method in class org.metagene.genestrip.tax.TaxTree
Returns the artificial OTHER-rank child of the given node, creating it (with a freshly generated artificial tax id) if it does not yet exist.
otherNodeName(String) - Static method in class org.metagene.genestrip.tax.TaxTree
Returns the name an OTHER node hanging under the given taxon carries: the taxon's own tax id followed by the name of the Rank.OTHER rank.
out - Variable in class org.metagene.genestrip.match.FastqKMerMatcher
Print stream for the Kraken-style per-read output, or null if none.
OUTDATED - Enum constant in enum class org.metagene.genestrip.goals.refseq.CheckRefSeqRNumGoal.Result
The local RefSeq release is outdated.
OWN_TAXA_ONLY - Enum constant in enum class org.metagene.genestrip.GSConfigKey.UpdateScope
Only the release's contigs of the tax ids selected for the database.

P

paintTree(Graphics2D) - Method in class org.metagene.genestrip.match.TaxTreePainter
Paints the entire taxonomy tree onto the given graphics context.
PARALLEL_DB_MATCHING - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether matchers keep their own unique-k-mer bits so several can share one database.
parent - Variable in class org.metagene.genestrip.tax.SmallTaxTree.SmallTaxIdNode
The parent of this node, or null for the root.
parse(String[]) - Method in class org.metagene.genestrip.Main
Parses the command line arguments, creating the project (with its configuration) and the maker.
parseAndRun(String[]) - Method in class org.metagene.genestrip.Main
Parses the arguments and runs the requested goals, printing the usage help on failure and always disposing the maker's resources at the end.
parseLength(byte[], int, int) - Static method in class org.metagene.genestrip.refseq.AccessionFileProcessor
Parses the non-negative number in seq[start, end), or -1 where it is not one.
PART_SUFFIX - Static variable in class org.metagene.genestrip.make.FileDownloadGoal
File name suffix of the file an HTTP download is written to until it is complete.
partFile(File) - Method in class org.metagene.genestrip.make.FileDownloadGoal
Returns the file an HTTP download of the given file is written to until it is complete.
peek() - Method in class org.metagene.genestrip.util.SimpleBlockingQueue
 
PHYLUM - Enum constant in enum class org.metagene.genestrip.tax.Rank
The phylum rank.
PLANT - Enum constant in enum class org.metagene.genestrip.refseq.RefSeqCategory
The plant RefSeq category.
PLASMID - Enum constant in enum class org.metagene.genestrip.refseq.RefSeqCategory
The plasmid RefSeq category.
PLASTID - Enum constant in enum class org.metagene.genestrip.refseq.RefSeqCategory
The plastid RefSeq category.
poll() - Method in class org.metagene.genestrip.util.SimpleBlockingQueue
 
poll(long, TimeUnit) - Method in class org.metagene.genestrip.util.SimpleBlockingQueue
 
pooled - Variable in class org.metagene.genestrip.fastq.AbstractFastqReader.ReadEntry
Whether this entry is currently free in the pool and available for reuse.
pos() - Element in annotation interface org.metagene.genestrip.match.MDCDescription
The column's sort position.
POS_RATIO_FILTER - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Minimum ratio of a read's k-mers in the Bloom index for it to pass the filter.
position - Variable in class org.metagene.genestrip.tax.TaxIdInfo
The position of this node within the taxonomy tree.
postNode(DendrogramNode) - Method in interface org.metagene.genestrip.finertree.cluster.DendrogramNode.Visitor
Invoked when the traversal leaves the given node, after its children have been visited.
PREDICTED - Enum constant in enum class org.metagene.genestrip.GSConfigKey.RefSeqStatus
Predicted status.
PREF_REF - Enum constant in enum class org.metagene.genestrip.GSConfigKey.GenomesOnly
Complete assemblies, with NCBI's own choice taken where it has made one.
PREFER_REF_FIRST - Enum constant in enum class org.metagene.genestrip.GSConfigKey.GenomesOnly
No restriction on how finished an assembly is -- drafts enter as under GSConfigKey.GenomesOnly.OFF -- but the assembly NCBI marks as a species' reference genome is kept a place among the genomes maxGenomesPerTaxid admits.
prefetchedNodes - Variable in class org.metagene.genestrip.match.FastqKMerMatcher.MatcherConsumer
Prefetched node per k-mer start position of the current read, or null for a miss.
prefetchedPositions - Variable in class org.metagene.genestrip.match.FastqKMerMatcher.MatcherConsumer
Prefetched storage positions, valid where the corresponding node is not null.
preNode(DendrogramNode) - Method in interface org.metagene.genestrip.finertree.cluster.DendrogramNode.Visitor
Invoked when the traversal enters the given node, before its children are visited.
prepare() - Method in class org.metagene.genestrip.finertree.goals.AbstractDBQualityGoal
Loads the database and works out, for every node of its tree, its dense position and whether it is a leaf.
prepare() - Method in class org.metagene.genestrip.finertree.goals.AbstractKMerIndexGoal
Does what both goals must do before they can read anything: determines the tax nodes selected for refinement and loads the k-mer store they are looked up in.
print(byte[], int, int, PrintStream) - Static method in class org.metagene.genestrip.util.ByteArrayUtil
Prints the characters in [start, end), stopping early at the first null byte.
print(byte[], PrintStream) - Static method in class org.metagene.genestrip.util.ByteArrayUtil
Prints the whole array's characters up to the first null byte.
printAfterRead(int) - Method in class org.metagene.genestrip.fastqgen.FastQWriter
Writes a read's separator ('+') line and a placeholder quality line of '~' of the given length.
printBeforeRead(String) - Method in class org.metagene.genestrip.fastqgen.FastQWriter
Writes a read's descriptor line: the id, the optional tax id and the running read number.
printChar(char) - Method in class org.metagene.genestrip.match.FastqKMerMatcher.MatcherReadEntry
Appends a single character (as a byte) to the output buffer.
printGoalInfo(PrintStream) - Static method in enum class org.metagene.genestrip.finertree.FTGoalKey
Prints a Markdown table listing the FT goals with their user flag and descriptions.
printGoalInfo(PrintStream) - Static method in enum class org.metagene.genestrip.GSGoalKey
Prints a Markdown table listing all goals with their user/clean flags and descriptions.
printInt(int) - Method in class org.metagene.genestrip.match.FastqKMerMatcher.MatcherReadEntry
Appends the decimal representation of the given integer to the output buffer.
printKrakenStyleOut(FastqKMerMatcher.MatcherReadEntry, SmallTaxTree.SmallTaxIdNode, int, int) - Method in class org.metagene.genestrip.match.FastqKMerMatcher
Appends a single Kraken-style segment (taxid:contigLen) to the read's output buffer, using A for invalid (ambiguous) and 0 for unmatched k-mers.
println(byte[], int, int, PrintStream) - Static method in class org.metagene.genestrip.util.ByteArrayUtil
Prints the characters in [start, end) followed by a line separator.
println(byte[], PrintStream) - Static method in class org.metagene.genestrip.util.ByteArrayUtil
Prints the whole array (up to the first null byte) followed by a line separator.
printMatchResult(MatchingResult, PrintStream) - Method in class org.metagene.genestrip.match.ResultReporter
Prints the match result as CSV: a header row of column names followed by one row per tax id, with values obtained reflectively from the annotated getters.
printMDColumnInfo(PrintStream) - Static method in class org.metagene.genestrip.match.ResultReporter
Prints a Markdown table documenting every match-result column (its name and description) as declared by the MDCDescription annotations.
printMDConfigParamInfo(PrintStream, GoalKey) - Static method in enum class org.metagene.genestrip.finertree.FTConfigKey
Prints a Markdown table describing all non-internal FT configuration keys that apply to the given goal (or all such keys if filterGoalKey is null).
printMDConfigParamInfo(PrintStream, GoalKey) - Static method in enum class org.metagene.genestrip.GSConfigKey
Prints a Markdown table describing all non-internal configuration keys that apply to the given goal (or all such keys if filterGoalKey is null).
printStoreInfo(Database, PrintStream, boolean) - Method in class org.metagene.genestrip.match.ResultReporter
Prints one CSV row per taxonomy node describing the database: level, name, rank, tax id, stored k-mer count, requested flag and, if asked for, the evolutionary distances.
printString(String) - Method in class org.metagene.genestrip.match.FastqKMerMatcher.MatcherReadEntry
Appends the bytes of the given string to the output buffer.
ProbFilter - Interface in org.metagene.genestrip.probfilter
A probabilistic set of k-mers (each encoded as a long), i.e.
processCatalog(StreamingResource) - Method in class org.metagene.genestrip.refseq.AccessionFileProcessor
Streams and parses the given RefSeq catalog file, invoking AccessionFileProcessor.handleEntry(byte[], int, int, int) for every entry that matches the configured sequence type, category and status filters.
processFastqStreams(StreamingResourceStream) - Method in class org.metagene.genestrip.fastq.AbstractLoggingFastqStreamer
Reads and processes every FASTQ/FASTA resource in the given stream, logging and reporting progress and accumulating total read, k-mer and base-pair counts.
PROGRESS_BAR - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether to show a progress bar for longer running steps.
PROGRESS_BAR_UPDATE - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Update period in milliseconds for the progress bar.
Project - Class in org.metagene.genestrip.make
Base class for a project: a named holder of typed configuration parameters (each a ConfigKey whose value is validated against its ConfigParamInfo) plus free-form additional properties.
Project(String) - Constructor for class org.metagene.genestrip.make.Project
Creates a project with the given name, which is also recorded as the "projectName" additional property.
PROJECT_NAME - Static variable in class org.metagene.genestrip.make.Project
Additional-property key under which the project name is stored.
PROTOZOA - Enum constant in enum class org.metagene.genestrip.refseq.RefSeqCategory
The protozoa RefSeq category.
provideFiles() - Method in class org.metagene.genestrip.finertree.goals.DengrogramLaTeXGoal
Registers one output .tex file per refinement parent.
provideFiles() - Method in class org.metagene.genestrip.finertree.goals.KMerIntersectCSVGoal
Registers one output CSV file per parent node: every node matching a configured refinement position (that carries stored *k*-mers) plus every explicitly configured tax id, recording the file-to-node mapping used later by KMerIntersectCSVGoal.makeFile(File).
provideFiles() - Method in class org.metagene.genestrip.goals.DB2FastqGoal
 
provideFiles() - Method in class org.metagene.genestrip.goals.Fasta2FastqGoal
 
provideFiles() - Method in class org.metagene.genestrip.goals.MatchGoal
 
provideFiles() - Method in class org.metagene.genestrip.goals.MultiFileGoal
 
provideFiles() - Method in class org.metagene.genestrip.make.FileListGoal
Hook to lazily add output files the first time FileListGoal.getFiles() is called; empty by default.
PROVISIONAL - Enum constant in enum class org.metagene.genestrip.GSConfigKey.RefSeqStatus
Provisional status.
put(byte) - Method in class org.metagene.genestrip.util.CGATLongBuffer
Feeds the next base into the buffer, updating the straight and reverse-complement encodings and (if enabled) the DUST score.
put(byte[], int, int, TaxTree.TaxIdNode) - Method in interface org.metagene.genestrip.refseq.AccessionMap
Adds a mapping from the accession key array[start, end) to the given tax id node.
put(byte[], int, int, TaxTree.TaxIdNode) - Method in class org.metagene.genestrip.refseq.AccessionMapImpl
Deprecated.
 
put(byte[], int, int, TaxTree.TaxIdNode) - Method in class org.metagene.genestrip.refseq.AccessionMapTrieImpl
 
put(T) - Method in class org.metagene.genestrip.util.SimpleBlockingQueue
 
putLong(long) - Method in class org.metagene.genestrip.probfilter.BlockedBloomFilter
Adds the key to the filter and reports whether it was newly added, ORing its bits into the backing words.
putLong(long) - Method in class org.metagene.genestrip.probfilter.BloomFilter
Adds the given k-mer to the filter and reports whether it was newly added, computing each hash only once and setting the corresponding bits atomically.
putLong(long) - Method in interface org.metagene.genestrip.probfilter.ProbFilter
Adds the given k-mer to the filter unless it is (probably) already present, and reports whether it was newly added.
putLong(long) - Method in class org.metagene.genestrip.probfilter.SingleWordBloomFilter
Adds the key to the filter and reports whether it was newly added, ORing all of its bits into its word.
putLong(long, V) - Method in class org.metagene.genestrip.store.KMerSortedArray
 
putLong(long, V) - Method in interface org.metagene.genestrip.store.KMerStore
Inserts a value under the given k-mer.
putLong(long, V) - Method in class org.metagene.genestrip.store.RadixKMerStore
 

Q

quantile(double[], double) - Static method in class org.metagene.genestrip.finertree.goals.KMerBranchHistoRankCSVGoal
Computes the p-quantile of an already ascending-sorted array using linear interpolation between the two closest ranks (the type-7 definition used by NumPy, R and matplotlib).
quantile(double[], double) - Static method in class org.metagene.genestrip.goals.refseq.KMerRankStatsCSVGoal
Computes the p-quantile of an already ascending-sorted array using linear interpolation between the two closest ranks (the type-7 definition used by NumPy, R and matplotlib's box plots).
quantile(long[], double) - Static method in class org.metagene.genestrip.goals.refseq.KMerRankStatsCSVGoal
Computes the p-quantile of an already ascending-sorted array using linear interpolation between the two closest ranks (the type-7 definition used by NumPy, R and matplotlib's box plots).

R

RADIX_STORE_BITS - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Number of low k-mer bits used as the radix index of the RadixKMerStore.
RadixKMerStore<V extends Serializable> - Class in org.metagene.genestrip.store
A KMerStore that indexes the lowest radixBits bits of every k-mer through a fixed radix table and stores the remaining bits of the k-mer together with its value index inside a long.
RadixKMerStore(int, int, int[], double, double, List<V>, boolean) - Constructor for class org.metagene.genestrip.store.RadixKMerStore
Creates a radix k-mer store with the given radix width and per-bucket capacities, using a bloom pre-filter with the given false-positive probabilities.
RadixKMerStore(int, int, int[], List<V>, ProbFilter, double) - Constructor for class org.metagene.genestrip.store.RadixKMerStore
Creates a radix k-mer store with the given radix width, per-bucket capacities and an explicit probabilistic pre-filter.
RadixKMerStore(RadixKMerStore<W>, KMerStore.ValueConverter<W, V>) - Constructor for class org.metagene.genestrip.store.RadixKMerStore
Creates a store that shares the radix index of another store while converting its values.
RadixKMerStore.BatchBuffers - Class in org.metagene.genestrip.store
RadixKMerStore.BatchPositionConsumer<V> - Interface in org.metagene.genestrip.store
Receives the result of one k-mer of a batched lookup, including its storage position.
RadixKMerStore.BatchValueConsumer<V> - Interface in org.metagene.genestrip.store
radixOf(long, int) - Static method in class org.metagene.genestrip.store.RadixKMerStore
Returns the radix bucket index of the given k-mer for a store using the given radix width.
random - Variable in class org.metagene.genestrip.probfilter.BloomFilter
Source of randomness used to derive the hash factors.
range(int) - Method in class org.metagene.genestrip.refseq.AccessionTrie
 
range(int) - Method in class org.metagene.genestrip.util.DigitTrie
Returns the number of possible child indices at the given position; by default 10 (decimal digits).
rank - Variable in class org.metagene.genestrip.tax.TaxIdInfo
The rank of this node, stored as the rank enum's ordinal.
Rank - Enum Class in org.metagene.genestrip.tax
Taxonomic ranks used in the taxonomy tree, ordered from higher to lower ranks.
RANK_COMPLETION_DEPTH - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Rank up to which requested tax ids are completed by taxonomy descendants.
RankConfigParamInfo(Rank) - Constructor for class org.metagene.genestrip.GSConfigKey.RankConfigParamInfo
Creates parameter info for a taxonomic rank.
read - Variable in class org.metagene.genestrip.fastq.AbstractFastqReader.ReadEntry
The buffer holding the read's sequence bytes.
read() - Method in class org.metagene.genestrip.io.ByteCountingFileInputStream
 
read() - Method in class org.metagene.genestrip.io.ByteCountingInputStream
 
read(byte[]) - Method in class org.metagene.genestrip.io.ByteCountingFileInputStream
 
read(byte[]) - Method in class org.metagene.genestrip.io.ByteCountingInputStream
 
read(byte[], int, int) - Method in class org.metagene.genestrip.io.ByteCountingFileInputStream
 
read(byte[], int, int) - Method in class org.metagene.genestrip.io.ByteCountingInputStream
 
read(File, TaxTree.Builder, boolean) - Method in class org.metagene.genestrip.tax.NCBITaxTreeFormat
Reads taxdmp.zip in the given directory if it is there, and else nodes.dmp and names.dmp.
read(File, TaxTree.Builder, boolean) - Method in interface org.metagene.genestrip.tax.TaxTreeFormat
Reads the taxonomy files in the given directory and creates their nodes, links and names via the builder.
readBPs - Variable in class org.metagene.genestrip.fastq.AbstractFastqReader
Total number of base pairs across all reads processed so far.
readDescriptor - Variable in class org.metagene.genestrip.fastq.AbstractFastqReader.ReadEntry
The buffer holding the read's descriptor (header) bytes.
readDescriptorSize - Variable in class org.metagene.genestrip.fastq.AbstractFastqReader.ReadEntry
The number of valid bytes in AbstractFastqReader.ReadEntry.readDescriptor.
ReadEntry(int, boolean) - Constructor for class org.metagene.genestrip.fastq.AbstractFastqReader.ReadEntry
Creates a read entry with buffers of the given size.
reader - Variable in class org.metagene.genestrip.fastq.AbstractFastqReader.ConsumerRunnable
The reader this consumer belongs to.
readers - Variable in class org.metagene.genestrip.finertree.goals.AbstractDBQualityGoal
The readers of the pass under way, one per thread, collected as they are created.
readers - Variable in class org.metagene.genestrip.finertree.goals.AbstractKMerIndexGoal
The readers of the current pass, one per thread.
readFasta(File) - Method in class org.metagene.genestrip.fasta.AbstractFastaReader
Reads the given FASTA file (transparently decompressing it as needed).
readFasta(File) - Method in class org.metagene.genestrip.refseq.AbstractRefSeqFastaReader
Records the file being read (for reference by subclasses) and delegates to the superclass.
readFasta(InputStream) - Method in class org.metagene.genestrip.fasta.AbstractFastaReader
Reads FASTA content from the given (non-null) stream, dispatching header and data lines to the overridable template methods.
readFastas() - Method in class org.metagene.genestrip.goals.refseq.FastaReaderGoal
Reads all relevant RefSeq FASTA files and any additional FASTA files, single-threaded or via the configured pool of consumer threads, then invokes FastaReaderGoal.afterReadFastas(org.metagene.genestrip.refseq.AbstractRefSeqFastaReader.StringLong2DigitTrie).
readFastq(InputStream, boolean) - Method in class org.metagene.genestrip.fastq.AbstractFastqReader
Reads all reads from the given stream (as FASTA if fasta is true, otherwise FASTQ), dispatching them and waiting for all consumer threads to finish.
readFastq(InputStream, boolean) - Method in class org.metagene.genestrip.match.FastqKMerMatcher
 
readFromFile(File) - Method in class org.metagene.genestrip.goals.refseq.CategoriesGoal
Parses the categories file into a set of RefSeqCategory values; one category directory name per line, with whole-line and end-of-line '#' comments ignored and unknown names skipped.
readFromFile(File, Set<TaxTree.TaxIdNode>) - Method in class org.metagene.genestrip.tax.TaxIdCollector
Reads tax ids from the given file (one per line, ignoring # comments and taking the last tab-separated field) and resolves them to nodes.
readNamesFromStream(InputStream, TaxTree.Builder) - Method in class org.metagene.genestrip.tax.NCBITaxTreeFormat
Reads a names.dmp stream and assigns names to the already loaded nodes, preferring scientific names.
readNo - Variable in class org.metagene.genestrip.fastq.AbstractFastqReader.ReadEntry
The zero-based sequential number of this read.
readNodesFromStream(InputStream, TaxTree.Builder) - Method in class org.metagene.genestrip.tax.NCBITaxTreeFormat
Reads a nodes.dmp stream, creating nodes, linking them to their parents and setting their ranks.
readNoPerStat - Variable in class org.metagene.genestrip.match.FastqKMerMatcher.MatcherConsumer
Last read number seen per store index, to count reads with at least one k-mer once.
readProbs - Variable in class org.metagene.genestrip.fastq.AbstractFastqReader.ReadEntry
The buffer holding the read's per-base quality bytes, or null if none.
readProbsSize - Variable in class org.metagene.genestrip.fastq.AbstractFastqReader.ReadEntry
The number of valid bytes in AbstractFastqReader.ReadEntry.readProbs, or -1 if none.
reads - Variable in class org.metagene.genestrip.fastq.AbstractFastqReader
Number of reads processed so far.
reads - Variable in class org.metagene.genestrip.match.CountsPerTaxid
The number of reads classified to the tax id.
READS - Enum constant in enum class org.metagene.genestrip.match.CountsPerTaxid.ValueType
The number of classified reads.
READS_1KMER - Enum constant in enum class org.metagene.genestrip.match.CountsPerTaxid.ValueType
The number of reads with at least one matched k-mer.
READS_BPS - Enum constant in enum class org.metagene.genestrip.match.CountsPerTaxid.ValueType
The total number of base pairs of classified reads.
READS_KMERS - Enum constant in enum class org.metagene.genestrip.match.CountsPerTaxid.ValueType
The number of k-mers from classified reads.
reads1KMer - Variable in class org.metagene.genestrip.match.CountsPerTaxid
The number of reads with at least one k-mer of the tax id.
readsBPs - Variable in class org.metagene.genestrip.match.CountsPerTaxid
The total number of base pairs of classified reads.
readSize - Variable in class org.metagene.genestrip.fastq.AbstractFastqReader.ReadEntry
The number of valid bytes in AbstractFastqReader.ReadEntry.read.
readsKmers - Variable in class org.metagene.genestrip.match.CountsPerTaxid
The number of k-mers from classified reads consistent with the tax id.
readTaxIdNode - Variable in class org.metagene.genestrip.match.FastqKMerMatcher.MatcherReadEntry
The candidate taxonomic path nodes tracked for this read.
readyForAnotherPass() - Method in class org.metagene.genestrip.goals.refseq.FastaReaderGoal
Clears the abort flag so that this goal can read again.
readZip(File, TaxTree.Builder, boolean) - Method in class org.metagene.genestrip.tax.NCBITaxTreeFormat
Reads nodes.dmp and names.dmp from the archive without extracting them.
REALM - Enum constant in enum class org.metagene.genestrip.tax.Rank
The realm rank.
record(long) - Method in class org.metagene.genestrip.finertree.goals.AbstractKMerIndexGoal
Records one (k-mer, leaf index) pair, already combined into a single value.
record(long) - Method in class org.metagene.genestrip.finertree.goals.KMerIndexBloomGoal
 
record(long) - Method in class org.metagene.genestrip.finertree.goals.KMerIndexSizeGoal
 
record(long) - Method in class org.metagene.genestrip.finertree.probfilter.DistinctPairSketch
Records one pair.
reduce(long) - Method in class org.metagene.genestrip.probfilter.BlockedBloomFilter
Reduces a hash value to a valid start bucket index on the large backing, using Lemire's multiply-shift reduction widened to 64 bits: the upper half of the 128-bit product of the hash (read as unsigned) with BlockedBloomFilter.buckets lands uniformly in [0, buckets).
reduce(long) - Method in class org.metagene.genestrip.probfilter.BloomFilter
Maps a hash value onto a valid bit index of the backing bit vector, using Lemire's multiply-shift alternative to the modulo widened to 64 bits: the upper half of the 128-bit product of the hash (read as unsigned) with BloomFilter.bits, which Math.multiplyHigh(long, long) yields, lands uniformly in [0, bits).
reduce(long) - Method in class org.metagene.genestrip.probfilter.SingleWordBloomFilter
Reduces a hash value to a valid word index on the large backing, using Lemire's multiply-shift reduction widened to 64 bits: the upper half of the 128-bit product of the hash (read as unsigned) with SingleWordBloomFilter.words, which Math.multiplyHigh(long, long) yields, lands uniformly in [0, words).
reduce(long) - Method in class org.metagene.genestrip.probfilter.XORBlockedBloomFilter
Reduces by a modulo rather than by the multiply-shift of BlockedBloomFilter.reduce(long), because XORBlockedBloomFilter.hash(long) does not mix and a multiply-shift would therefore build the word index from near-constant high bits.
reduce(long) - Method in class org.metagene.genestrip.probfilter.XORBloomFilter
Reduces by a modulo rather than by the multiply-shift of BloomFilter.reduce(long), because XORBloomFilter.hash(long, int) does not mix.
reduce(long) - Method in class org.metagene.genestrip.probfilter.XORSingleWordBloomFilter
Reduces by a modulo rather than by the multiply-shift of SingleWordBloomFilter.reduce(long), because XORSingleWordBloomFilter.hash(long) does not mix and a multiply-shift would therefore build the word index from near-constant high bits.
reduceInt(long) - Method in class org.metagene.genestrip.probfilter.BlockedBloomFilter
Reduces a hash value to a valid start bucket index on the small (int-indexed) backing, using Lemire's fast alternative to modulo (reference): the top 32 bits of (loWord(v) * buckets) land uniformly in [0, buckets).
reduceInt(long) - Method in class org.metagene.genestrip.probfilter.SingleWordBloomFilter
Reduces a hash value to a valid word index on the small (int-indexed) backing, using Lemire's multiply-shift alternative to the modulo: the top 32 bits of (loWord(v) * words) land uniformly in [0, words).
reduceInt(long) - Method in class org.metagene.genestrip.probfilter.XORBlockedBloomFilter
Reduces by a modulo, for the same reason XORBlockedBloomFilter.reduce(long) does.
reduceInt(long) - Method in class org.metagene.genestrip.probfilter.XORSingleWordBloomFilter
Reduces by a modulo, for the same reason XORSingleWordBloomFilter.reduce(long) does.
REF_GEN_ONLY - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether only reference genomes are accepted.
REF_SEQ_DB - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether the RefSeq is used as the basis for filling the database.
REF_SEQ_FTP_BASE_URL - Enum constant in enum class org.metagene.genestrip.GSConfigKey
FTP base URL for downloading RefSeq data.
REF_SEQ_HTTP_BASE_URL - Enum constant in enum class org.metagene.genestrip.GSConfigKey
HTTP base URL for downloading RefSeq data.
REFERENCE_GENOME_CAT - Static variable in class org.metagene.genestrip.genbank.AssemblySummaryReader
RefSeq category value marking a reference genome.
ReferenceGenomes - Class in org.metagene.genestrip.refseq
The assemblies NCBI marks as a species' reference genome, read off the assembly summary and put in the terms the genome selection works in.
ReferenceGenomes(File) - Constructor for class org.metagene.genestrip.refseq.ReferenceGenomes
Reads the summary and collects what the preference needs.
REFINED - Enum constant in enum class org.metagene.genestrip.tax.Rank
Artificial rank marking refined k-mer origin, near the bottom of the taxonomy.
REFINEMENT_POSITIONS - Enum constant in enum class org.metagene.genestrip.finertree.FTConfigKey
The ranks or tax ids at which the taxonomy tree is refined, as FTConfigKey.RefinementPositions.
refinementIntervals - Variable in class org.metagene.genestrip.finertree.goals.AbstractKMerIndexGoal
The refinement positions, i.e.
refinementIntervals - Variable in class org.metagene.genestrip.finertree.goals.KMerStoreWorkGoal
The refinement positions, i.e.
RefinementPosition(Rank) - Constructor for class org.metagene.genestrip.finertree.FTConfigKey.RefinementPosition
Creates a refinement position matching exactly the given rank.
RefinementPosition(Rank, String, FTConfigKey.RefinementPosition.Limit) - Constructor for class org.metagene.genestrip.finertree.FTConfigKey.RefinementPosition
Creates a refinement position for exactly one of a rank or a tax id.
REFSEQ_PROP - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Stores the RefSeq release number in a properties file.
REFSEQ_RELEASE - Static variable in class org.metagene.genestrip.GSProject
Database property key for the RefSeq release the database was built from.
REFSEQCAT - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Downloads the RefSeq release catalog files.
RefSeqCatalogDownloadGoal<P extends GSProject> - Class in org.metagene.genestrip.goals.refseq
Download goal for the RefSeq release catalog (.catalog.gz) and the matching files.installed listing, whose file names are derived from the current release number.
RefSeqCatalogDownloadGoal(P, FileGoal<P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.refseq.RefSeqCatalogDownloadGoal
Creates the goal, wiring the release-number goal that determines the catalog file names.
RefSeqCategory - Enum Class in org.metagene.genestrip.refseq
The NCBI RefSeq release categories (each corresponding to a directory) that genomes are organized into.
RefSeqDownloadGoal<P extends GSProject> - Class in org.metagene.genestrip.goals.refseq
Abstract base for goals that download files from the NCBI RefSeq server, supplying the RefSeq HTTP and FTP base URLs from configuration.
RefSeqDownloadGoal(P, GoalKey, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.refseq.RefSeqDownloadGoal
Creates a RefSeq download goal.
REFSEQFNA - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Downloads the genomic files from RefSeq for the requested categories.
RefSeqFnaFilesDownloadGoal<P extends GSProject> - Class in org.metagene.genestrip.goals.refseq
Download goal for the RefSeq genomic/RNA .fna files of the selected categories, verified against their catalog MD5 checksums; the list of files to fetch is derived from the release files.installed listing and the configured sequence type.
RefSeqFnaFilesDownloadGoal(P, ObjectGoal<Set<RefSeqCategory>, P>, RefSeqCatalogDownloadGoal, ObjectGoal<Map<String, String>, P>, ObjectGoal<CheckRefSeqRNumGoal.Result, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.refseq.RefSeqFnaFilesDownloadGoal
Creates the goal, wiring the categories, catalog download, checksum and release-check goals.
REFSEQRELEASE - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Downloads the RefSeq release number.
RefSeqRNumDownloadGoal<P extends GSProject> - Class in org.metagene.genestrip.goals.refseq
Download goal for the RefSeq RELEASE_NUMBER file, which identifies the current RefSeq release.
RefSeqRNumDownloadGoal(P, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.refseq.RefSeqRNumDownloadGoal
Creates the download goal for the RefSeq release-number file.
RefSeqRNumPropsGoal<P extends GSProject> - Class in org.metagene.genestrip.goals.refseq
Goal that writes a release.properties file recording the RefSeq release number the database was built from.
RefSeqRNumPropsGoal(P, ObjectGoal<CheckRefSeqRNumGoal.Result, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.refseq.RefSeqRNumPropsGoal
Creates the goal, wiring the release-check goal whose side effect records the release number.
RefSeqStatusConfigInfo(List<GSConfigKey.RefSeqStatus>) - Constructor for class org.metagene.genestrip.GSConfigKey.RefSeqStatusConfigInfo
Creates parameter info for a list of RefSeq status values.
registerGoal(Goal<P>) - Method in class org.metagene.genestrip.make.Maker
Registers the given goal under its key.
reinitPositions() - Method in class org.metagene.genestrip.tax.TaxTree
Recomputes the position of every node by a fresh depth-first traversal.
RELEASE_FOLDER - Static variable in class org.metagene.genestrip.goals.refseq.RefSeqDownloadGoal
Subfolder on the RefSeq server holding the release files.
RELEASE_NUMBER_FILE_NAME - Static variable in class org.metagene.genestrip.goals.refseq.RefSeqRNumDownloadGoal
The name of the RefSeq release-number file.
RELEASE_PROPS_FILE_NAME - Static variable in class org.metagene.genestrip.goals.refseq.RefSeqRNumPropsGoal
Name of the properties file recording the RefSeq release number.
releaseAfterPass() - Method in class org.metagene.genestrip.finertree.goals.AbstractDBQualityGoal
Releases what AbstractDBQualityGoal.prepare() loaded.
releaseAfterPass() - Method in class org.metagene.genestrip.finertree.goals.AbstractKMerIndexGoal
Releases what AbstractKMerIndexGoal.prepare() loaded.
remainingBitsForRadix(int) - Static method in class org.metagene.genestrip.store.RadixKMerStore
Number of low entry bits reserved for the (stored) remaining k-mer bits of a store with the given radix width.
remainingCapacity() - Method in class org.metagene.genestrip.util.SimpleBlockingQueue
 
remove() - Method in class org.metagene.genestrip.util.SimpleBlockingQueue
 
remove(Object) - Method in class org.metagene.genestrip.util.SimpleBlockingQueue
 
REMOVE_TEMP_DB - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether to delete the temporary database after saving the final one.
removeAll(Collection<?>) - Method in class org.metagene.genestrip.util.SimpleBlockingQueue
 
REQ_SEQ_LIMIT_FOR_GENBANK - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Threshold below which Genbank is consulted for additional genomes.
REQ_SEQ_LIMIT_FOR_GENBANK_RANK - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Rank at which the Genbank access limit is checked.
requestedFont - Variable in class org.metagene.genestrip.match.TaxTreePainter
The font used to render labels of requested nodes.
RES_SEQ_STATUS - Enum constant in enum class org.metagene.genestrip.GSConfigKey
RefSeq status values that restrict the considered genomic accessions.
rescaleSim(double, double) - Method in class org.metagene.genestrip.finertree.goals.DengrogramLaTeXGoal
Maps a similarity value to its position along the similarity axis.
reset() - Method in class org.metagene.genestrip.io.ByteCountingFileInputStream
 
reset() - Method in class org.metagene.genestrip.io.ByteCountingInputStream
 
reset() - Method in class org.metagene.genestrip.util.CGATLongBuffer
Clears all buffered bases and DUST state so that the buffer starts empty again.
resetN() - Static method in class org.metagene.genestrip.util.GSLogFactory
Resets the make-nesting indentation level of the shared factory to zero.
resetNesting() - Method in class org.metagene.genestrip.util.GSLogFactory
Resets the nesting indentation level (the number of '>' prefixes on log lines) to zero.
resolveEffectiveRank(SmallTaxTree.SmallTaxIdNode) - Static method in class org.metagene.genestrip.goals.refseq.KMerRankStatsGoal
Resolves the well-defined rank to count a node with an indeterminate rank (clade / no rank) under, by walking up to its nearest ranked ancestor.
restrictToAncestor(TaxTree.TaxIdNode, Set<TaxTree.TaxIdNode>) - Method in class org.metagene.genestrip.tax.TaxIdCollector
Returns the subset of the given nodes that are descendants of (or equal to) the given ancestor.
restrictToAncestors(Set<TaxTree.TaxIdNode>, Set<TaxTree.TaxIdNode>) - Method in class org.metagene.genestrip.tax.TaxIdCollector
Returns the subset of the given nodes that are descendants of (or equal to) any of the given ancestors.
ResultReporter - Class in org.metagene.genestrip.match
Writes textual reports as semicolon-separated CSV: database/tax-tree information and the per-tax-id match result.
ResultReporter() - Constructor for class org.metagene.genestrip.match.ResultReporter
Creates a result reporter.
retainAll(Collection<?>) - Method in class org.metagene.genestrip.util.SimpleBlockingQueue
 
reverse(byte[]) - Static method in class org.metagene.genestrip.util.CGAT
Reverse-complements the entire array in place.
reverse(byte[], int, int) - Static method in class org.metagene.genestrip.util.CGAT
Reverse-complements seq[start, start+k) in place (k is the region length, not an end index).
REVIEWED - Enum constant in enum class org.metagene.genestrip.GSConfigKey.RefSeqStatus
Reviewed status.
ReworkingStoreFastaReader - Class in org.metagene.genestrip.refseq
A store FASTA reader that reworks each contig's tax node into an artificial DATA/ FILE/ID child node when the corresponding option is enabled.
ReworkingStoreFastaReader(int, Set<TaxTree.TaxIdNode>, AccessionMap, int, int, int, boolean, AbstractRefSeqFastaReader.StringLong2DigitTrie, boolean, TaxTree, boolean, boolean, boolean, boolean, boolean, TaxTree.IDStringGenerator, Rank) - Constructor for class org.metagene.genestrip.refseq.ReworkingStoreFastaReader
Creates the reworking reader.
reworkNode() - Method in class org.metagene.genestrip.refseq.AbstractRefSeqFastaReader
Hook to adjust the resolved tax id node; returns it unchanged by default.
reworkNode() - Method in class org.metagene.genestrip.refseq.ReworkingStoreFastaReader
 
rewriteInput(AbstractFastqReader.ReadEntry, OutputStream) - Method in class org.metagene.genestrip.fastq.AbstractFastqReader
Writes the given read entry to the output stream in a thread-safe manner and updates the write statistics.
RNA - Enum constant in enum class org.metagene.genestrip.GSConfigKey.SeqType
RNA sequences.
RNA_PREFIXES - Static variable in class org.metagene.genestrip.refseq.AccessionFileProcessor
Accession prefixes that mark a (non-messenger) RNA sequence.
roomFor(int, boolean, boolean, boolean) - Static method in class org.metagene.genestrip.refseq.ReferenceGenomes
How many genomes a limit node may hold before the genome in hand is turned away: the limit itself, except that a taxon whose marked assembly is still to come keeps one place back for it.
run() - Method in class org.metagene.genestrip.fastq.AbstractFastqReader.ConsumerRunnable
 
run(PrintStream) - Method in class org.metagene.genestrip.Main
Resolves the goal names from the remaining arguments (falling back to the default goal) and executes the parsed target (make, clean, cleanall or cleantotal) for them.
runFilter(StreamingResourceStream, File, File) - Method in class org.metagene.genestrip.match.FastqFilter
Filters the given FASTQ streams, writing accepted reads to filteredFile and the rest to restFile; either file may be null to discard that side.
runLength(long, long) - Static method in class org.metagene.genestrip.match.SharedFractionEstimator
The mean length of the run of hits a hit belongs to, E[B^2] / E[B], from Genestrip's per-tax-id contig counters: the sum of the squared contig lengths and the sum of the contig lengths, which is the number of hits.
runMatcher(StreamingResource, File, File) - Method in class org.metagene.genestrip.match.FastqKMerMatcher
Convenience overload of FastqKMerMatcher.runMatcher(StreamingResourceStream, File, File) that matches a single FASTQ resource.
runMatcher(StreamingResourceStream, File, File) - Method in class org.metagene.genestrip.match.FastqKMerMatcher
Matches all reads of the given FASTQ streams against the database and returns the aggregated result.

S

save(File) - Method in interface org.metagene.genestrip.probfilter.ProbFilter
Serializes this filter to the given file.
save(File) - Method in class org.metagene.genestrip.store.Database
Saves this database (and its pre-filter, if any) to the given file, see Database.save(OutputStream).
save(OutputStream) - Method in class org.metagene.genestrip.store.Database
Writes this database to the stream as a ZIP with three entries: the serialized database, the probabilistic pre-filter (may be null) and the config-info properties, the latter carrying an MD5 fingerprint of the serialized database bytes.
save(KMerStore<T>, File) - Static method in interface org.metagene.genestrip.store.KMerStore
Serializes the given store to the given file.
SCAFFOLD - Enum constant in enum class org.metagene.genestrip.genbank.AssemblySummaryReader.AssemblyQuality
Scaffold-level assembly that is not the latest version.
SCAFFOLD_LATEST - Enum constant in enum class org.metagene.genestrip.genbank.AssemblySummaryReader.AssemblyQuality
Scaffold-level assembly that is the latest version.
SECTION - Enum constant in enum class org.metagene.genestrip.tax.Rank
The section rank, ordered just below Rank.GENUS.
seed - Variable in class org.metagene.genestrip.probfilter.BlockedBloomFilter
Hash seed used to derive bit positions.
seed - Variable in class org.metagene.genestrip.probfilter.SingleWordBloomFilter
Hash seed used to derive word index and bit positions.
SEQ_TYPE - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Which type of RefSeq sequence files to include.
SeqTypeConfigParamInfo(GSConfigKey.SeqType) - Constructor for class org.metagene.genestrip.GSConfigKey.SeqTypeConfigParamInfo
Creates parameter info for a sequence type.
SER - Enum constant in enum class org.metagene.genestrip.GSProject.GSFileType
A serialized object file.
SEROGROUP - Enum constant in enum class org.metagene.genestrip.tax.Rank
The serogroup rank.
SEROTYPE - Enum constant in enum class org.metagene.genestrip.tax.Rank
The serotype rank.
set(byte[], int, int, V) - Method in class org.metagene.genestrip.util.DigitTrie
Associates the given value with the key given by seq[start, end), returning the previously stored value or null.
set(long) - Method in class org.metagene.genestrip.util.LargeBitVector
Sets (to 1) the bit at the given index and reports whether this call was the one that set it, i.e.
set(String, V) - Method in class org.metagene.genestrip.util.DigitTrie
Associates the given value with the given digit key, returning the previously stored value or null.
set(T) - Method in class org.metagene.genestrip.make.ObjectGoal
Stores the given value as this goal's computed value.
setAdditionalProperty(String, String) - Method in class org.metagene.genestrip.make.Project
Sets a free-form additional property.
setAfterMatchCallback(MatchResultGoal.AfterMatchCallback) - Method in class org.metagene.genestrip.goals.MatchResultGoal
Sets the callback invoked during matching.
setAfterMatchCallback(FastqKMerMatcher.AfterMatchCallback) - Method in class org.metagene.genestrip.match.FastqKMerMatcher
Sets the callback invoked after each read has been matched.
setBufferSize(int) - Static method in class org.metagene.genestrip.io.BufferedLineReader
Sets the default internal buffer size (in bytes) used by newly created readers.
setBufferSize(int) - Static method in class org.metagene.genestrip.io.StreamProvider
Sets the buffer size used for subsequently created streams.
setConfigInfo(Properties) - Method in class org.metagene.genestrip.store.Database
Sets the configuration properties for this database.
setCountHits(boolean) - Method in class org.metagene.genestrip.store.KMerSortedArray
Turns marking into counting: a lookup increments a two-bit counter of its storage position that stops at three, held in a vector of twice the size of KMerSortedArray.visited.
setCountHits(boolean) - Method in interface org.metagene.genestrip.store.KMerStore
Turns visited marking into counting, or back.
setCountHits(boolean) - Method in class org.metagene.genestrip.store.RadixKMerStore
Turns marking into counting: a lookup increments a two-bit counter in the entry, formed by RadixKMerStore.MARK_BIT and RadixKMerStore.COUNT_BIT, that stops at three.
setDatabase(Database) - Method in class org.metagene.genestrip.goals.LoadDBGoal
Sets the database directly, bypassing loading from file.
setDefaultGoal(Goal<P>) - Method in class org.metagene.genestrip.make.Maker
Makes the given goal this maker's default goal, replacing any goal set as default before.
setDownloadFastqs(boolean) - Method in class org.metagene.genestrip.GSProject
Sets whether fastq inputs should be downloaded.
setDownloadFastqsToCommon(boolean) - Method in class org.metagene.genestrip.GSProject
Sets whether downloaded fastq inputs should be stored in the common directory.
setFastqProgress(StreamingResource, long, long, long, long, double, long) - Method in class org.metagene.genestrip.DefaultExecutionContext
 
setFastqProgress(StreamingResource, long, long, long, long, double, long) - Method in interface org.metagene.genestrip.ExecutionContext
Reports progress for a single fastq/fasta resource being processed.
setFilter(ProbFilter) - Method in class org.metagene.genestrip.store.AbstractKMerStore
 
setFilter(ProbFilter) - Method in interface org.metagene.genestrip.store.KMerStore
Sets the probabilistic pre-filter used by this store.
setGlobalUpdateInterval(int) - Static method in class org.metagene.genestrip.util.progressbar.GSProgressBarCreator
Sets the default refresh interval (in milliseconds) used for newly created progress bars.
setIndexAtPosition(long, int) - Method in class org.metagene.genestrip.store.KMerSortedArray
Stores the given value index for the entry at the given storage position.
setIndexAtPosition(long, int) - Method in interface org.metagene.genestrip.store.KMerStore
Stores the given value index for the entry at the given storage position.
setIndexAtPosition(long, int) - Method in class org.metagene.genestrip.store.RadixKMerStore
 
setInputStream(InputStream) - Method in class org.metagene.genestrip.io.BufferedLineReader
Sets (or replaces) the input stream to read from and resets the internal buffer state.
setLevel(int) - Method in class org.metagene.genestrip.util.GSLogFactory.GSLog
 
setLogLevel(int) - Method in class org.metagene.genestrip.util.GSLogFactory
Sets the shared log level to the given SimpleLog level constant.
setLogLevel(String) - Method in class org.metagene.genestrip.util.GSLogFactory
Sets the shared log level from its name: one of all, trace, debug, info, warn, error, fatal or off (case-insensitive).
setLogOut(PrintStream) - Method in class org.metagene.genestrip.util.GSLogFactory
Sets the default output stream to which log messages are written.
setLogOutForThread(PrintStream) - Method in class org.metagene.genestrip.util.GSLogFactory
Sets a log output stream used only by the current thread, overriding the default output stream for messages logged from that thread.
setMarkVisited(boolean) - Method in class org.metagene.genestrip.store.KMerSortedArray
Turns the "visited" marking of lookups on or off.
setMarkVisited(boolean) - Method in interface org.metagene.genestrip.store.KMerStore
Turns the marking of visited (i.e.
setMarkVisited(boolean) - Method in class org.metagene.genestrip.store.RadixKMerStore
Turns the "visited" marking of lookups on or off.
setName(TaxTree.TaxIdNode, String) - Method in class org.metagene.genestrip.tax.TaxTree.Builder
Sets the name of the node.
setRank(TaxTree.TaxIdNode, Rank) - Method in class org.metagene.genestrip.tax.TaxTree.Builder
Sets the rank of the node.
setRequested(boolean) - Method in class org.metagene.genestrip.tax.SmallTaxTree.SmallTaxIdNode
Sets whether this node has been explicitly requested.
setStoreIndex(int) - Method in class org.metagene.genestrip.tax.SmallTaxTree.SmallTaxIdNode
Sets the index linking this node to its entry in the k-mer database.
setSubNodes(Map<String, SmallTaxTree.SmallTaxIdNode[]>) - Method in class org.metagene.genestrip.tax.SmallTaxTree
Replaces the sub-nodes of several nodes at once and re-establishes the node positions afterwards, so the tree is immediately usable again.
setTotalProgress(long, long, long, long, double, long, int, int) - Method in class org.metagene.genestrip.DefaultExecutionContext
 
setTotalProgress(long, long, long, long, double, long, int, int) - Method in interface org.metagene.genestrip.ExecutionContext
Reports overall progress across all inputs currently being processed.
SETUP - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Creates the data folders under <base dir>/<project>.
setUseFilter(boolean) - Method in class org.metagene.genestrip.store.AbstractKMerStore
 
setUseFilter(boolean) - Method in interface org.metagene.genestrip.store.KMerStore
Enables or disables use of the pre-filter for lookups.
setUseFTDBForAPI(boolean) - Method in class org.metagene.genestrip.finertree.FinerTreeMaker
Sets whether the FT database should be used for API access.
setValue(Object) - Method in class org.metagene.genestrip.finertree.cluster.DendrogramNode
Attaches an arbitrary application-specific value to this node.
SHARED_FRACTION_CONFIDENCE - Enum constant in enum class org.metagene.genestrip.GSConfigKey
The confidence level of the shared-fraction and evolutionary-distance intervals.
sharedFraction - Variable in class org.metagene.genestrip.match.CountsPerTaxid
The estimated share of the tax id's stored k-mers that the sample contains, or NaN if not estimated.
SharedFractionEstimator - Class in org.metagene.genestrip.match
Estimates the share of a tax id's stored k-mers that a sample contains, with a confidence interval, and the evolutionary distance derived from it.
SharedFractionEstimator(int, double) - Constructor for class org.metagene.genestrip.match.SharedFractionEstimator
Creates an estimator.
sharedFractionHigh - Variable in class org.metagene.genestrip.match.CountsPerTaxid
The upper bound of the confidence interval of CountsPerTaxid.sharedFraction, or NaN.
sharedFractionLow - Variable in class org.metagene.genestrip.match.CountsPerTaxid
The lower bound of the confidence interval of CountsPerTaxid.sharedFraction, or NaN.
shorts - Variable in class org.metagene.genestrip.util.LargeShortVector
Small (int-indexed) backing array, or null when large storage is used.
SHOW - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Shows the user-related goals.
SHOWALL - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Shows the user-related and most internal goals.
SHOWDBCONF - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Shows config information for a database without loading the database itself.
showDistance - Variable in class org.metagene.genestrip.match.TaxTreePainter
Whether a node's evolutionary distance is included in its label.
showDistancePortion - Variable in class org.metagene.genestrip.match.TaxTreePainter
Whether a node's distance portion is included in its label.
showRank - Variable in class org.metagene.genestrip.match.TaxTreePainter
Whether a node's taxonomic rank is included in its label.
SIM_LOG_SCALING - Enum constant in enum class org.metagene.genestrip.finertree.FTConfigKey
Whether dendrogram similarities are scaled logarithmically.
similarity(Similarity, double[][], int, int, int, int[]) - Method in class org.metagene.genestrip.finertree.cluster.SimpleAggloClustering
Computes the updated similarity between the freshly merged cluster (the union of clusters bestI and bestJ) and the remaining cluster h, dispatching to the linkage helper that matches the configured SimpleAggloClustering.Method.
Similarity - Interface in org.metagene.genestrip.finertree.cluster
Provides pairwise similarity values over a fixed set of items, indexed from 0 to Similarity.values() - 1.
SimpleAggloClustering - Class in org.metagene.genestrip.finertree.cluster
Performs hierarchical agglomerative clustering (HAC) over a set of items described by a Similarity matrix.
SimpleAggloClustering(SimpleAggloClustering.Method) - Constructor for class org.metagene.genestrip.finertree.cluster.SimpleAggloClustering
Creates a clustering instance that merges clusters using the given linkage method.
SimpleAggloClustering.Method - Enum Class in org.metagene.genestrip.finertree.cluster
The linkage strategy used to recompute the similarity between a merged cluster and the remaining clusters: nearest-neighbour (SINGLE_LINKAGE), farthest-neighbour (COMPLETE_LINKAGE), size-weighted group average (UPGMA) or simple unweighted group average (WPGMA).
SimpleBlockingQueue<T> - Class in org.metagene.genestrip.util
A super simple implementation of BlockingQueue - just good enough in the context of genestrip and no more.
SimpleBlockingQueue(int) - Constructor for class org.metagene.genestrip.util.SimpleBlockingQueue
Creates a blocking queue with the given fixed capacity.
SINGLE_LINKAGE - Enum constant in enum class org.metagene.genestrip.finertree.cluster.SimpleAggloClustering.Method
Nearest-neighbour linkage: the similarity of the most similar pair of members.
singleLinkage(double[][], int, int, int, int[]) - Method in class org.metagene.genestrip.finertree.cluster.SimpleAggloClustering
Computes the single-linkage (nearest-neighbour) similarity between the merged cluster and cluster h as the maximum of the two constituent clusters' similarities to h.
SingleWordBloomFilter - Class in org.metagene.genestrip.probfilter
Bloom filter whose every key sets all of its bits within one single long of the backing array, so that a lookup as well as an insert touches exactly one word, where BlockedBloomFilter touches two.
SingleWordBloomFilter(long) - Constructor for class org.metagene.genestrip.probfilter.SingleWordBloomFilter
Creates a filter sized for expectedInsertions k-mers with SingleWordBloomFilter.DEFAULT_BITS_PER_KEY bits per key and the number of bits per key that suits that sizing.
SingleWordBloomFilter(long, int) - Constructor for class org.metagene.genestrip.probfilter.SingleWordBloomFilter
Creates a filter sized for expectedInsertions k-mers with the given number of bits per key, setting SingleWordBloomFilter.optimalHashBits(int) bits per key.
SingleWordBloomFilter(long, int, int) - Constructor for class org.metagene.genestrip.probfilter.SingleWordBloomFilter
Creates a filter sized for expectedInsertions k-mers that sets the given number of bits per key, with a fixed default seed.
size - Variable in class org.metagene.genestrip.fasta.AbstractFastaReader
Number of valid bytes of the current line held in AbstractFastaReader.target.
size - Variable in class org.metagene.genestrip.store.AbstractKMerStore
The total capacity of the store.
size - Variable in class org.metagene.genestrip.util.CGATLongBuffer
The k-mer length in bases.
size - Variable in class org.metagene.genestrip.util.LargeShortVector
Current size (number of shorts) of the vector.
size() - Method in class org.metagene.genestrip.finertree.cluster.DendrogramNode
Returns the total number of nodes in the subtree rooted at this node, counting both internal nodes and leaves.
size() - Method in class org.metagene.genestrip.io.StreamingResourceListStream
 
size() - Method in interface org.metagene.genestrip.io.StreamingResourceStream
Returns the number of resources in the stream, or -1 if unknown.
size() - Method in class org.metagene.genestrip.refseq.AssemblySizeIndex
Returns the number of indexed entries, which exceeds the number of assemblies: an assembly is indexed under both its taxon and its species and under both size columns.
size() - Method in class org.metagene.genestrip.util.SimpleBlockingQueue
 
skip(long) - Method in class org.metagene.genestrip.io.ByteCountingInputStream
 
skipLine() - Method in class org.metagene.genestrip.io.BufferedLineReader
Reads and discards the next line, returning the number of non-null bytes it contained (excluding the terminating newline).
SmallTaxIdNode(String, String, Rank) - Constructor for class org.metagene.genestrip.tax.SmallTaxTree.SmallTaxIdNode
Creates a node with the given tax id, name and rank and no sub-nodes.
SmallTaxIdNode(String, String, Rank, SmallTaxTree.SmallTaxIdNode[]) - Constructor for class org.metagene.genestrip.tax.SmallTaxTree.SmallTaxIdNode
Creates a node with the given tax id, name, rank and sub-nodes, adopting the sub-nodes as its children.
SmallTaxTree - Class in org.metagene.genestrip.tax
A compact, serializable version of the taxonomy tree that only retains the nodes required by a database and is used during read matching.
SmallTaxTree(TaxTree) - Constructor for class org.metagene.genestrip.tax.SmallTaxTree
Builds a compact tree from the given full TaxTree, keeping only the nodes marked as required.
SmallTaxTree.SmallTaxIdNode - Class in org.metagene.genestrip.tax
A node of a SmallTaxTree.
sorted - Variable in class org.metagene.genestrip.store.AbstractKMerStore
Whether the store has been sorted/optimized.
SORTED_ARRAY_STORE - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether to fill the database into the binary-search KMerSortedArray instead of the RadixKMerStore.
sortNodes(List<TaxTree.TaxIdNode>) - Static method in class org.metagene.genestrip.tax.TaxTree
Sorts the given list of nodes into taxonomy-tree order in place and returns it.
sortTaxidsViaTree(List<String>) - Method in class org.metagene.genestrip.tax.SmallTaxTree
Sorts the given tax id strings in place by their nodes' position within the tree, falling back to lexicographic order for tax ids not present in the tree.
spacingFactor - Variable in class org.metagene.genestrip.match.TaxTreePainter
The vertical spacing between lines, as a multiple of the font height.
SPECIES - Enum constant in enum class org.metagene.genestrip.tax.Rank
The species rank.
SPECIES_GROUP - Enum constant in enum class org.metagene.genestrip.tax.Rank
The species group rank.
srl0Buffer - Variable in class org.metagene.genestrip.util.CGATLongBuffer
Ring buffer of run lengths for the DUST computation at offset 0.
srl1Buffer - Variable in class org.metagene.genestrip.util.CGATLongBuffer
Ring buffer of run lengths for the DUST computation at offset 1.
srl2Buffer - Variable in class org.metagene.genestrip.util.CGATLongBuffer
Ring buffer of run lengths for the DUST computation at offset 2.
standardKMer(long, long) - Static method in class org.metagene.genestrip.util.CGAT
Returns the canonical k-mer, i.e.
start() - Method in class org.metagene.genestrip.fasta.AbstractFastaReader
Called once before reading of the input begins.
start() - Method in class org.metagene.genestrip.fastq.AbstractFastqReader
Hook called before reading begins; does nothing by default.
start() - Method in class org.metagene.genestrip.fastq.AbstractLoggingFastqStreamer
 
start() - Method in class org.metagene.genestrip.fastqgen.FastQWriter
Resets the added-read counter to begin a new run.
startContig() - Method in class org.metagene.genestrip.fasta.AbstractFastaReader
Called when a new contig begins (i.e.
startContig() - Method in class org.metagene.genestrip.goals.Fasta2FastqGoal.FastqWriter
 
startContig() - Method in class org.metagene.genestrip.refseq.AbstractRefSeqFastaReader
Resets the per-contig flags and counters at the start of a new contig.
startContig() - Method in class org.metagene.genestrip.refseq.AbstractStoreFastaReader
Resets the k-mer ring buffer in addition to the superclass contig reset.
startMake() - Method in class org.metagene.genestrip.goals.refseq.FillBloomFilterGoal
 
startMake() - Method in class org.metagene.genestrip.make.FileDownloadGoal
 
startMake() - Method in class org.metagene.genestrip.make.Goal
Hook invoked at the start of Goal.make(), before dependencies are made; empty by default.
startsWith(byte[], int, String) - Static method in class org.metagene.genestrip.util.ByteArrayUtil
Returns whether the array, starting at index start, begins with the given string.
statsIndex - Variable in class org.metagene.genestrip.match.FastqKMerMatcher
Per-store-index statistics accumulators, indexed by a tax id node's store index.
STORE_KMER_INDEX - Enum constant in enum class org.metagene.genestrip.finertree.FTGoalKey
Stores the Bloom filter computed by FTGoalKey.KMER_INDEX_BLOOM to disk.
StoreDBGoal<P extends GSProject> - Class in org.metagene.genestrip.goals.refseq
Goal that saves the built Database (k-mer store together with its index) to the given database file.
StoreDBGoal(P, GoalKey, File, ObjectGoal<Database, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.refseq.StoreDBGoal
Creates the goal that saves the database goal's result to dbFile under the given key.
storeGoal - Variable in class org.metagene.genestrip.finertree.goals.AbstractDBQualityGoal
Supplies the database whose k-mers the genomes are compared against.
storeIndex - Variable in class org.metagene.genestrip.tax.SmallTaxTree.SmallTaxIdNode
Index linking this node to its entry in the k-mer database, or -1 if unset.
StoreIndexGoal<P extends GSProject> - Class in org.metagene.genestrip.goals.refseq
Goal that saves the index Bloom filter (ProbFilter) to the project's index file.
StoreIndexGoal(P, ObjectGoal<ProbFilter, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.refseq.StoreIndexGoal
Creates the goal, wiring the index goal that supplies the Bloom filter to save.
StoreKMerIndexGoal<P extends FTProject> - Class in org.metagene.genestrip.finertree.goals
Serializes the ProbFilter k-mer index produced by the bloom goal to a filter file, so that it can later be reloaded by LoadKMerIndexGoal.
StoreKMerIndexGoal(P, ObjectGoal<ProbFilter, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.finertree.goals.StoreKMerIndexGoal
Creates the goal that writes the k-mer index bloom filter to disk.
STRAIN - Enum constant in enum class org.metagene.genestrip.tax.Rank
The strain rank.
StreamingFileResource - Class in org.metagene.genestrip.io
A StreamingResource backed by a file on disk.
StreamingFileResource(File) - Constructor for class org.metagene.genestrip.io.StreamingFileResource
Creates a resource for the given file, decompressing it transparently if it is a GZIP file.
StreamingFileResource(File, boolean) - Constructor for class org.metagene.genestrip.io.StreamingFileResource
Creates a resource for the given file.
StreamingResource - Interface in org.metagene.genestrip.io
A named source of data that can be opened for streaming reads.
StreamingResource.StreamAccess - Interface in org.metagene.genestrip.io
A handle on an opened StreamingResource: it provides the input stream to read from, the number of bytes read so far and, when known, the total size, and it drives progress updates and closes the underlying stream.
StreamingResourceListStream - Class in org.metagene.genestrip.io
A StreamingResourceStream backed by an explicit list of resources.
StreamingResourceListStream() - Constructor for class org.metagene.genestrip.io.StreamingResourceListStream
Creates an empty stream.
StreamingResourceListStream(List<StreamingResource>) - Constructor for class org.metagene.genestrip.io.StreamingResourceListStream
Creates a stream backed by the given list of resources.
StreamingResourceListStream(StreamingResource) - Constructor for class org.metagene.genestrip.io.StreamingResourceListStream
Creates a stream containing the single given resource.
StreamingResourceStream - Interface in org.metagene.genestrip.io
An iterable sequence of StreamingResources, e.g.
StreamingResourceStream.IteratorRuntimeIOException - Exception in org.metagene.genestrip.io
Unchecked wrapper for an IOException raised while iterating a StreamingResourceStream, allowing it to propagate through the Iterable API.
StreamingURLResource - Class in org.metagene.genestrip.io
A StreamingResource backed by a URL.
StreamingURLResource(String, URL, boolean) - Constructor for class org.metagene.genestrip.io.StreamingURLResource
Creates a resource for the given URL with the given name.
StreamingURLResource(URL) - Constructor for class org.metagene.genestrip.io.StreamingURLResource
Creates a resource for the given URL, named after its file part, with GZIP decompression.
StreamProvider - Class in org.metagene.genestrip.io
Utility for obtaining buffered input and output streams for files, transparently applying GZIP (de)compression based on the file name, plus helpers for estimating uncompressed sizes of GZIP files.
STRICT_CONFIG_CHECK - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether an unknown key, or a value its key cannot take, ends the run instead of being warned about.
StringConfigParamInfo(String) - Constructor for class org.metagene.genestrip.make.ConfigParamInfo.StringConfigParamInfo
Creates a String parameter descriptor.
stringConfigValue(ConfigKey) - Method in class org.metagene.genestrip.make.Goal
Returns the configuration value for the given key as a String.
stringConfigValue(ConfigKey) - Method in class org.metagene.genestrip.make.Project
Returns the value of the given key as a String.
StringLong(String) - Constructor for class org.metagene.genestrip.util.StringLongDigitTrie.StringLong
Creates a pairing for the given string key with a zero value.
StringLong2(String) - Constructor for class org.metagene.genestrip.refseq.AbstractRefSeqFastaReader.StringLong2DigitTrie.StringLong2
Creates an entry for the given tax id key with a zero k-mer count.
StringLong2DigitTrie() - Constructor for class org.metagene.genestrip.refseq.AbstractRefSeqFastaReader.StringLong2DigitTrie
Creates an empty trie.
StringLongDigitTrie - Class in org.metagene.genestrip.util
A DigitTrie that maps digit keys to StringLongDigitTrie.StringLong counters, providing increment and add operations that create the counter on first use.
StringLongDigitTrie() - Constructor for class org.metagene.genestrip.util.StringLongDigitTrie
Creates an empty trie.
StringLongDigitTrie.StringLong - Class in org.metagene.genestrip.util
A mutable pairing of a string key and an associated long value (counter).
stringValue - Variable in class org.metagene.genestrip.util.StringLongDigitTrie.StringLong
The string key of this pairing.
SUBCLASS - Enum constant in enum class org.metagene.genestrip.tax.Rank
The subclass rank.
SUBFAMILY - Enum constant in enum class org.metagene.genestrip.tax.Rank
The subfamily rank.
SUBGENUS - Enum constant in enum class org.metagene.genestrip.tax.Rank
The subgenus rank.
SUBKINGDOM - Enum constant in enum class org.metagene.genestrip.tax.Rank
The subkingdom rank, ordered just below Rank.KINGDOM.
SUBORDER - Enum constant in enum class org.metagene.genestrip.tax.Rank
The suborder rank.
SUBPHYLUM - Enum constant in enum class org.metagene.genestrip.tax.Rank
The subphylum rank.
SUBSPECIES - Enum constant in enum class org.metagene.genestrip.tax.Rank
The subspecies rank.
sumCounts(SmallTaxTree.SmallTaxIdNode, FastqKMerMatcher.MatcherConsumer, long) - Method in class org.metagene.genestrip.match.FastqKMerMatcher
Sums this consumer's counters belonging to initKey along the path from the node to the root.
SUPERCLASS - Enum constant in enum class org.metagene.genestrip.tax.Rank
The superclass rank.
SUPERFAMILY - Enum constant in enum class org.metagene.genestrip.tax.Rank
The superfamily rank.
SUPERKINGDOM - Enum constant in enum class org.metagene.genestrip.tax.Rank
The superkingdom rank.
SUPERORDER - Enum constant in enum class org.metagene.genestrip.tax.Rank
The superorder rank.
SVG - Enum constant in enum class org.metagene.genestrip.GSProject.GSFileType
An SVG graphics file.
SVG_DISTANCE_INDENT - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether node indentation is based on evolutionary distance.
SVG_DISTANCE_INDENT_BELOW_RANK - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Rank at or above which distance-based indentation is suppressed in favor of the standard indent.
SVG_FONT - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Font name for texts in the generated tree.
SVG_FONT_SIZE - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Font size for texts in the generated tree.
SVG_INDENTATION_FACTOR - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Indentation factor for child nodes in the tree.
SVG_KMER_NODE_INDENT_FACTOR - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Additional indentation factor reflecting a node's k-mers.
SVG_LINE_HEIGHT_FACTOR - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Line-height factor for text in the generated tree.
SVG_MARK_LONGEST_PATH - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether the longest-distance path branch is marked in red.
SVG_REQ_NODES - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether requested tax ids are shown in bold.
SVG_SHOW_DISTANCE - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether the distance value is printed after a node's name.
SVG_SHOW_DISTANCE_PORTION - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether the distance portion value is printed after a node's name.
SVG_SHOW_RANK - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether the rank is shown in the node text.
SVG_TAX_TREE - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Generates an SVG visualization of the database's taxonomy tree.
SVG_TEXT_GAP_FACTOR - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Gap between a node's connector line and its text, relative to font size.
SVG_TOO_LARGE_DISTANCE - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Distance threshold above which a dashed line indicates unreliable measurement.
SVGTaxTreeGoal<P extends GSProject> - Class in org.metagene.genestrip.goals.refseq
Goal that renders the database's taxonomy tree to an SVG file using TaxTreePainter, configured from the project's SVG_* settings.
SVGTaxTreeGoal(P, GoalKey, ObjectGoal<Database, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.refseq.SVGTaxTreeGoal
Creates the goal under the given goal key, wiring the database goal whose tax tree is rendered.

T

take() - Method in class org.metagene.genestrip.util.SimpleBlockingQueue
 
target - Variable in class org.metagene.genestrip.fasta.AbstractFastaReader
Buffer holding the bytes of the line currently being processed.
TAX_DMP_ZIP - Static variable in class org.metagene.genestrip.goals.TaxIdFileDownloadGoal
File name of the NCBI taxonomy dump archive.
TAX_DMP_ZIP - Static variable in class org.metagene.genestrip.tax.NCBITaxTreeFormat
File name of the NCBI taxonomy dump archive holding both.
TAX_IDS - Enum constant in enum class org.metagene.genestrip.GSConfigKey
List of tax ids, optionally suffixed with + to include descendants.
TAXDOWNLOAD - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Downloads the taxonomy.
TAXFROMGENBANK - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Determines the tax ids for which additional fasta files should be downloaded from Genbank.
taxid - Variable in class org.metagene.genestrip.match.CountsPerTaxid
The tax id these counts belong to.
taxId - Variable in class org.metagene.genestrip.tax.TaxIdInfo
The tax id of this node.
TaxIdCollector - Class in org.metagene.genestrip.tax
Collects sets of taxonomy nodes from a TaxTree, e.g.
TaxIdCollector(TaxTree) - Constructor for class org.metagene.genestrip.tax.TaxIdCollector
Creates a collector operating on the given taxonomy tree.
TaxIdFileDownloadGoal<P extends GSProject> - Class in org.metagene.genestrip.goals
Downloads the NCBI taxonomy dump (taxdmp.zip) into the common directory.
TaxIdFileDownloadGoal(P, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.TaxIdFileDownloadGoal
Creates the goal that downloads the NCBI taxonomy dump.
TaxIdInfo - Class in org.metagene.genestrip.tax
Base class for a node in the taxonomy tree.
TaxIdInfo(String, short) - Constructor for class org.metagene.genestrip.tax.TaxIdInfo
Creates a node with the given tax id and rank ordinal.
TaxIdInfo(String, Rank) - Constructor for class org.metagene.genestrip.tax.TaxIdInfo
Creates a node with the given tax id and rank.
TaxIdNode(String) - Constructor for class org.metagene.genestrip.tax.TaxTree.TaxIdNode
Creates a node with the given tax id and no rank.
TaxIdNode(String, Rank) - Constructor for class org.metagene.genestrip.tax.TaxTree.TaxIdNode
Creates a node with the given tax id and rank.
TaxIdNodeTrie() - Constructor for class org.metagene.genestrip.tax.TaxTree.TaxIdNodeTrie
Creates an empty trie.
taxNodes - Variable in class org.metagene.genestrip.refseq.AbstractRefSeqFastaReader
The set of tax id nodes of interest for this run.
TAXNODES - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Computes the tax ids for the project's database.
TaxNodeSelection - Class in org.metagene.genestrip.tax
What a taxids.txt amounts to: the tax ids a database is to hold, and the ones it was told to leave out.
TaxNodeSelection(Set<TaxTree.TaxIdNode>, Set<TaxTree.TaxIdNode>) - Constructor for class org.metagene.genestrip.tax.TaxNodeSelection
Creates the pair.
TaxNodesFromGenbankGoal<P extends GSProject> - Class in org.metagene.genestrip.goals.genbank
Produces the set of tax ids whose sequence data should additionally be fetched from GenBank: either all requested nodes (non-RefSeq database) or those with too few RefSeq contigs under the configured limit.
TaxNodesFromGenbankGoal(P, ObjectGoal<Set<RefSeqCategory>, P>, ObjectGoal<TaxNodeSelection, P>, ObjectGoal<AccessionMap, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.genbank.TaxNodesFromGenbankGoal
Creates the goal, wiring the categories, tax nodes and accession-map goals it reads.
taxNodesGoal - Variable in class org.metagene.genestrip.goals.refseq.FastaReaderGoal
The goal supplying the set of required taxonomy nodes.
TaxNodesGoal<P extends GSProject> - Class in org.metagene.genestrip.goals
Produces the set of requested taxonomic nodes read from the project's tax-ids file, expanded with descendants down to the configured rank and with the excluded nodes removed.
TaxNodesGoal(P, ObjectGoal<TaxTree, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.goals.TaxNodesGoal
Creates the goal wiring the tax tree goal whose nodes are selected.
taxonCount() - Method in class org.metagene.genestrip.refseq.ReferenceGenomes
Returns the number of taxa a reference is known for, counting a species and the assembly's own taxon apart, as the summary states them.
taxTree - Variable in class org.metagene.genestrip.match.FastqKMerMatcher
The taxonomy tree used for voting and lowest-common-ancestor resolution.
TaxTree - Class in org.metagene.genestrip.tax
The taxonomy tree, read from files in a TaxTreeFormat, by default the NCBI taxonomy dump (NCBITaxTreeFormat).
TaxTree(File, boolean) - Constructor for class org.metagene.genestrip.tax.TaxTree
Loads the taxonomy tree from the NCBI taxonomy dump (nodes.dmp and names.dmp) located in the given directory.
TaxTree(File, boolean, TaxTreeFormat) - Constructor for class org.metagene.genestrip.tax.TaxTree
Loads the taxonomy tree from the files in the given directory, read in the given format.
TAXTREE - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Loads the taxonomy into memory.
TaxTree.Builder - Class in org.metagene.genestrip.tax
Builds the nodes of a tree while a TaxTreeFormat reads its files, so that a format needs no access to the internals of TaxTree.TaxIdNode.
TaxTree.IDStringGenerator - Interface in org.metagene.genestrip.tax
Generates the tax id string for an artificial node from a running counter value.
TaxTree.TaxIdNode - Class in org.metagene.genestrip.tax
A node of the TaxTree, holding its parent, child nodes and bookkeeping flags used while building filter lists and databases.
TaxTree.TaxIdNodeTrie - Class in org.metagene.genestrip.tax
A DigitTrie mapping tax id strings to their TaxTree.TaxIdNodes, creating missing nodes on demand.
TaxTreeFormat - Interface in org.metagene.genestrip.tax
The file format a TaxTree is read from.
TaxTreePainter - Class in org.metagene.genestrip.match
Renders a database's taxonomy tree as an indented, connected line drawing onto a Graphics2D, labelling each node with its name, tax id and stored k-mer count.
TaxTreePainter(Database) - Constructor for class org.metagene.genestrip.match.TaxTreePainter
Creates a painter for the taxonomy tree of the given database.
TEMP_BLOOM_FILTER_FPP - Enum constant in enum class org.metagene.genestrip.GSConfigKey
False positive probability of the temporary Bloom filter used by the tempindex goal.
TEMP_DBINFO - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Writes information about a project's temporary database content to a CSV file.
TEMPDB - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Saves the temporary database.
TEMPINDEX - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Fills the temporary bloom index with k-mers.
TEX - Enum constant in enum class org.metagene.genestrip.finertree.FTProject.FTFileType
The TeX output file type.
THIN_SAMPLE - Static variable in class org.metagene.genestrip.finertree.probfilter.DistinctPairSketch
Below this many pairs in the sample, scaling it up says more about the sample than about the population, and a caller should say so rather than report a number that looks as precise as any other.
THREAD_QUEUE_SIZE - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Size of the work queue between reader and consumer threads.
THREADS - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Number of consumer threads used for matching, filtering and the database update phase.
threshold - Variable in class org.metagene.genestrip.match.FastqKMerMatcher
Minimum vote count threshold applied during classification.
thresholdForOneIn(int) - Static method in class org.metagene.genestrip.util.KMerSampling
Returns the threshold that selects one k-mer in oneIn.
TIKZ_SCALE_FACTOR - Enum constant in enum class org.metagene.genestrip.finertree.FTConfigKey
Value of scale in the tikzpicture environment of a LaTeX dendrogram.
toArray() - Method in class org.metagene.genestrip.util.SimpleBlockingQueue
 
toArray(T1[]) - Method in class org.metagene.genestrip.util.SimpleBlockingQueue
 
toComplement(byte) - Static method in class org.metagene.genestrip.util.CGAT
Returns the Watson-Crick complement of the given nucleotide byte, or -1 for non-CGAT input.
toRuntimeException() - Method in exception org.metagene.genestrip.store.InvalidDatabaseClassException
Builds a runtime exception describing the version mismatch.
toSmallTaxTree() - Method in class org.metagene.genestrip.tax.TaxTree
Creates a compact, serializable SmallTaxTree from this tree.
toSpeciesNode(SmallTaxTree.SmallTaxIdNode) - Static method in class org.metagene.genestrip.goals.refseq.KMerRankStatsGoal
Walks up the database's taxonomy from the given node to the nearest ancestor of rank Rank.SPECIES.
toSpeciesNode(TaxTree.TaxIdNode) - Static method in class org.metagene.genestrip.goals.refseq.KMerRankStatsGoal
Walks up the taxonomy from the given node to the nearest ancestor of rank Rank.SPECIES.
toString() - Method in class org.metagene.genestrip.finertree.FTConfigKey.RefinementPosition
 
toString() - Method in enum class org.metagene.genestrip.finertree.FTConfigKey
 
toString() - Method in enum class org.metagene.genestrip.finertree.FTGoalKey
Returns the goal's name.
toString() - Method in class org.metagene.genestrip.goals.refseq.FillSizeGoal.KMerCounts
 
toString() - Method in enum class org.metagene.genestrip.GSConfigKey
 
toString() - Method in enum class org.metagene.genestrip.GSGoalKey
 
toString() - Method in class org.metagene.genestrip.io.StreamingFileResource
 
toString() - Method in class org.metagene.genestrip.io.StreamingResourceListStream
 
toString() - Method in class org.metagene.genestrip.io.StreamingURLResource
 
toString() - Method in class org.metagene.genestrip.make.FileDownloadGoal
 
toString() - Method in class org.metagene.genestrip.make.FileGoal
 
toString() - Method in class org.metagene.genestrip.make.Goal
 
toString() - Method in class org.metagene.genestrip.make.GoalKey.DefaultGoalKey
 
toString() - Method in class org.metagene.genestrip.make.ObjectGoal
 
toString() - Method in class org.metagene.genestrip.refseq.AbstractRefSeqFastaReader.StringLong2DigitTrie.StringLong2
 
toString() - Method in enum class org.metagene.genestrip.tax.Rank
 
toString() - Method in class org.metagene.genestrip.tax.TaxIdInfo
 
toString() - Method in class org.metagene.genestrip.tax.TaxNodeSelection
 
toString() - Method in class org.metagene.genestrip.util.StringLongDigitTrie.StringLong
 
toString(byte[]) - Static method in class org.metagene.genestrip.util.ByteArrayUtil
Returns the UTF-8 string formed by the bytes up to (but excluding) the first null (0) byte, or the whole array if it contains no null byte.
TOTAL - Static variable in class org.metagene.genestrip.goals.DB2FastqGoal
The output name used when no specific tax ids are configured.
totalBPs - Variable in class org.metagene.genestrip.fastq.AbstractLoggingFastqStreamer
The total number of base pairs processed across all files.
totalKmers - Variable in class org.metagene.genestrip.refseq.AbstractStoreFastaReader
The total number of filled k-mers seen.
totalKMers - Variable in class org.metagene.genestrip.fastq.AbstractLoggingFastqStreamer
The total number of k-mers processed across all files.
totalReads - Variable in class org.metagene.genestrip.fastq.AbstractLoggingFastqStreamer
The total number of reads processed across all files.
transitiveClean() - Method in class org.metagene.genestrip.make.Goal
Cleans this goal only if it permits transitive cleaning (see Goal.isAllowTransitiveClean()).
tree - Variable in class org.metagene.genestrip.finertree.goals.AbstractDBQualityGoal
TRIBE - Enum constant in enum class org.metagene.genestrip.tax.Rank
The tribe rank.
TURN_LATEX - Enum constant in enum class org.metagene.genestrip.finertree.FTConfigKey
Whether the LaTeX dendrogram is turned so that species names align horizontally.

U

uniqueKmerBits - Variable in class org.metagene.genestrip.match.FastqKMerMatcher
This matcher's own record of the distinct k-mers it matched, one bit per store position, or null when the marks are kept in the database instead (see FastqKMerMatcher.isOwnUniqueKMerBits()).
uniqueKmers - Variable in class org.metagene.genestrip.match.CountsPerTaxid
The number of unique matched k-mers (including those from unclassified reads).
UNKNOWN - Enum constant in enum class org.metagene.genestrip.goals.refseq.CheckRefSeqRNumGoal.Result
The current RefSeq release could not be determined.
UNKNOWN - Enum constant in enum class org.metagene.genestrip.GSConfigKey.RefSeqStatus
Unknown status.
update(long, KMerStore.UpdateValueProvider<V>) - Method in class org.metagene.genestrip.store.KMerSortedArray
 
update(long, KMerStore.UpdateValueProvider<V>) - Method in interface org.metagene.genestrip.store.KMerStore
Updates the value stored under the given k-mer using the given provider.
update(long, KMerStore.UpdateValueProvider<V>) - Method in class org.metagene.genestrip.store.RadixKMerStore
 
UPDATE_DB - Enum constant in enum class org.metagene.genestrip.GSGoalKey
Updates the temporary database with least common ancestors of k-mers.
UPDATE_SCOPE - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Which contigs of the RefSeq release the least-common-ancestor update of updatedb takes into account.
UPDATE_STORE_GOAL - Enum constant in enum class org.metagene.genestrip.finertree.FTGoalKey
Updates the database with the refined taxonomy tree and reassigns the k-mers accordingly.
UPDATE_WITH_ASSEMBLY_ACCESSIONS_ONLY - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether to keep only the accession prefixes a genome assembly uses when updating the database.
updateBatch(RadixKMerStore.BatchBuffers, KMerStore.UpdateValueProvider<V>) - Method in class org.metagene.genestrip.store.RadixKMerStore
Batched variant of RadixKMerStore.update(long, UpdateValueProvider) that processes all k-mers accumulated in b together.
updateLeafNode() - Method in class org.metagene.genestrip.finertree.goals.AbstractDBQualityGoal.MyFastaReader
Resolves the contig's leaf as usual and caches its position, so that the reading path costs a field read per k-mer instead of a lookup.
updateLeafNode() - Method in class org.metagene.genestrip.finertree.refseq.AbstractUpdateFastaReader
Resolves AbstractUpdateFastaReader.leafNode to the most specific refined node for the current read, starting from the plain tax node and descending, in order, into an id node (matched by the accession in the info line), a file node (matched by the source file name) and finally the data child node, as far as the corresponding refinement flags are enabled and matching nodes exist.
updateNodeFromInfoLine() - Method in class org.metagene.genestrip.refseq.AbstractRefSeqFastaReader
Resolves the current contig's tax id node from the accession in the header line via the accession map.
updateProgress() - Method in class org.metagene.genestrip.fastq.AbstractFastqReader
Hook called after each read is dispatched so subclasses can report progress; does nothing by default.
updateProgress() - Method in class org.metagene.genestrip.fastq.AbstractLoggingFastqStreamer
 
UpdateScopeConfigParamInfo(GSConfigKey.UpdateScope) - Constructor for class org.metagene.genestrip.GSConfigKey.UpdateScopeConfigParamInfo
Creates parameter info for the scope of the least-common-ancestor update.
UpdateStoreGoal<P extends FTProject> - Class in org.metagene.genestrip.finertree.goals
Rewrites the database's k-mer store and its SmallTaxTree so that they reflect the refined structure computed by the clustering phase.
UpdateStoreGoal(P, ObjectGoal<Database, P>, ObjectGoal<Map<SmallTaxTree.SmallTaxIdNode, DendrogramNode>, P>, ObjectGoal<ProbFilter, P>, Goal<P>...) - Constructor for class org.metagene.genestrip.finertree.goals.UpdateStoreGoal
Creates the goal that updates the k-mer store and tax tree to reflect the refined dendrograms.
updateWriteStats() - Method in class org.metagene.genestrip.fastq.AbstractFastqReader
Hook called after a read entry is written out so subclasses can update write statistics; does nothing by default.
updateWriteStats() - Method in class org.metagene.genestrip.fastq.AbstractLoggingFastqStreamer
 
upgma(double[][], int, int, int, int[]) - Method in class org.metagene.genestrip.finertree.cluster.SimpleAggloClustering
Computes the UPGMA (unweighted pair group method with arithmetic mean, i.e.
UPGMA - Enum constant in enum class org.metagene.genestrip.finertree.cluster.SimpleAggloClustering.Method
Group average weighted by cluster size.
UPPER_BOUND - Enum constant in enum class org.metagene.genestrip.GSConfigKey.BloomFilterSizing
From a count that cannot be exceeded: for the database's k-mers the exact number including duplicates, for the k-mer index the bound that assumes every k-mer of a taxon to occur in every one of its genomes.
USE_BLOOM_FILTER_FOR_MATCH - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether a Bloom filter is used during matching.
USE_HTTP - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether to download NCBI data over HTTP(S) rather than FTP.
usedPaths - Variable in class org.metagene.genestrip.match.FastqKMerMatcher.MatcherReadEntry
Number of candidate taxonomic paths currently used.
useFilter - Variable in class org.metagene.genestrip.store.AbstractKMerStore
Whether the pre-filter is currently in use.

V

VALIDATED - Enum constant in enum class org.metagene.genestrip.GSConfigKey.RefSeqStatus
Validated status.
value() - Element in annotation interface org.metagene.genestrip.make.MDDescription
Returns the Markdown description text.
valueMap - Variable in class org.metagene.genestrip.store.AbstractKMerStore
Maps each value to its 0-based store index.
valueOf(String) - Static method in enum class org.metagene.genestrip.finertree.cluster.SimpleAggloClustering.Method
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.metagene.genestrip.finertree.FTConfigKey.RefinementPosition.Limit
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in class org.metagene.genestrip.finertree.FTConfigKey.RefinementPosition
Parses a refinement position from a token, e.g.
valueOf(String) - Static method in enum class org.metagene.genestrip.finertree.FTConfigKey
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.metagene.genestrip.finertree.FTGoalKey
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.metagene.genestrip.finertree.FTProject.FTFileType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.metagene.genestrip.genbank.AssemblySummaryReader.AssemblyQuality
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.metagene.genestrip.goals.refseq.CheckRefSeqRNumGoal.Result
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.metagene.genestrip.GSConfigKey.BloomFilterSizing
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.metagene.genestrip.GSConfigKey.GenomesOnly
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.metagene.genestrip.GSConfigKey.RefSeqStatus
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.metagene.genestrip.GSConfigKey.SeqType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.metagene.genestrip.GSConfigKey.UpdateScope
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.metagene.genestrip.GSConfigKey
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.metagene.genestrip.GSGoalKey
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.metagene.genestrip.GSProject.GSFileType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.metagene.genestrip.match.CountsPerTaxid.ValueType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.metagene.genestrip.refseq.RefSeqCategory
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.metagene.genestrip.tax.Rank
Returns the enum constant of this class with the specified name.
values() - Method in interface org.metagene.genestrip.finertree.cluster.Similarity
Returns the number of items over which similarities are defined.
values() - Static method in enum class org.metagene.genestrip.finertree.cluster.SimpleAggloClustering.Method
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.metagene.genestrip.finertree.FTConfigKey.RefinementPosition.Limit
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.metagene.genestrip.finertree.FTConfigKey
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.metagene.genestrip.finertree.FTGoalKey
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.metagene.genestrip.finertree.FTProject.FTFileType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.metagene.genestrip.genbank.AssemblySummaryReader.AssemblyQuality
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.metagene.genestrip.goals.refseq.CheckRefSeqRNumGoal.Result
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.metagene.genestrip.GSConfigKey.BloomFilterSizing
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.metagene.genestrip.GSConfigKey.GenomesOnly
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.metagene.genestrip.GSConfigKey.RefSeqStatus
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.metagene.genestrip.GSConfigKey.SeqType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.metagene.genestrip.GSConfigKey.UpdateScope
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.metagene.genestrip.GSConfigKey
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.metagene.genestrip.GSGoalKey
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.metagene.genestrip.GSProject.GSFileType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.metagene.genestrip.match.CountsPerTaxid.ValueType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.metagene.genestrip.refseq.RefSeqCategory
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.metagene.genestrip.tax.Rank
Returns an array containing the constants of this enum class, in the order they are declared.
VARIETAS - Enum constant in enum class org.metagene.genestrip.tax.Rank
The varietas rank.
VERTEBRATE_MAMMALIAN - Enum constant in enum class org.metagene.genestrip.refseq.RefSeqCategory
The mammalian vertebrate RefSeq category.
VERTEBRATE_OTHER - Enum constant in enum class org.metagene.genestrip.refseq.RefSeqCategory
The other vertebrate RefSeq category.
VIRAL - Enum constant in enum class org.metagene.genestrip.refseq.RefSeqCategory
The viral RefSeq category.
visit(DendrogramNode.Visitor) - Method in class org.metagene.genestrip.finertree.cluster.DendrogramNode
Traverses this node and its subtree depth-first, invoking preNode(DendrogramNode) when entering each node and postNode(DendrogramNode) when leaving it.
visit(KMerStore.IndexedKMerStoreVisitor<V>) - Method in class org.metagene.genestrip.store.KMerSortedArray
 
visit(KMerStore.IndexedKMerStoreVisitor<V>) - Method in interface org.metagene.genestrip.store.KMerStore
Visits all stored entries, exposing the store index and storage position of each.
visit(KMerStore.IndexedKMerStoreVisitor<V>) - Method in class org.metagene.genestrip.store.RadixKMerStore
 

W

warnGenomeNodes() - Method in class org.metagene.genestrip.goals.refseq.FastaReaderGoal
Warns if genomeNodes=true is set while the RefSeq release is read for a category whose accessions do not identify genomes.
whiskers(double[], double, double) - Static method in class org.metagene.genestrip.goals.refseq.KMerRankStatsCSVGoal
Computes the Tukey whiskers of an already ascending-sorted array, i.e.
WITH_DESCENDANT_COUNTS - Enum constant in enum class org.metagene.genestrip.finertree.FTConfigKey
Whether the Jaccard-index denominator includes the k-mer counts of all descendants.
WITH_PROBS - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether base-pair probabilities are processed and written.
withDescendants(Set<TaxTree.TaxIdNode>, Rank) - Method in class org.metagene.genestrip.tax.TaxIdCollector
Returns a new set containing the given nodes together with all of their descendants, descending only into sub-nodes that are not below the given rank depth (or all descendants if depth is null).
words - Variable in class org.metagene.genestrip.probfilter.SingleWordBloomFilter
Number of words available for bits.
wpgma(double[][], int, int, int, int[]) - Method in class org.metagene.genestrip.finertree.cluster.SimpleAggloClustering
Computes the WPGMA (weighted pair group method with arithmetic mean) similarity between the merged cluster and cluster h as the simple, size-independent mean of the two constituent clusters' similarities to h.
WPGMA - Enum constant in enum class org.metagene.genestrip.finertree.cluster.SimpleAggloClustering.Method
Unweighted group average, i.e.
write(OutputStream) - Method in class org.metagene.genestrip.fastq.AbstractFastqReader.ReadEntry
Writes this read to the stream in FASTQ format, synthesizing '~' quality values when none are present.
write(StringBuffer) - Method in class org.metagene.genestrip.util.GSLogFactory.GSLog
 
WRITE_ALL - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether all reads, not only classified ones, are written to Kraken-style output.
WRITE_DUMPED_FASTQ - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether the filter goal also writes a fastq file of dumped (unmatched) reads.
WRITE_FILTERED_FASTQ - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether the match goal also writes filtered fastq files.
WRITE_KRAKEN_STYLE_OUT - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether Kraken-style .out output files are written.
writeAll - Variable in class org.metagene.genestrip.match.FastqKMerMatcher
Whether to write all reads to the Kraken-style output, not just classified ones.
writeMatchDetails(OutputStream) - Method in class org.metagene.genestrip.match.FastqKMerMatcher.MatcherReadEntry
Writes this read's Kraken-style classification line to the given stream: the classified/unclassified flag, read descriptor, assigned tax id, read length and the buffered per-segment output.
writeNesting(PrintStream) - Method in class org.metagene.genestrip.util.GSLogFactory
Writes the current nesting indentation ('>' prefixes) to the given output stream.

X

X_FACTOR_LATEX - Enum constant in enum class org.metagene.genestrip.finertree.FTConfigKey
Stretch factor for the dendrogram in TikZ's native x coordinate.
XOR_BLOOM_HASH - Enum constant in enum class org.metagene.genestrip.GSConfigKey
Whether to XOR-combine the Bloom filter hash functions.
XORBlockedBloomFilter - Class in org.metagene.genestrip.probfilter
The XOR variant of BlockedBloomFilter: it replaces the MurmurHash3 finalizer of BlockedBloomFilter.hash(long) by a bare exclusive or with the seed, and pays for that by reducing with a modulo instead of the base class' multiply-shift.
XORBlockedBloomFilter(long) - Constructor for class org.metagene.genestrip.probfilter.XORBlockedBloomFilter
Creates a filter sized for expectedInsertions k-mers with BlockedBloomFilter.DEFAULT_BITS_PER_KEY bits per key.
XORBlockedBloomFilter(long, int) - Constructor for class org.metagene.genestrip.probfilter.XORBlockedBloomFilter
Creates a filter sized for expectedInsertions k-mers with the given number of bits per key and a fixed default seed.
XORBlockedBloomFilter(long, int, long) - Constructor for class org.metagene.genestrip.probfilter.XORBlockedBloomFilter
Creates a filter sized for expectedInsertions k-mers with the given number of bits per key and hash seed.
XORBlockedBloomFilter(long, int, long, int) - Constructor for class org.metagene.genestrip.probfilter.XORBlockedBloomFilter
Creates a filter sized for expectedInsertions k-mers with the given number of bits per key, hash seed and large-backing bucket width.
XORBloomFilter - Class in org.metagene.genestrip.probfilter
The XOR variant of BloomFilter: it hashes a k-mer by a bare exclusive or with the hash function's factor, which is fast and apparently "good enough" for hashing k-mers, and pays for it by reducing with a modulo instead of the multiply-shift of BloomFilter.reduce(long).
XORBloomFilter(double, long) - Constructor for class org.metagene.genestrip.probfilter.XORBloomFilter
Creates a filter targeting the given false-positive probability, sized for expectedInsertions k-mers.
XORSingleWordBloomFilter - Class in org.metagene.genestrip.probfilter
The XOR variant of SingleWordBloomFilter: it replaces the MurmurHash3 finalizer of SingleWordBloomFilter.hash(long) by a bare exclusive or with the seed, and pays for that by reducing with a modulo instead of the base class' multiply-shift.
XORSingleWordBloomFilter(long) - Constructor for class org.metagene.genestrip.probfilter.XORSingleWordBloomFilter
Creates a filter sized for expectedInsertions k-mers with SingleWordBloomFilter.DEFAULT_BITS_PER_KEY bits per key.
XORSingleWordBloomFilter(long, int) - Constructor for class org.metagene.genestrip.probfilter.XORSingleWordBloomFilter
Creates a filter sized for expectedInsertions k-mers with the given number of bits per key, setting SingleWordBloomFilter.optimalHashBits(int) bits per key.
XORSingleWordBloomFilter(long, int, int) - Constructor for class org.metagene.genestrip.probfilter.XORSingleWordBloomFilter
Creates a filter sized for expectedInsertions k-mers that sets the given number of bits per key, with a fixed default seed.
xTextGap - Variable in class org.metagene.genestrip.match.TaxTreePainter
The horizontal gap in pixels between a node's connector line and its text.

Y

Y_FACTOR_LATEX - Enum constant in enum class org.metagene.genestrip.finertree.FTConfigKey
Stretch factor for the dendrogram in TikZ's native y coordinate.
A B C D E F G H I J K L M N O P Q R S T U V W X Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form