Systems and methods of functional classification of biological samples

The k-mer analysis method allows for the identification of over-represented or under-represented biological characteristics in complex samples, addressing the limitations of conventional methods by associating samples with molecular functions, processes, and components without prior knowledge, thereby enhancing diagnostic capabilities.

US20260378545A1Pending Publication Date: 2026-11-26ILLUMINA INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
US19/419718
Authority / Receiving Office
US · United States
Patent Type
Applications(United States)
Current Assignee / Owner
Priority Date
2024-12-18
Filing Date
2025-12-15
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Existing methods for analyzing complex biological samples fail to provide a comprehensive understanding of biological characteristics beyond taxa classification, lacking the ability to associate samples with molecular functions, biological processes, or cellular components without prior knowledge of microorganism names or analytes.

Method used

A method involving k-mer analysis is used to associate sample sequences with reference sequences tagged with molecular functions, biological processes, and cellular components, determining over-representation or under-representation through statistical significance scoring.

Benefits of technology

Enables accurate and efficient identification of over-represented or under-represented biological characteristics in samples, providing diagnostic insights without requiring prior knowledge of microorganism names or analytes, enhancing understanding of sample contexts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US20260378545A1-D00000_ABST
    Figure US20260378545A1-D00000_ABST
Patent Text Reader

Abstract

Systems and methods of associating a sample with biological characteristics are provided. K-mer weights measuring a likelihood that respective k-mers originate from respective nucleic acid or protein reference sequences are obtained. Each reference sequence is associated with one or more biological characteristics. A set of sample sequences for nucleic acids or proteins from the sample is provided. For each sample sequence, a sequence comparison is performed between the sample sequence and the reference sequences, determining a common set of k-mers within the sample sequence for each respective reference sequence, and the sample sequence is assigned to a particular reference sequence based on the k-mer weights for the common set of k-mers. For each biological characteristic, a count of sample sequences assigned to reference sequences associated with the term is determined. The count is compared to a reference count, thus determining biological characteristics over-represented or under-represented in the sample.
Need to check novelty before this filing date? Find Prior Art

Description

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application claims priority to U.S. Provisional Application No. 63 / 735,574, filed Dec. 18, 2024, the content of which is incorporated by reference in its entirety.TECHNICAL FIELD

[0002] This specification describes technologies relating to determining biological characteristics represented in samples, particularly in complex biological samples that contain many organisms.BACKGROUND

[0003] Metagenomics, the genomic analysis of a population of microorganisms, makes possible the profiling of microbial communities in the environment and the human body at unprecedented depth and breadth. Its rapidly expanding use is revolutionizing the understanding of microbial diversity in natural and man-made environments and is linking microbial community profiles with health and disease.

[0004] Wide availability of next-generation sequencing instruments, lower reagent costs, and streamlined sample preparation protocols are enabling an increasing number of investigators to perform high-throughput DNA and RNA-seq for metagenomics studies. Various methods and tools have been developed to analyze the sequencing data and perform taxa classification.

[0005] However, the understanding of a sample, such as a complex biological or environmental sample that contains many organisms, often extends beyond solely classifying the taxa of the organisms within the sample. In addition, it is important for investigators to understand the biological context represented by the sample, or by one or more organisms therein.SUMMARY

[0006] Given the above background, improved methods and systems are needed for determining biological characteristics (which broadly include biochemical and biomedical characteristics) represented in a sample, particularly in complex biological samples containing many organisms. Biological characteristics may be described by ontological terms such as Gene Ontology terms, including molecular functions, biological processes, and / or cellular components, can provide biological contexts for samples, particularly where such terms are deemed to be over-represented or under-represented in the sample. Advantageously, technical solutions (e.g., computing systems, methods, and non-transitory computer readable storage mediums) for addressing the above identified limitations are provided in the present disclosure. The present disclosure provides an easy-to-use, computationally efficient, and accurate tool to analyze and understand the ontological terms that describe the various biological functions, pathways, components, and / or processes represented by a sample or by one or more organisms therein.

[0007] In particular, as described below in Examples 1 and 2, the presently disclosed systems and methods overcome the limitations of conventional methods by allowing for the association of the sample with one or more biological characteristics without the need for prior or derived knowledge of microorganism name or taxa, or of individual analytes expressed within the sample.

[0008] In an example embodiment, analytes (e.g., DNA, RNA, and / or proteins) are extracted from a sample from a sample source (e.g., a complex sample that contains more than one organism). Sample sequences are then obtained for the analytes (e.g., by sequencing the DNA, cDNA converted from the RNA, and / or the proteins), and the sequenced data is searched against a set of reference sequences (e.g., a k-mer reference database that is constructed from reference sequences from one or more known organisms). Each reference sequence (e.g., each k-mer in the reference k-mer database) is tagged with one or more biological characteristics (e.g., molecular functions, biological processes, and / or cellular components). In another example embodiment, the searching is performed using a search algorithm, such as a weighted k-mer approach similar to the one described in U.S. Pat. No. 11,335,436 entitled METHODS AND SYSTEMS FOR MULTIPLE TAXONOMIC CLASSIFICATION,” which is hereby incorporated herein by reference in its entirety. The number of sample sequences that correspond to each biological characteristic is then tallied, and each biological characteristic is then assigned a statistical significance score based on the likelihood that the function, process, or component represented by the term is present in the sample, and the terms are then reported based on their statistical significance.

[0009] The following presents a summary of the invention in order to provide a basic understanding of some of the aspects of the invention. This summary is not an extensive overview of the invention. It is not intended to identify key / critical elements of the invention or to delineate the scope of the invention. Its sole purpose is to present some of the concepts of the invention in a simplified form as a prelude to the more detailed description that is presented later.First Aspect.

[0010] One aspect of the present disclosure provides a method of associating a sample from a sample source with one or more molecular functions, biological processes, or cellular components. The method comprises (a) obtaining, for each respective k-mer in a plurality of k-mers, for each respective nucleic acid or protein reference sequence (refi) in a set of reference sequences, a corresponding k-mer weight for the respective k-mer for the respective reference sequence that is a measure of how likely it is that the corresponding k-mer originates from the respective reference sequence, thereby forming a plurality of k-mer weights. In some embodiments, each k-mer in the plurality of k-mers has the same length of k residues and k is in a range of 3 to 30. Each reference sequence in the set of reference sequences is independently associated with one or more molecular functions, biological processes, or cellular components in a plurality of molecular functions, biological processes, or cellular components.

[0011] The method further includes (b) providing a set of sample sequences for a plurality of nucleic acids or proteins from the sample, where the set of sample sequences comprises N sequences (e.g., where N is a positive integer of 5,000 or greater, and where each sample sequence in the set of sample sequences has a length of 30 residues or more).

[0012] For each respective sample sequence, the method includes (i) performing, with a computer system, a sequence comparison between the respective sample sequence and the set of reference sequences, where the comparison comprises determining, for each respective reference sequence in the set of reference sequences, a respective set of k-mers within the respective sample sequence that are also found in the respective reference sequence by comparison of each k-mer in the respective sample sequence read of length k to each respective k-mer in the plurality k-mers, and (ii) assigning the respective sample sequence to a particular reference sequence in the set of reference sequences based on the k-mer weights, in the plurality of k-mer weights, for the respective set of k-mers within the sample sequence that are also found in the particular reference sequence.

[0013] The method further comprises (c) determining, for each respective molecular function, biological process, or cellular component i in at least a subset of the plurality of molecular functions, biological processes or cellular components, a corresponding count Ci of sample sequences in the set of sample sequences that has been assigned to a reference sequence in the set of reference sequences that is associated with the respective molecular function, biological process, or cellular component; and (d) comparing, for each respective molecular function, biological process, or cellular component i in at least a subset of the plurality of molecular functions, biological processes or cellular components, the corresponding count Ci of sample sequences determined for the respective molecular function, biological process, or cellular component to a corresponding reference count of the number of reference sequences in the set of reference sequences that is associated with the respective molecular function, biological process or cellular component, thereby determining one or more molecular functions, biological processes or cellular components that are over-represented or under-represented in the sample relative to the set of reference sequences and therefore associated with the sample.

[0014] In some embodiments, the respective molecular function, biological process or cellular component is deemed to be over-represented in the sample relative to the set of reference sequences when a probability that N sequences randomly selected from the set of reference sequences includes at least Ci sequences associated with the respective molecular function, biological process or cellular component is less than a threshold probability.

[0015] In some such embodiments, the probability that N sequences randomly selected from the set of reference sequences includes at least Ci sequences associated with the respective molecular function, biological process or cellular component is computed using (i) an average observed number of reference sequences associated with the respective molecular function, biological process or cellular component across a plurality of random samplings of the set of reference sequences for N reference sequences, (ii) a total number of reference sequences in the set of reference sequences, and (iii) an assumption that the set of reference sequences represents a Poisson or binomial distribution. In some embodiments, the plurality of random samplings comprises 2 or more, 5 or more, 10 or more, 100 or more, 1000 or more or 10,000 or more random samplings of the set of reference sequences for N reference sequences.

[0016] In some embodiments, the respective molecular function, biological process or cellular component is deemed to be under-represented in the sample relative to the set of reference sequences when a probability that N sequences randomly selected from the set of reference sequences includes less then Ci sequences associated with the respective molecular function, biological process or cellular component is less than a threshold probability.

[0017] In some such embodiments, the probability that N sequences randomly selected from the set of reference sequences includes less than Ci sequences associated with the respective molecular function, biological process or cellular component is computed using (i) an average observed number of reference sequences associated with the respective molecular function, biological process or cellular component across a plurality of random samplings of the set of reference sequences for N reference sequences, (ii) a total number of reference sequences in the set of reference sequences, and (iii) an assumption that the set of reference sequences represents a Poisson or binomial distribution. In some embodiments, the plurality of random samplings comprises 2 or more, 5 or more, 10 or more, 100 or more, 1000 or more, or 10,000 or more random samplings of the set of reference sequences for N reference sequences.

[0018] In some embodiments, the threshold probability is 0.10 or less, 0.05 or less, 0.005 or less, or 0.0005 or less.

[0019] In some embodiments, the set of reference sequences comprises 10,000 or more reference sequences, 100,000 or more reference sequences, 1×106 or more reference sequences, or 1×107 or more reference sequences.

[0020] In some embodiments, the set of reference sequences includes ten times or more, 100 times or more, 1000 times or more, 100000 times or more, 1×106 times or more, or 1×107 times or more reference sequences than N reference sequences.

[0021] In some embodiments, for each respective molecular function, biological process or cellular component in the plurality of molecular functions, biological processes or cellular components, the set of reference sequences includes an independent plurality of reference sequences.

[0022] In some embodiments, the plurality of molecular functions, biological processes or cellular components comprises 100 or more, 1000 or more, 10,000 or more, 100,000 or more, 1×106 or more, or 1×107 or more molecular functions, biological processes or cellular components.

[0023] In some embodiments, the set of reference sequences comprises reference sequences of one or more of bacteria, archaea, chromalveolata, viruses, fungi, plants, fish, amphibians, reptiles, birds, mammals, and humans.

[0024] In some embodiments, the set of reference sequences consists of sequences from a reference individual or a reference sample source.

[0025] In some embodiments, the set of reference sequences comprises k-mers having one or more mutations with respect to known polynucleotide sequences, such that a plurality of variants of the known sequences are represented in the set of reference sequences.

[0026] In some embodiments, the set of reference sequences comprises polynucleotide sequences reverse-translated from amino acid sequences. In some such embodiments, the reverse-translating uses a non-degenerate code comprising a single codon for each amino acid. In some embodiments, a sample sequence in the set of sample sequences is translated to an amino acid sequence and then reverse-translated using the non-degenerate code prior to comparison with the set of reference sequences.

[0027] In some embodiments, a k-mer weight in the plurality of k-mer weights relates a count of a particular k-mer within a particular reference sequence, a count of the particular k-mer among a group of sequences comprising the reference sequence, and a count of the particular k-mer among all reference sequences in the set of reference sequences.

[0028] In some embodiments, the corresponding k-mer weight for the respective k-mer (Ki) for the respective reference sequence (refi) is calculated as:KWrefi=Cref(Ki) / Cdb(Ki)Cdb(Ki) / Total⁢ kmer⁢ countwhere KWrefi is the corresponding k-mer weight for the respective k-mer, Cref(Ki) is a count of a number of occurrences of the respective k-mer (Ki) in the respective reference sequence (refi), Cdb(Ki) is a count of a number of occurrences of the respective k-mer (Ki) in the set of reference sequences, and Total kmer count is a number of k-mers of length k-residue in the set of reference sequences.In some embodiments, the providing (b) performs the sequence comparison between the respective sample sequence and the set of reference sequences at a rate of at least 10,000 sequence comparisons per minute, at least 100,000 sequence comparisons per minute, or at least 1×106 sequence comparison per minute.Second Aspect.

[0030] Another aspect of the present disclosure provides a method for microbiome-based treatment discovery. The method comprises (a) obtaining, for each respective k-mer in a plurality of k-mers, for each respective nucleic acid or protein reference sequence (refi) in a set of reference sequences, a corresponding k-mer weight for the respective k-mer for the respective reference sequence that is a measure of how likely it is that the corresponding k-mer originates from the respective reference sequence, thereby forming a plurality of k-mer weights. In some embodiments, each k-mer in the plurality of k-mers has the same length of k residues and k is in a range of 3 to 30. Each reference sequence in the set of reference sequences is independently associated with one or more molecular functions, biological processes or cellular components in a plurality of molecular functions, biological processes, or cellular components.

[0031] The method includes (b) for each respective sample in a plurality of samples, where each sample in the plurality of samples is from a subject in a cohort of subjects and where a first subset of the cohort of subjects has one or more conditions and a second subset of the cohort of subjects is free of the one or more conditions, obtaining a respective set of sample sequences for a respective plurality of nucleic acids or proteins from the respective sample. In some embodiments, each respective sample sequence in the respective set of sample sequences has a length of 30 residues or more.

[0032] For each respective sample sequence, the method further comprises (i) performing, with a computer system, a sequence comparison between the respective sample sequence and the set of reference sequences, where the comparison comprises determining, for each respective reference sequence in the set of reference sequences, a respective set of k-mers within the respective sample sequence that are also found in the respective reference sequence by comparison of each k-mer in the respective sample sequence read of length k to each respective k-mer in the plurality k-mers, and (ii) assigning the respective sample sequence to a particular reference sequence in the set of reference sequences based on the k-mer weights, in the plurality of k-mer weights, for the respective set of k-mers within the sample sequence that are also found in the particular reference sequence.

[0033] The method further includes (c) determining, for each respective sample in the plurality of samples associated with the first subset of the cohort of subjects, for each respective molecular function, biological process or cellular component i in the plurality of molecular functions, biological processes or cellular components, a corresponding proportion of sample sequences in the respective set of sample sequences corresponding to the respective sample that has been assigned to a reference sequence in the set of reference sequences that is associated with the respective molecular function, biological process, or cellular component.

[0034] The method further comprises (d) determining, for each respective sample in the plurality of samples associated with the second subset of the cohort of subjects, for each respective molecular function, biological process or cellular component i in the plurality of molecular functions, biological processes or cellular components, a corresponding proportion of sample sequences in the respective set of sample sequences corresponding to the respective sample that has been assigned to a reference sequence in the set of reference sequences that is associated with the respective molecular function, biological process or cellular component.

[0035] The method further includes (e) for each respective molecular function, biological process or cellular component i in the plurality of molecular functions, biological processes or cellular components, using the respective corresponding proportions of sample sequences across the samples associated with the second subset of the cohort and the respective corresponding proportions of sample sequences across the samples associated with the first subset of the cohort that has been assigned to a reference sequence in the set of reference sequences that is associated with the respective molecular function, biological process, or cellular component to determine whether the first subset of the cohort of subjects over-represents or under-represents the respective molecular function, biological process or cellular component relative to the second subset of the cohort of subjects and is therefore associated with the one or more conditions.

[0036] In some embodiments, each respective sample in the plurality of samples represents a respective gut microbiome of a corresponding member of the cohort of subjects and each respective set of sequences and the set of reference sequences are nucleic acid. In some such embodiments, each respective gut microbiome of each respective subject in the cohort of subjects is a fecal sample of the respective subject.

[0037] In some embodiments, each corresponding subject in the cohort of subjects is a human. In some embodiments, each corresponding subject in the cohort of subjects is an animal.

[0038] In some embodiments, the first subset of subjects and the second subset of subjects each comprises 10 or more subjects, 100 or more subjects, or 1000 or more subjects.Third Aspect.

[0039] Another aspect of the present disclosure provides a method for microbiome-based treatment discovery. The method comprises (a) obtaining, for each respective k-mer in a plurality of k-mers, for each respective nucleic acid or protein reference sequence (refi) in a set of reference sequences, a corresponding k-mer weight for the respective k-mer for the respective reference sequence that is a measure of how likely it is that the corresponding k-mer originates from the respective reference sequence, thereby forming a plurality of k-mer weights. In some embodiments, each k-mer in the plurality of k-mers has the same length of k residues and k is in a range of 3 to 30. Each reference sequence in the set of reference sequences is independently associated with one or more molecular functions, biological processes or cellular components in a plurality of molecular functions, biological processes or cellular components.

[0040] The method includes (b) for each respective sample in a plurality of samples, where each sample in the plurality of samples is from a subject in a cohort of subjects and where a first subset of the cohort of subjects has one or more conditions and a second subset of the cohort of subjects is free of the one or more conditions, obtaining a respective set of sample sequences for a respective plurality of nucleic acids or proteins from the respective sample. In some embodiments, each respective sample sequence in the respective set of sample sequences has a length of 30 residues or more.

[0041] For each respective sample sequence, the method further comprises (i) performing, with a computer system, a sequence comparison between the respective sample sequence and the set of reference sequences, where the comparison comprises determining, for each respective reference sequence in the set of reference sequences, a respective set of k-mers within the respective sample sequence that are also found in the respective reference sequence by comparison of each k-mer in the respective sample sequence read of length k to each respective k-mer in the plurality k-mers, and (ii) assigning the respective sample sequence to a particular reference sequence in the set of reference sequences based on the k-mer weights, in the plurality of k-mer weights, for the respective set of k-mers within the sample sequence that are also found in the particular reference sequence.

[0042] The method further comprises (c) determining, for each respective sample in the plurality of samples associated with the first subset of the cohort of subjects, for each respective molecular function, biological process or cellular component i in the plurality of molecular functions, biological processes or cellular components, a corresponding proportion of sample sequences in the respective set of sample sequences corresponding to the respective sample that has been assigned to a reference sequence in the set of reference sequences that is associated with the respective molecular function, biological process or cellular component.

[0043] The method further includes (d) determining, for each respective sample in the plurality of samples associated with the second subset of the cohort of subjects, for each respective molecular function, biological process or cellular component i in the plurality of molecular functions, biological processes or cellular components, a corresponding proportion of sample sequences in the respective set of sample sequences corresponding to the respective sample that has been assigned to a reference sequence in the set of reference sequences that is associated with the respective molecular function, biological process or cellular component.

[0044] The method further comprises (e) using, for each respective molecular function, biological process or cellular component i in the plurality of molecular functions, biological processes or cellular components, the respective corresponding proportions of sample sequences across the samples associated with the second subset of the cohort and the respective corresponding proportions of sample sequences across the samples associated with the first subset of the cohort that has been assigned to a reference sequence in the set of reference sequences that is associated with the respective molecular function, biological process or cellular component to determine whether the second subset of the cohort of subjects over-represents or under-represents the respective molecular function, biological process or cellular component relative to the first subset of the cohort of subjects and is therefore associated with the one or more conditions.

[0045] In some embodiments, each respective sample in the plurality of samples represents a respective gut microbiome of a corresponding member of the cohort of subjects and each respective set of sequences and the set of reference sequences are nucleic acid. In some embodiments, each respective gut microbiome of each respective subject in the cohort of subjects is a fecal sample of the respective subject.

[0046] In some embodiments, each corresponding subject in the cohort of subjects is a human. In some embodiments, each corresponding subject in the cohort of subjects is an animal.

[0047] In some embodiments, the first subset of subjects and the second subset of subjects each comprises 10 or more subjects, 100 or more subjects, or 1000 or more subjects.Fourth Aspect.

[0048] In some embodiments, referring to aspects 2 and 3, the method further comprises, for each respective candidate sample in a plurality of candidate samples, (f) obtaining, for each respective candidate sample in the plurality of candidate samples, a respective set of sample sequences for a respective plurality of nucleic acids or proteins from the respective sample, and for each respective sample sequence performing, with a computer system, a sequence comparison between the respective sample sequence and the respective set of reference sequences thereby assigning the respective sample sequence to a particular reference sequence in the set of reference sequences based on the sequence comparison.

[0049] In some such embodiments, the method further includes (g) determining, for each respective candidate sample in the plurality of candidate samples, for each respective molecular function, biological process, or cellular component i in at least a subset of the plurality of molecular functions, biological processes or cellular components, a corresponding count Ci of sample sequences in the respective set of sample sequences that has been assigned to a reference sequence in the set of reference sequences that is associated with the respective molecular function, biological process, or cellular component.

[0050] In some such embodiments, the method further comprises (h) comparing, for each respective candidate sample in the plurality of candidate samples, for each respective molecular function, biological process, or cellular component i in at least a subset of the plurality of molecular functions, biological processes or cellular components, (i) the corresponding count Ci of sample sequences determined for the respective molecular function, biological process, or cellular component for the respective candidate sample to (ii) a corresponding reference count of the number of reference sequences in the set of reference sequences that is associated with the respective molecular function, biological process or cellular component, thereby determining one or more molecular functions, biological processes or cellular components that are over-represented or under-represented in the respective candidate sample relative to the set of reference sequences and therefore associated with the respective candidate sample.

[0051] In some such embodiments, the method further includes (i) identifying a first candidate sample in the set of candidate samples by matching (i) the respective one or more molecular functions, biological processes or cellular components that are over-represented or under-represented in the first candidate sample and (ii) the one or more molecular functions, biological processes or cellular components that is deemed to be associated with the one or more conditions; and (j) using the first candidate sample as a basis for treatment of the one or more conditions.

[0052] In some embodiments, each sample in the plurality of samples is obtained from a human or an animal.

[0053] In some embodiments, the one or more conditions is a disease. In some embodiments, the disease is an infectious disease, a deficiency disease, a hereditary disease, or a physiological disease. In some embodiments, the disease is a topographic disease, an anatomic disease, a physiological disease, a pathological disease, an etiological disease, or an epidemiological disease. In some embodiments, the disease is a topographic disease selected from the group consisting of a gastrointestinal disease, a vascular disease, an abdominal disease, and a chest disease. In some embodiments, the disease is an anatomic disease selected from the group consisting of a heart disease, a liver disease, a lung disease, a brain disease, a kidney disease, or eye disease or the disease is a physiological disease that is one of respiratory disease and metabolic disease.Fifth Aspect.

[0054] In some embodiments, referring to aspect 1, the sample is a body fluid, blood, or swab sample collected from a first subject of a species.

[0055] In some such embodiments, the first subject has been exposed to one or more external agents, the set of reference sequences are drawn from a respective control sample of each respective control subject in a cohort of control subjects of the species that are free of exposure to the one or more external agents, and the determining one or more molecular functions, biological processes or cellular components are over-represented or under-represented in the sample relative to the set of reference sequences identifies a molecular function, biological process or cellular component in the one or more molecular functions, biological processes or cellular components that is associated with exposure to the one or more external agents. In some embodiments, each respective control sample of each respective control subject in the cohort of control subjects is a body fluid, blood, or swab sample collected from the respective control subject.

[0056] In some embodiments, the first subject is a member of a first cohort of subjects of the species, where each member of the first cohort of subjects has been exposed to one or more external agents, the set of reference sequences are drawn from a respective control sample of each respective control subject in a cohort of control subjects that are free of exposure to the one or more external agents, and the providing (b), determining (c), and comparing (d) is performed for each subject in the first cohort of subjects thereby determining one or more molecular functions, biological processes or cellular components that are over-represented or under-represented in each member of the first cohort of subjects relative to the set of reference sequences, where at least one molecular function, biological process or cellular component in the one or more molecular functions, biological processes or cellular components that is identified as over-represented or under-represented in each member of the first cohort of subjects is deemed to be associated with exposure to the one or more external agents.

[0057] In some embodiments, each respective control sample of each respective control subject in the cohort of control subjects is a body fluid, blood, or swab sample collected from the respective control subject, and each respective sample of each respective subject in the first cohort of subjects is a body fluid, blood, or swab sample collected from the respective control subject.

[0058] In some embodiments, the cohort of control subjects comprises 10 or more control subjects, 100 or more control subjects, or 1000 or more control subjects. In some embodiments, the first cohort of subjects comprises 10 or more subjects, 100 or more subjects, or 1000 or more subjects.

[0059] In some embodiments, the species is human or is a species of animal.

[0060] In some embodiments, the one or more external agents comprises or consists of an infectious agent. In some embodiments, the infectious agent is a bacterium, a virus, a protozoan, a fungus or a helminth.

[0061] In some embodiments, the one or more external agents is a drug.

[0062] Another aspect of the present disclosure provides a computer system having one or more processors, and memory storing one or more programs for execution by the one or more processors, the one or more programs comprising instructions for performing any of the methods and / or embodiments disclosed above. In some embodiments, any of the presently disclosed methods and / or embodiments are performed at a computer system having one or more processors, and memory storing one or more programs for execution by the one or more processors.

[0063] Another aspect of the present disclosure provides a non-transitory computer readable storage medium storing one or more programs configured for execution by a computer, the one or more programs comprising instructions for carrying out any of the methods disclosed above.

[0064] Various embodiments of systems, methods and devices within the scope of the appended claims each have several aspects, no single one of which is solely responsible for the desirable attributes described herein. Without limiting the scope of the appended claims, some prominent features are described herein. After considering this discussion, and particularly after reading the section entitled “Detailed Description” one will understand how the features of various embodiments are used.INCORPORATION BY REFERENCE

[0065] All publications, patents, and patent applications mentioned in this specification are herein incorporated by reference in their entireties to the same extent as if each individual publication, patent, or patent application was specifically and individually indicated to be incorporated by reference.BRIEF DESCRIPTION OF THE DRAWINGS

[0066] The implementations disclosed herein are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings. Like reference numerals refer to corresponding parts throughout the several views of the drawings.

[0067] FIGS. 1A and 1B collectively provide an example block diagram illustrating a computing device and related data structures used by the computing device in accordance with some implementations of the present disclosure.

[0068] FIGS. 2A, 2B, 2C, 2D, and 2E collectively illustrate an example method in accordance with some embodiments of the present disclosure, in which optional steps are indicated by broken lines.

[0069] FIGS. 3A, 3B, and 3C collectively illustrate an example method in accordance with some embodiments of the present disclosure, in which optional steps are indicated by broken lines.

[0070] FIGS. 4A, 4B, and 4C collectively illustrate an example method in accordance with some embodiments of the present disclosure, in which optional steps are indicated by broken lines.

[0071] FIG. 5 provides an example of Expected Occurrence, Observed Occurrence and significance score of Gene Ontology terms after an example sequencing reads file is analyzed, in accordance with an embodiment of the present disclosure. EXR”=Expected Occurrence, “OBR”=Observed Occurrence, “SCR”=Significance Score, “RNK”=Rank.DETAILED DESCRIPTIONIntroduction

[0072] The present disclosure provides a method for associating a sample from a sample source with one or more molecular functions, biological processes, or cellular components. For each respective k-mer in a plurality of k-mers (e.g., where each k-mer in the plurality of k-mers has the same length of k residues and k is in a range of 3 to 30), for each respective nucleic acid or protein reference sequence (refi) in a set of reference sequences, a corresponding k-mer weight for the respective k-mer for the respective reference sequence that is a measure of how likely it is that the corresponding k-mer originates from the respective reference sequence is obtained, thereby forming a plurality of k-mer weights. Each reference sequence in the set of reference sequences is independently associated with one or more molecular functions, biological processes, or cellular components in a plurality of molecular functions, biological processes, or cellular components.

[0073] A set of sample sequences for a plurality of nucleic acids or proteins from the sample is provided, where the set of sample sequences comprises N sequences (e.g., where N is a positive integer of 5,000 or greater, and where each sample sequence in the set of sample sequences has a length of 30 residues or more). For each respective sample sequence, (i) a sequence comparison between the respective sample sequence and the set of reference sequences is performed with a computer system, where the comparison comprises determining, for each respective reference sequence in the set of reference sequences, a respective set of k-mers within the respective sample sequence that are also found in the respective reference sequence by comparison of each k-mer in the respective sample sequence read of length k to each respective k-mer in the plurality k-mers. Furthermore, for each respective sample sequence, (ii) the respective sample sequence is assigned to a particular reference sequence in the set of reference sequences based on the k-mer weights, in the plurality of k-mer weights, for the respective set of k-mers within the sample sequence that are also found in the particular reference sequence.

[0074] For each respective molecular function, biological process, or cellular component i in at least a subset of the plurality of molecular functions, biological processes or cellular components, a corresponding count Ci of sample sequences in the set of sample sequences that has been assigned to a reference sequence in the set of reference sequences that is associated with the respective molecular function, biological process, or cellular component is determined.

[0075] For each respective molecular function, biological process, or cellular component i in at least a subset of the plurality of molecular functions, biological processes or cellular components, the corresponding count Ci of sample sequences determined for the respective molecular function, biological process, or cellular component is compared to a corresponding reference count of the number of reference sequences in the set of reference sequences that is associated with the respective molecular function, biological process or cellular component, thereby determining one or more molecular functions, biological processes or cellular components that are over-represented or under-represented in the sample relative to the set of reference sequences and therefore associated with the sample.

[0076] In general, comparing k-mers in a sample sequence to a reference sequence comprises counting k-mer matches between the sample sequence and the reference sequence. Accordingly, in an example embodiment, the comparing each sample sequence to each reference sequence includes using reference database-derived weights for a plurality of k-mers within a sample sequence that are added and compared to a threshold value. The threshold value can be specific to the collection of reference sequences in the database and can be selected based on a variety of factors, such as average sequence read length and / or whether a specific biological characteristic is to be identified as present in the sample. If the sum of k-mer weights for the reference sequence is above the threshold level, the sample sequence is identified as corresponding to the reference sequence, and subsequently to any biological characteristics, in a plurality of biological characteristics, associated with the reference sequence. In some cases, the sample sequence is assigned to the reference sequence with the maximum sum of k-mer weights, to which a cutoff can be applied (e.g., required or not required to be above a threshold). In the case of a tie, where a sample sequence has an equal likelihood of belonging to more than one reference sequence as measured by k-mer weight, the tie can be resolved in order to assign the sample sequence to just one reference sequence or taxon. In some implementations, each respective biological characteristic in the plurality of biological characteristics is selected from the group consisting of molecular function, biological process, and cellular component terms.

[0077] In the example embodiment, after comparing all sample sequence in a set of sample sequences to a reference database (e.g., in which each reference sequence in the reference database is associated with one or more biological characteristics), for each respective biological characteristic in the plurality of biological characteristics, a total number of the sequence reads that are assigned to the respective biological characteristic is counted and assigned to the respective biological characteristic. This can be referred to as the observed occurrence of the respective biological characteristic in the set of sample sequences.

[0078] In some implementations, by using a randomly generated set of sequence reads (e.g., a randomly sampled subset of reference sequences), a total number of the sequence reads in the randomly generated set that are assigned to a respective biological characteristic can be counted. This process can be repeated for many iterations to generate an average number of the sequence reads that are expected to be assigned to a given biological characteristic in a reference set or a reference population having a given size. This average number can be referred to as the expected occurrence of a respective biological characteristic in the plurality of biological characteristics. In some implementations, the process to generate sets of random sequence reads has one or more conditions that govern where the sequence reads are generated from. Examples of such conditions include, but are not limited to, requiring that the source of the randomly generated sequence reads be from a given genome, or from a given set of genomes. The process or random generation of a set of sequence reads can be repeated at least 1, at least 2, at least 5, at least 10, at least 100, at least 1,000, or at least 10,000 times to generate the expected occurrence for each respective biological characteristic.

[0079] Returning to the example embodiment, after the expected occurrence and observed occurrence are calculated for each biological characteristic in the plurality of biological characteristics, for a given set of sample sequences and a given set of reference sequences in which each reference sequence is associated with one or more biological characteristics, a statistical significance score is calculated for each respective biological characteristic. Statistical significance can refer to either statistical over-representation or under-representation.

[0080] In some implementations, the statistical significance score is calculated by using a Chi-Square test. Biological characteristics can then be ranked and / or reported by their statistical significance.

[0081] In some implementations, set of sample sequences is compared to one set of reference sequences (e.g., one reference sequence database). In other implementations, one set of sample sequences is compared to more than one sets of reference sequences (e.g., more than one reference sequence databases). For example, one set of reference sequences can contain reference sequences from a host genome, e.g., human; and another set of reference sequences can contain reference sequences from microorganisms.Benefit

[0082] Benefits of the disclosed systems and methods over conventional methods are illustrated below in the Examples section. In particular, as described in Examples 1 and 2, many traditional studies of microbial communities focus on identifying microbial profiles including all or most of the organismal taxa present within a sample. However, these studies often do not identify the biological contexts, such as functions, components, or processes, that are represented by a subset of organisms in the sample, which can be used to highlight any underlying mechanisms or causative factors for various conditions within the sample source.

[0083] Other studies focus on identifying analyte profiles (e.g., transcriptional profiles including all or most of the analytes (e.g., genes) differentially expressed within a sample. However, a single gene can be involved in many biological functions, pathways, or processes, such that the analyte profile alone is often insufficient for understanding a condition of the sample source or an underlying mechanism thereof. Advantageously, the presently disclosed systems and methods allow for the association of the sample with one or more characteristics associated with biological contexts (e.g., functions, components, and / or processes) without the need of prior or derived knowledge of microorganism name or taxa, or of the individual analytes expressed within the sample.

[0084] For instance, in accordance with the descriptions of molecular function, biological process and cellular component terms provided elsewhere herein (see, e.g., the sections entitled “Definitions: Molecular function,”“Definitions: Biological process,” and “Definitions: Cellular component,” below), the ontological terms allow for a set of defined vocabulary designed to describe knowledge of the biological domain and to be species-agnostic. Ontological terms include terms applicable to prokaryotes and eukaryotes, as well as single and multicellular organisms. In some embodiments, the molecular function, biological process, or cellular component terms are those terms defined by Gene Ontology (see, e.g., Ontological terms are further described in The Gene Ontology Handbook, Methods in Molecular Biology, eds., Dessimoz and Skunca, 2017, Human Press, Springer Science+Business Media LLC New York; and The Gene Ontology Consortium, “Gene Ontology overview,” available on the Internet at geneontology.org / docs / ontology-documentation, each of which is hereby incorporated herein by reference in its entirety).

[0085] Instead of classifying sequences to a taxonomic identifier, this overlay of vocabulary describing molecular function, biological process, and / or cellular component enables a sequence comparison (e.g., via a search engine) to make assignments of the sample sequences at a molecular function, biological process, and / or cellular component level. This notable step in classifying sequences to an ontological term or biological characteristic (e.g., molecular function, biological process, and / or cellular component) unlocks diagnostic power even in cases where one or more specific entities within the sample (e.g., cell populations, organisms, etc.) cannot be identified.

[0086] Reference will now be made in detail to embodiments, examples of which are illustrated in the accompanying drawings. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure. However, it will be apparent to one of ordinary skill in the art that the present disclosure may be practiced without these specific details. In other instances, well-known methods, procedures, components, circuits, and networks have not been described in detail so as not to unnecessarily obscure aspects of the embodiments.DEFINITIONS

[0087] Subject. As used herein, the term “subject” refers to any living or non-living organism including, but not limited to, a human (e.g., a male human, female human, fetus, pregnant female, child, or the like), a non-human mammal, or a non-human animal. Any human or non-human animal can serve as a subject, including but not limited to mammal, reptile, avian, amphibian, fish, ungulate, ruminant, bovine (e.g., cattle), equine (e.g., horse), caprine and ovine (e.g., sheep, goat), swine (e.g., pig), camelid (e.g., camel, llama, alpaca), monkey, ape (e.g., gorilla, chimpanzee), ursid (e.g., bear), poultry, dog, cat, mouse, rat, fish, dolphin, whale and shark. In some embodiments, a subject is a male or female of any age (e.g., a man, a woman, or a child).

[0088] Cell. As used herein, the term “cell” will be understood to include prokaryotic cell, such as bacterial cell and archaeal cell, and eukaryotic cell, such as amoebae cell, algae cell, plant cell, animal cell, and fungus cell. The term “cell” will be understood to include normal or healthy cell, and diseased cell (e.g., cancer cell).

[0089] Microorganism. As used herein, the term “microorganism,” or “microbe,” refers to a microscopic organism. In some embodiments, the term “microorganism” will be understood to include bacteria, fungi, protozoa (e.g., protozoan parasites), viruses (e.g., DNA viruses and / or RNA viruses), algae, archaea, phages, and / or helminths (e.g., multicellular eukaryotic parasites). In some embodiments, a microorganism is a single-celled organism and / or a colony of single-celled organisms. In some embodiments, a microorganism is eukaryotic or prokaryotic. In some embodiments, a microorganism is a pathogen (e.g., disease-causing), such as a human, animal, or plant-infective pathogen.

[0090] Examples of bacteria include, but are not limited to, disease-causing agents such as Acinetobacter baumanii, Actinobacillus sp., Actinomycetes, Actinomyces sp. (such as Actinomyces israelii and Actinomyces naeslundii), Aeromonas sp. (such as Aeromonas hydrophila, Aeromonas veronii biovar sobria (Aeromonas sobria), and Aeromonas caviae), Anaplasma phagocytophilum, Anaplasma marginale Alcaligenes xylosoxidans, Acinetobacter baumanii, Actinobacillus actinomycetemcomitans, Bacillus sp. (such as Bacillus anthracis, Bacillus cereus, Bacillus subtilis, Bacillus thuringiensis, and Bacillus stearothermophilus), Bacteroides sp. (such as Bacteroides fragilis), Bartonella sp. (such as Bartonella bacilliformis and Bartonella henselae), Bifidobacterium sp., Bordetella sp. (such as Bordetella pertussis, Bordetella parapertussis, and Bordetella bronchiseptica), Borrelia sp. (such as Borrelia recurrentis, and Borrelia burgdorferi), Brucella sp. (such as Brucella abortus, Brucella canis, Brucella melintensis and Brucella suis), Burkholderia sp. (such as Burkholderia pseudomallei and Burkholderia cepacia), Campylobacter sp. (such as Campylobacter jejuni, Campylobacter coli, Campylobacter lari and Campylobacter fetus), Capnocytophaga sp., Cardiobacterium hominis, Chlamydia trachomatis, Chlamydophila pneumoniae, Chlamydophilapsittaci, Citrobacter sp. Coxiella burnetii, Corynebacterium sp. (such as, Corynebacterium diphtheriae, Corynebacterium jeikeum and Corynebacterium), Clostridium sp. (such as Clostridium perfringens, Clostridium dificile, Clostridium botulinum and Clostridium tetani), Eikenella corrodens, Enterobacter sp. (such as Enterobacter aerogenes, Enterobacter agglomerans, Enterobacter cloacae and Escherichia coli, including opportunistic Escherichia coli, such as enterotoxigenic E. coli, enteroinvasive E. coli, enteropathogenic E. coli, enterohemorrhagic E. coli, enteroaggregative E. coli and uropathogenic E. coli), Enterococcus sp. (such as Enterococcus faecalis and Enterococcus faecium), Ehrlichia sp. (such as Ehrlichia chafeensia and Ehrlichia canis), Epidermophyton floccosum, Erysipelothrix rhusiopathiae, Eubacterium sp., Francisella tularensis, Fusobacterium nucleatum, Gardnerella vaginalis, Gemella morbillorum, Haemophilus sp. (such as Haemophilus influenzae, Haemophilus ducreyi, Haemophilus aegyptius, Haemophilus parainfluenzae, Haemophilus haemolyticus and Haemophilus parahaemolyticus), Helicobacter sp. (such as Helicobacter pylori, Helicobacter cinaedi and Helicobacter fennelliae), Kingella kingii, Klebsiella sp. (such as Klebsiella pneumoniae, Klebsiella granulomatis and Klebsiella oxytoca), Lactobacillus sp., Listeria monocytogenes, Leptospira interrogans, Legionella pneumophila, Leptospira interrogans, Peptostreptococcus sp., Mannheimia hemolytica, Microsporum canis, Moraxella catarrhalis, Morganella sp., Mobiluncus sp., Micrococcus sp., Mycobacterium sp. (such as Mycobacterium leprae, Mycobacterium tuberculosis, Mycobacterium paratuberculosis, Mycobacterium intracellulare, Mycobacterium avium, Mycobacterium bovis, and Mycobacterium marinum), Mycoplasm sp. (such as Mycoplasma pneumoniae, Mycoplasma hominis, and Mycoplasma genitalium), Nocardia sp. (such as Nocardia asteroides, Nocardia cyriacigeorgica and Nocardia brasiliensis), Neisseria sp. (such as Neisseria gonorrhoeae and Neisseria meningitidis), Pasteurella multocida, Pityrosporum orbiculare (Malassezia furfur), Plesiomonas shigelloides. Prevotella sp., Porphyromonas sp., Prevotella melaninogenica, Proteus sp. (such as Proteus vulgaris and Proteus mirabilis), Providencia sp. (such as Providencia alcalfaciens, Providencia rettgeri and Providencia stuartii), Pseudomonas aeruginosa, Propionibacterium acnes, Rhodococcus equi, Rickettsia sp. (such as Rickettsia rickettsii, Rickettsia akari and Rickettsia prowazekii, Orientia tsutsugamushi (formerly: Rickettsia tsutsugamushi) and Rickettsia typhi), Rhodococcus sp., Serratia marcescens, Stenotrophomonas maltophilia, Salmonella sp. (such as Salmonella enterica, Salmonella typhi, Salmonella paratyphi, Salmonella enteritidis, Salmonella cholerasuis and Salmonella typhimurium), Serratia sp. (such as Serratia marcesans and Serratia liquifaciens), Shigella sp. (such as Shigella dysenteriae, Shigella flexneri, Shigella boydii and Shigella sonnei), Staphylococcus sp. (such as Staphylococcus aureus, Staphylococcus epidermidis, Staphylococcus hemolyticus, Staphylococcus saprophyticus), Streptococcus sp. (such as Streptococcus pneumoniae (for example chloramphenicol-resistant serotype 4 Streptococcus pneumoniae, spectinomycin-resistant serotype 6B Streptococcus pneumoniae, streptomycin-resistant serotype 9V Streptococcus pneumoniae, erythromycin-resistant serotype 14 Streptococcus pneumoniae, optochin-resistant serotype 14 Streptococcus pneumoniae, rifampicin-resistant serotype 18C Streptococcus pneumoniae, tetracycline-resistant serotype 19F Streptococcus pneumoniae, penicillin-resistant serotype 19F Streptococcus pneumoniae, and trimethoprim-resistant serotype 23F Streptococcus pneumoniae, chloramphenicol-resistant serotype 4 Streptococcus pneumoniae, spectinomycin-resistant serotype 6B Streptococcus pneumoniae, streptomycin-resistant serotype 9V Streptococcus pneumoniae, optochin-resistant serotype 14 Streptococcus pneumoniae, rifampicin-resistant serotype 18C Streptococcus pneumoniae, penicillin-resistant serotype 19F Streptococcus pneumoniae, or trimethoprim-resistant serotype 23F Streptococcus pneumoniae), Streptococcus agalactiae, Streptococcus mutans, Streptococcus pyogenes, Group A streptococci, Streptococcus pyogenes, Group B streptococci, Streptococcus agalactiae, Group C streptococci, Streptococcus anginosus, Streptococcus equismilis, Group D streptococci, Streptococcus bovis, Group F streptococci, and Streptococcus anginosus Group G streptococci), Spirillum minus, Streptobacillus moniliformi, Treponema sp. (such as Treponema carateum, Treponema petenue, Treponema pallidum and Treponema endemicum), Trichophyton rubrum, T. mentagrophytes, Tropheryma whippelii, Ureaplasma urealyticum, Veillonella sp., Vibrio sp. (such as Vibrio cholerae, Vibrio parahemolyticus, Vibrio vulnificus, Vibrio parahaemolyticus, Vibrio vulnifrcus, Vibrio alginolyticus, Vibrio mimicus, Vibrio hollisae, Vibrio fluvialis, Vibrio metchnikovii, Vibrio damsela and Vibrio furnisii), Yersinia sp. (such as Yersinia enterocolitica, Yersinia pestis, and Yersinia pseudotuberculosis) and Xanthomonas maltophilia.

[0091] Examples of fungi include, but are not limited to, Aspergillus sp., Candida auris, Candida albicans, Candida dubliniensis, Candida famata, Candida glabrata, Candida guilliermondii, Candida kefyr, Candida lusitaniae, Candida krusei, Candida parapsilosis, Candida tropicalis, Cryptococcus gattii, Cryptococcus neoformans, Fusarium sp., Malassezia furfur, Rhodotorula sp., Trichosporon sp., Histoplasma capsulatum, Coccidioides immitis, and Pneumocystis carinii, as well as the causative agents of Apergillosis, Balsomycosis, Candidiasis, Coccidioidomycosis, fungal eye infections, fungal nail infections, histoplasmosis, mucormycosis, mycetoma, Pneuomcystis pneumonia, ringworm, sporotrichosis, crypococcosis, and Talaromycosis.

[0092] Examples of protozoan parasites include, but are not limited to, Plasmodium falciparum, P. vivax, P. ovals P. malariae, P. berghei, Leishmania donovani, L. infantum, L. chagasi, L. mexicana, L. amazonensis, L. venezuelensis, L. tropica, L. major, L. minor, L. aethiopica, L. Biana braziliensis, L. (V.) guyanensis, L. (V.) panamensis, L. (V.) periviana. Trypanosoma brucei rhodesiense, T. brucei gambiense, T. cruzi, Giardia intestinalis, G. lamblia, Toxoplasma gondii, Entamoeba histolytica, Trichomonas vaginalis, Pneumocystis carinii, and Cryptosporidium parvum.

[0093] Examples of helminths include, but are not limited to, Filarioidea sp., Wuchereria sp. (such as Wuchereria bancrofti), Brugia sp. (such as Brugia malayi and Brugia timori), Loa sp. (such as Loa loa), Mansonella sp. (such as Mansonella streptocerca, Mansonella perstans, and Monsonella ozzardi), Onchocerca sp. (such as Onchocerca volvulus), Enterobius vermicularis, Ascaris sp. (such as Ascaris lumbricoides), Dracunculus (such as Dracunculus medinensis), Ancylostoma sp. (such as Ancylostoma duodenale, Ancylostoma braziliense, Ancylostoma tubaeforme, and Ancylostoma caninum), Necator sp. (such as Necator americanus), Trichuris sp. (such as Trichuris trichiura, Trichuris vulpis, Trichuris campanula, Trichuris suis, and Trichuris muris), Strongyloides sp. (such as Strongyloides stercoralis, Strongyloides canis, Strongyloides fuelleborni, Strongyloides cebus, and Strongyloides kellyi), Nematodirus sp., Moniezia sp., Oesophagostomum sp. (such as Oesophagostomum bifurcum, Oesophagostomum aculeatum, Oesophagostomum brumpti, Oesophagostomum stephanostomum, and Oesophagostomum stephanostomum var thomasi), Cooperia sp. (such as Cooperia ostertagi and Cooperia oncophora), Haemonchus sp., Ostertagia sp. (such as Ostertagia ostertagi), Trichostrongylus sp. (such as Trichostrongylus axei), Dirofilaria sp. (such as Dirofilaria immitis, Dirofilaria tenuis and Dirofilaria repens), and Schistosoma sp. (such as Schistosoma incognitum, Schistosoma ovuncatum, Schistosoma sinensium. Schistosoma indicum, Schistosoma nasale, Schistosoma spindale, Schistosoma japonicam, Schistosoma malayensis, Schistosoma mekongi, Schistosoma haematobium. Schistosoma bovis, Schistosoma curassoni, Schistosoma guineensis, Schistosoma haematobium, Schistosoma intercalatum, Schistosoma leiperi, Schistosoma margrebowiei, Schistosoma mattheei, Schistosoma mansoni, Schistosoma edwardiense, Schistosoma hippotami, and Schistosoma rodhaini)

[0094] Examples of viruses include, but are not limited to, disease-causing agents such as Adeno-associated virus, Aichi virus, Australian bat lyssavirus, BK polyomavirus, Banna virus, Barmah forest virus, Bunyamwera virus, Bunyavirus La Crosse, Bunyavirus snowshoe hare, Cercopithecine herpesvirus, Chandipura virus, Chikungunya virus, Coronavirus, Cosavirus A, Cowpox virus, Coxsackievirus, Crimean-Congo hemorrhagic fever virus, Dengue virus, Dhori virus, Dugbe virus, Duvenhage virus, Eastern equine encephalitis virus, Ebolavirus, Echovirus, Encephalomyocarditis virus, Epstein-Barr virus, European bat lyssavirus, GB virus C / Hepatitis G virus, Hantaan virus, Hendra virus, Hepatitis A virus, Hepatitis B virus, Hepatitis C virus, Hepatitis E virus, Hepatitis delta virus, Horsepox virus, Human adenovirus, Human astrovirus, Human coronavirus, Human cytomegalovirus, Human enterovirus 68, 70, Human herpesvirus 1, Human herpesvirus 2, Human herpesvirus 6, Human herpesvirus 7, Human herpesvirus 8, Human immunodeficiency virus, Human papillomavirus 1, Human papillomavirus 2, Human papillomavirus 16,18, Human parainfluenza, Human parvovirus B19, Human respiratory syncytial virus, Human rhinovirus, Human SARS coronavirus, Human spumaretrovirus, Human T-lymphotropic virus, Human torovirus, Influenza A virus, Influenza B virus, Influenza C virus, Isfahan virus, JC polyomavirus, Japanese encephalitis virus, Junin arenavirus, KI Polyomavirus, Kunjin virus, Lagos bat virus, Lake Victoria Marburgvirus, Langat virus, Lassa virus, Lordsdale virus, Louping ill virus, Lymphocytic choriomeningitis virus, Machupo virus, Mayaro virus, MERS coronavirus, Measles virus, Mengo encephalomyocarditis virus, Merkel cell polyomavirus, Mokola virus, Molluscum contagiosum virus, Monkeypox virus, Mumps virus, Murray valley encephalitis virus, New York virus, Nipah virus, Norwalk virus, Norovirus, O'nyong-nyong virus, Orf virus, Oropouche virus, Pichinde virus, Poliovirus, Punta toro phlebovirus, Puumala virus, Rabies virus, Rift valley fever virus, Rosavirus A, Ross river virus, Rotavirus A, Rotavirus B, Rotavirus C, Rubella virus, Sagiyama virus, Salivirus A, Sandfly fever sicilian virus, Sapporo virus, Semliki forest virus, Seoul virus, Severe acute respiratory syndrome coronavirus 2, Simian foamy virus, Simian virus 5, Sindbis virus, Southampton virus, St. louis encephalitis virus, Tick-borne powassan virus, Torque teno virus, Toscana virus, Uukuniemi virus, Vaccinia virus, Varicella-zoster virus, Variola virus, Venezuelan equine encephalitis virus, Vesicular stomatitis virus, Western equine encephalitis virus, WU polyomavirus, West Nile virus, Yaba monkey tumor virus, Yaba-like disease virus, Yellow fever virus, and Zika virus.

[0095] In some embodiments, the term “microorganism” will be understood to include any one or more bacteria, fungi, protozoa, viruses, algae, archaea, phages, and / or helminths selected from a database (e.g., a microbial genome database, a transcriptomic database, a proteomic database, a metabolomics database, a taxonomic database, and / or a clinical database). In some embodiments, the database comprises one or more entries corresponding to and / or identifying a microorganism (e.g., an annotation, for a respective microorganism, to a genome, transcriptome, nucleic acid sequence, protein sequence, metabolite, taxonomic record and / or clinical record). In some embodiments, a microorganism is selected from a database that is locally maintained, proprietary, and / or open-access. In some embodiments, a microorganism is selected from a national and / or international database. Examples of such databases include, but are not limited to, NCBI, BLAST, EMBL-EBI, GenBank, Ensembl, EuPathDB, The Human Microbiome Project, Pathogen Portal, RDP, SILVA, GREENGENES, EBI Metagenomics, EcoCyc, PATRIC, TBDB, PlasmoDB, the Microbial Genome Database (MBGD), and / or the Microbial Rosetta Stone Database. For example, MBGD comprises all complete genome sequences of bacteria, archaea, and unicellular eukaryotes, including fungi and protozoa, available at the NCBI genomes site. The Microbial Rosetta Stone is a database that provides information on disease-causing organisms (e.g., bacteria, fungi, protozoa, DNA viruses, RNA viruses, plants, and animals) and the toxins produced therefrom. See, Zhulin, 2015, “Databases for Microbiologists,” J Bacteriol 197:2458-2467, doi:10.1128 / JB.00330-15; Uchiyama et al., 2019, “MBGD update 2018: microbial genome database based on hierarchical orthology relations covering closely related and distantly related comparisons,” Nuc Acids Res., 47 (D1), D382-D389, doi: 10.1093 / nar / gky1054; and Ecker et al., 2005, “The Microbial Rosetta Stone Database: A compilation of global and emerging infectious microorganisms and bioterrorist threat agents,” BMC Microbiology 5, 19, doi: 10.1186 / 1471-2180-5-19; each of which is hereby incorporated by reference herein in its entirety.

[0096] In some embodiments, a microorganism is a commensal organism (e.g., is commonly associated with the source or site of sample collection and / or is not considered to be harmful). For example, hundreds of microorganisms are known to co-exist in the oral microbiome, and their existence in a sample collected from the oral cavity of a subject may not be indicative of a disease state. In some embodiments, a microorganism exists in a symbiotic (e.g., endosymbiotic) relationship with a subject (e.g., a host organism). In some embodiments, a microorganism is considered healthy, normal, and / or beneficial to health, such as a probiotic. Other suitable alternatives include various microorganisms that are known or have been shown to contribute to immune health, synthesize useful vitamins, and / or ferment indigestible carbohydrates.

[0097] In some embodiments, a microorganism is a pathogen (e.g., disease-causing), such as a human, animal, or plant-infective pathogen. In some embodiments, a microorganism is associated with a disease and / or is known or has been shown to be otherwise harmful to a population, such as a human population. For example, in some embodiments, a microorganism is a pathogen that is a causative agent in an infectious disease. In some embodiments, a microorganism is present in a sample (e.g., a subject, source and / or site of collection) at an asymptomatic level (e.g., at a level unlikely to induce disease or infection). In some embodiments, a microorganism is present in a sample (e.g., a subject, source and / or site of collection) at a symptomatic level (e.g., a chronic and / or acute symptomatic level).

[0098] Sample. As used herein, the term “sample” refers to any portion taken from a source, which can reflect a state associated with the source. In some embodiments, a sample is a clinical sample, a diagnostic sample, an environmental sample, a consumer quality sample, a food sample, a biological product sample, a microbial testing sample, a tumor sample, a forensic sample and / or a laboratory or hospital sample. In some embodiments, a sample is a biological sample obtained from a subject such as a human or an animal. In some embodiments, a biological sample is a sample from a patient undergoing a treatment.

[0099] In some embodiments, a sample is collected from an environmental source, such as a field (e.g., an agricultural field), lake, river, creek, ocean, watershed, water tank, water reservoir, pool (e.g., swimming pool), pond, air vent, wall, roof, soil, plant, and / or other environmental source. In some embodiments, a sample is collected from an industrial source, such as a clean room (e.g., in manufacturing or research facilities), hospital, medical laboratory, pharmacy, pharmaceutical compounding center, food processing area, food production area, water or waste treatment facility, and / or food product. In some embodiments, a sample is an air sample, such as ambient air in a facility (e.g., a medical facility or other facility), exhaled or expectorated air from a subject, and / or aerosols, including any biological contaminants present therein (e.g., bacteria, fungi, viruses, and / or pollens). In some embodiments, a sample is a water sample, such as dialysis systems in medical facility (e.g., to detect waterborne pathogens of clinical significance and / or to determine the quality of water in a facility). In some embodiments, a sample is an environmental surface sample, such as before or after a sterilization or disinfecting process (e.g., to confirm the effectiveness of the sterilization or disinfecting procedure).

[0100] Examples of biological samples include, but are not limited to, blood, whole blood, plasma, serum, urine, cerebrospinal fluid, fecal, saliva, sweat, tears, pleural fluid, pericardial fluid, or peritoneal fluid of the subject. In some embodiments, the sample consists of blood, whole blood, plasma, serum, urine, cerebrospinal fluid, fecal, saliva, sweat, tears, pleural fluid, pericardial fluid, or peritoneal fluid of the subject. A sample can include any tissue or material derived from a living or dead subject. A sample can be a liquid sample or a solid sample (e.g., a cell or tissue sample). A sample can be a cell-free sample. A sample can comprise analytes. For instance, a sample can comprise a nucleic acid (e.g., DNA or RNA) or a fragment thereof. The term “nucleic acid” can refer to deoxyribonucleic acid (DNA), ribonucleic acid (RNA) or any hybrid or fragment thereof. A sample can comprise proteins or polypeptides. The nucleic acid in the sample can be a cell-free nucleic acid. A sample can be a bodily fluid, such as blood, plasma, serum, urine, vaginal fluid, fluid from a hydrocele (e.g., of the testis), vaginal flushing fluids, pleural fluid, ascitic fluid, cerebrospinal fluid, saliva, sweat, tears, sputum, bronchoalveolar lavage fluid, discharge fluid from the nipple, aspiration fluid from different parts of the body (e.g., thyroid, breast), etc. A sample can be a stool sample. A sample can be treated to physically disrupt tissue or cell structure (e.g., centrifugation and / or cell lysis), thus releasing intracellular components into a solution which can further contain enzymes, buffers, salts, detergents, and the like which can be used to prepare the sample for analysis. A sample can be obtained from a subject invasively (e.g., surgical means) or non-invasively (e.g., a blood draw, a swab, or collection of a discharged sample). A sample can be a tissue or organ from an animal, a cell (e.g., within a subject, taken directly from a subject, and / or a cell maintained in culture or from a cultured cell line), a cell lysate, a lysate fraction, and / or a cell extract. A sample can be a solution comprising one or more molecules derived from a cell, cellular material, and / or viral material (e.g., nucleic acid). A sample can be a solution comprising a non-naturally occurring nucleic acid (e.g., a cDNA or next-generation sequencing library), which is assayed as described herein.

[0101] The term “sample” can refer to a control sample, including positive control samples and / or negative control samples. As used herein, a positive control sample refers to a sample that is known to be characterized by a particular condition (e.g., diseased, infected, and / or contaminated). As used herein, a negative control sample refers to a sample that is known to be characterized by lack of a particular condition (e.g., healthy or normal, lack of infection, and / or lack of contamination). In some embodiments, a positive control sample is obtained from a subject from a known population of the respective condition, such as a subject diagnosed with an infectious disease. In some embodiments, the positive control sample comprises natural and / or synthetic nucleic acids. In some embodiments, the negative control sample is obtained from a healthy subject, or from a healthy tissue in a subject diagnosed with an infectious disease. In some embodiments, a positive or negative control sample is validated (e.g., for the condition of interest) by a laboratory validation technique, such as targeted enrichment sequencing, PCR, in vitro culture, immunoassays (e.g., ELISA, Western blot, chemiluminescence, etc.), serological assays and / or antimicrobial susceptibility assays.

[0102] Analyte. As used herein, the term “analyte” refers to any biological substance, structure, moiety, or component to be analyzed. In some embodiments, the apparatus, systems, methods, and compositions described in this disclosure can be used to detect and analyze a wide variety of different analytes.

[0103] Analytes can be broadly classified into one of two groups: nucleic acid analytes, and non-nucleic acid analytes. Examples of non-nucleic acid analytes include, but are not limited to, lipids, carbohydrates, peptides, proteins, glycoproteins (N-linked or 0-linked), lipoproteins, phosphoproteins, specific phosphorylated or acetylated variants of proteins, amidation variants of proteins, hydroxylation variants of proteins, methylation variants of proteins, ubiquitylation variants of proteins, sulfation variants of proteins, viral proteins (e.g., viral capsid, viral envelope, viral coat, viral accessory, viral glycoproteins, viral spike, etc.), extracellular and intracellular proteins, antibodies, and antigen binding fragments. In some embodiments, the analyte is an organelle (e.g., nuclei or mitochondria). In some embodiments, the analyte(s) can be localized to subcellular location(s), including, for example, organelles, e.g., mitochondria, Golgi apparatus, endoplasmic reticulum, chloroplasts, endocytic vesicles, exocytic vesicles, vacuoles, lysosomes, etc. In some embodiments, analyte(s) can be peptides or proteins, including without limitation antibodies and enzymes.

[0104] Cell surface features corresponding to analytes can include, but are not limited to, a receptor, an antigen, a surface protein, a transmembrane protein, a cluster of differentiation protein, a protein channel, a protein pump, a carrier protein, a phospholipid, a glycoprotein, a glycolipid, a cell-cell interaction protein complex, an antigen-presenting complex, a major histocompatibility complex, an engineered T-cell receptor, a T-cell receptor, a B-cell receptor, a chimeric antigen receptor, an extracellular matrix protein, a posttranslational modification (e.g., phosphorylation, glycosylation, ubiquitination, nitrosylation, methylation, acetylation or lipidation) state of a cell surface protein, a gap junction, and an adherens junction.

[0105] Analytes can be derived from a specific type of cell and / or a specific sub-cellular region. For example, analytes can be derived from cytosol, from cell nuclei, from mitochondria, from microsomes, and more generally, from any other compartment, organelle, or portion of a cell. Permeabilizing agents that specifically target certain cell compartments and organelles can be used to selectively release analytes from cells for analysis.

[0106] Examples of nucleic acid analytes include DNA analytes such as genomic DNA, methylated DNA, specific methylated DNA sequences, fragmented DNA, mitochondrial DNA, in situ synthesized PCR products, and RNA / DNA hybrids.

[0107] Examples of nucleic acid analytes also include RNA analytes such as various types of coding and non-coding RNA. Examples of the different types of RNA analytes include messenger RNA (mRNA), ribosomal RNA (rRNA), transfer RNA (tRNA), microRNA (miRNA), and viral RNA. The RNA can be a transcript (e.g., present in a tissue section). The RNA can be small (e.g., less than 200 nucleic acid bases in length) or large (e.g., RNA greater than 200 nucleic acid bases in length). Small RNAs mainly include 5.8S ribosomal RNA (rRNA), 5S rRNA, transfer RNA (tRNA), microRNA (miRNA), small interfering RNA (siRNA), small nucleolar RNA (snoRNAs), Piwi-interacting RNA (piRNA), tRNA-derived small RNA (tsRNA), and small rDNA-derived RNA (srRNA). The RNA can be double-stranded RNA or single-stranded RNA. The RNA can be circular RNA. The RNA can be a bacterial rRNA (e.g., 16s rRNA or 23s rRNA).

[0108] Nucleic acid. As used herein, the terms “nucleic acid” and “nucleic acid molecule” are used interchangeably. The terms refer to nucleic acids of any composition form, such as ribonucleic acid (RNA), deoxyribonucleic acid (DNA, e.g., complementary DNA (cDNA), genomic DNA (gDNA) and the like), and / or DNA or RNA analogs (e.g., containing base analogs, sugar analogs and / or a non-native backbone and the like). In some embodiments, nucleic acids are in single- or double-stranded form. Unless otherwise limited, a nucleic acid can comprise known analogs of natural nucleotides, some of which can function in a similar manner as naturally occurring nucleotides. A nucleic acid can be in any form useful for conducting processes herein (e.g., linear, circular, supercoiled, single-stranded, double-stranded and the like). A nucleic acid, in some embodiments, can be from a single chromosome or fragment thereof (e.g., a nucleic acid sample may be from one chromosome of a sample obtained from a diploid organism). In certain embodiments nucleic acids comprise nucleosomes, fragments or parts of nucleosomes or nucleosome-like structures. Nucleic acids sometimes comprise protein (e.g., histones, DNA binding proteins, and the like). Nucleic acids analyzed by processes described herein sometimes are substantially isolated and are not substantially associated with protein or other molecules. Nucleic acids also include derivatives, variants and analogs of DNA synthesized, replicated or amplified from single-stranded (“sense” or “antisense,”“plus” strand or “minus” strand, “forward” reading frame or “reverse” reading frame) and double-stranded polynucleotides. Deoxyribonucleotides include deoxyadenosine, deoxycytidine, deoxyguanosine and deoxythymidine. A nucleic acid may be prepared using a nucleic acid obtained from a subject as a template.

[0109] Gene. As used herein, a “gene” is a contiguous region of DNA that encodes instructions for how the cell can make a large (“macro”) molecule (or potentially multiple different macromolecules).

[0110] Gene Product. As used herein, a macromolecule is referred to as a gene product (as it is produced deterministically according to the instructions from a gene), and can be of two types, a protein (the most common type) or a noncoding RNA. A gene product can act as a molecular machine; that is, it can perform a chemical action referred to herein as an activity. Gene products from different genes can combine into a larger molecular machine, referred to herein as a macromolecular complex.

[0111] Sequencing. As used herein, the terms “sequencing,”“sequencing reaction,” and the like refer to any biochemical processes that may be used to determine the order of biological macromolecules such as nucleic acids and proteins. For example, sequencing data can include all or a portion of the nucleotide bases in a nucleic acid molecule such as an mRNA transcript, a DNA fragment and / or a genomic locus, and / or all or a portion of the amino acids in a polypeptide.

[0112] Sequence read. As used herein, a sequence read (also referred to as a “sequencing read,”“read,” or “query sequence”) refers to the inferred sequence of nucleotide bases in a nucleic acid molecule. A sequence read may be of any appropriate length, such as about or more than about 20 nt, 30 nt, 40 nt, 50 nt, 75 nt, 100 nt, 150 nt, 200 nt, 250 nt, 300 nt, 400 nt, 500 nt, 1,000 nt, 10,000 nt, or more in length. In some embodiments, a sequence read is less than 200 nt, 150 nt, 100 nt, 75 nt, or fewer in length. Sequence reads can be “paired,” meaning that they are derived from different ends of a nucleic acid fragment. Paired reads can have intervening unknown sequence or overlap. In some cases, the sequence read is a contig or consensus sequence assembled from separate overlapping reads. A sequence read may be analyzed in terms of component k-mers. In general, “k-mer” refers to the subsequences of a given length k that make up a sequence read. For example, the sequence “AGCTCT” can be divided into the 3-nt subsequences “AGC,”“GCT,”“CTC,” and “TCT.” In this example, each of these subsequences is a k-mer, where k=3. K-mers may be overlapping or non-overlapping.

[0113] A sequence read can refer to sequence information corresponding to a nucleic acid molecule (e.g., a string of nucleotides). For example, a sequence read can correspond to a string of nucleotides (e.g., about 20 to about 150) from part of a nucleic acid fragment, can correspond to a string of nucleotides at one or both ends of a nucleic acid fragment, or can correspond to nucleotides of the entire nucleic acid fragment. A sequence read can be obtained in a variety of ways, e.g., using sequencing techniques or using probes, e.g., in hybridization arrays or capture probes, or amplification techniques, such as the polymerase chain reaction (PCR) or linear amplification using a single primer or isothermal amplification.

[0114] Genome. As used herein, the terms “genome” or “reference genome” refer to any particular known, sequenced or characterized genome, whether partial or complete, of any biological source (e.g., a subject, organism, microorganism, and / or virus). Genomes can be used as a reference for sequences (e.g., nucleic acid and / or protein sequences) obtained from a sample containing material from the biological source. Exemplary reference genomes used for human subjects as well as many other organisms are provided in the online genome browser hosted by the National Center for Biotechnology Information (“NCBI”) or the University of California, Santa Cruz (UCSC). A “genome” refers to the complete genetic information of an entity (e.g., a subject, organism, microorganism, and / or virus), expressed in nucleic acid sequences. As used herein, a reference sequence or reference genome often is an assembled or partially assembled genomic sequence from a representative member of a type of biological source (e.g., an individual) or from multiple representatives of a type of biological source (e.g., multiple individuals). In some embodiments, a reference genome is an assembled or partially assembled genomic sequence from one or more human individuals. In some embodiments, a reference genome is an assembled or partially assembled genomic sequence from one or more microorganisms of the same species. The reference genome can be viewed as a representative example of a species' set of genes. In some embodiments, a reference genome comprises sequences assigned to chromosomes. Exemplary human reference genomes include but are not limited to NCBI build 34 (UCSC equivalent: hg16), NCBI build 35 (UCSC equivalent: hg17), NCBI build 36.1 (UCSC equivalent: hg18), GRCh37 (UCSC equivalent: hg19), and GRCh38 (UCSC equivalent: hg38).

[0115] In some embodiments, a genome is a complete genome. In some embodiments, a genome is an incomplete genome. For example, in some embodiments, an incomplete genome is at least 1%, at least 2%, at least 3%, at least 4%, at least 5%, at least 6%, at least 7%, at least 8%, at least 9%, at least 10%, at least 15%, at least 20%, at least 25%, at least 30%, at least 35%, at least 40%, at least 45%, at least 50%, at least 55%, at least 60%, at least 65%, at least 70%, at least 75%, at least 80%, at least 81%, at least 82%, at least 83%, at least 84%, at least 85%, at least 86%, at least 87%, at least 88%, at least 89%, at least 90%, at least 91%, at least 92%, at least 93%, at least 94%, at least 95%, at least 96%, at least 97%, at least 98%, or at least 99% of the complete genome.

[0116] In some embodiments, a complete or incomplete genome is less than 1 megabase pairs (Mb), less than 0.5 Mb, less than 0.4 Mb, less than 0.3 Mb, less than 0.2 Mb, or less than 0.1 Mb. In some embodiments, a complete or incomplete genome is at least 1 Mb, at least 2 Mb, at least 3 Mb, at least 4 Mb, at least 5 Mb, at least 6 Mb, at least 7 Mb, at least 8 Mb, at least 9 Mb, at least 10 Mb, at least 15 Mb, at least 20 Mb, at least 25 Mb, at least 30 Mb, at least 35 Mb, at least 40 Mb, at least 45 Mb, at least 50 Mb, at least 100 Mb, at least 200 Mb, at least 500 Mb, at least 1,000 Mb, at least 2,000 Mb, at least 3,000 Mb, at least 4,000 Mb, at least 5,000 Mb, at least 10 gigabase pairs (Gb), at least 20 Gb, or at least 50 Gb.

[0117] In some embodiments, a complete or incomplete genome spans a region of a reference genome comprising at least 1, at least 2, at least 3, at least 4, at least 5, at least 6, at least 7, at least 8, at least 9, at least 10, at least 15, at least 20, at least 25, at least 30, at least 35, at least 40, at least 45, at least 50, at least 100, at least 200, at least 500, at least 1,000, at least 2,000, at least 3,000, at least 4,000, at least 5,000, at least 10,000, or at least 50,000 genes. In some embodiments, a complete or incomplete genome spans a region of a reference genome comprising between 1 and 10, between 10 and 50, between 50 and 100, between 100 and 500, between 500 and 1000, between 1000 and 2000, between 2000 and 5000, between 5000 and 10,000, between 10,000 and 50,000, or more than 50,000 genes.

[0118] In some embodiments, a complete or incomplete genome spans a region of a reference genome comprising at least 1, at least 2, at least 3, at least 4, at least 5, at least 6, at least 7, at least 8, at least 9, at least 10, at least 15, at least 20, at least 25, at least 30, at least 35, at least 40, at least 45, at least 50, at least 100, at least 200, or at least 500 antimicrobial resistance markers. In some embodiments, a complete or incomplete genome spans a region of a reference genome comprising between 1 and 10, between 10 and 50, between 50 and 100, or more than 100 antimicrobial resistance markers.

[0119] In some embodiments, a complete or incomplete genome is obtained from one or more nucleotide sequence databases and / or microorganism databases, including but not limited to NCBI, BLAST, EMBL-EBI, GenBank, Ensembl, EuPathDB, The Human Microbiome Project, Pathogen Portal, RDP, SILVA, GREENGENES, EBI Metagenomics, EcoCyc, PATRIC, TBDB, PlasmoDB, the Microbial Genome Database (MBGD), and / or the Microbial Rosetta Stone Database. See, for example, Zhulin, 2015, “Databases for Microbiologists,” J Bacteriol 197:2458-2467, doi:10.1128 / JB.00330-15; Uchiyama et al., 2019, “MBGD update 2018: microbial genome database based on hierarchical orthology relations covering closely related and distantly related comparisons,” Nuc Acids Res., 47 (D1), D382-D389, doi: 10.1093 / nar / gky1054; and Ecker et al., 2005, “The Microbial Rosetta Stone Database: A compilation of global and emerging infectious microorganisms and bioterrorist threat agents,” BMC Microbiology 5, 19, doi: 10.1186 / 1471-2180-5-19; each of which is hereby incorporated by reference herein in its entirety.

[0120] Reference sequence. As used herein, a reference sequence includes any sequence to which a sequence (e.g., a nucleic acid sequencing read and / or a protein sequence) is compared. Typically, the reference sequence is associated with some known characteristic, such as a molecular function, biological process, or cellular component term, a condition of a sample source, a taxonomic group, a particular species, an expression profile, a particular gene, an associated phenotype such as likely disease progression, drug resistance or pathogenicity, increased or reduced predisposition to disease, or other characteristic. In some embodiments, the reference sequence is associated with one or more molecular functions or biological processes or cellular component terms from the Gene Ontology. Typically, a reference sequence is one of many such reference sequences in a database. Databases can comprise multiple sequences from a single species, such as the human genome, or disease vectors such as bat, tick, or mosquitoes and other domestic and wild animals. In some embodiments, the reference database comprises sequences of human transcripts. Reference sequences in databases can comprise DNA sequences, RNA sequences, or protein sequences. The database of reference sequences can comprise reference sequences of one or more of a variety of different taxonomic groups, including but not limited to bacteria, archaea, chromalveolata, viruses, fungi, plants, fish, amphibians, reptiles, birds, mammals, and humans.

[0121] In some embodiments, each reference sequence in the database of reference sequences is associated with, prior to the comparison, a k-mer weight as a measure of how likely it is that a k-mer within the reference sequence originates from the reference sequence. In some embodiments the k-mer weight is calculated as described in U.S. Pat. No. 11,335,436 entitled METHODS AND SYSTEMS FOR MULTIPLE TAXONOMIC CLASSIFICATION,” which is hereby incorporated by reference. Each reference sequence in the database of reference sequences is associated with a k-mer weight as a measure of how likely it is that a k-mer within the reference sequence originates from a biological function or process term within the plurality of all terms, e.g., all terms from Gene Ontology. The k-mer values thus associated with sequences or function terms in the database can then be used in determining k-mer weights for k-mers within sequencing reads.

[0122] Reference sequences in a given database of reference sequences can be associated with k-mers of given lengths (e.g., prior to comparison with collected sequences). Each reference sequence in a database of reference sequences can be associated with, prior to the comparison, a k-mer weight as a measure of how likely it is that a k-mer within the reference sequence originates from the reference sequence. Alternatively, the database of reference sequences can comprise sequences from a plurality of taxa, and each reference sequence in the database of reference sequences is associated with a k-mer weight as a measure of how likely it is that a k-mer within the reference sequence originates from a taxon within the plurality of taxa. Calculating the k-mer weight can comprise comparing a reference sequence in the database to the other reference sequences in the database, such as by a method described herein. The k-mer values thus associated with sequences or taxa in the database can then be used in determining k-mer weights for k-mers within sequencing reads.

[0123] Comparing k-mers in a sequence (e.g., a nucleic acid sequence, such as a sequencing read, or an amino acid sequence) to a reference sequence can comprise counting k-mer matches between the two. In some embodiments, the stringency for identifying a match can vary. For example, a match can be an exact match, in which a nucleotide sequence of a k-mer from a sequencing read is identical to a nucleotide sequence of a k-mer from a reference sequence. Alternatively, a match can be an incomplete match, in which 1, 2, 3, 4, 5, 10, or more mismatches between a k-mer of a sequencing read and a k-mer of a reference sequence are permitted. In addition to counting matches, a likelihood (also referred to as a “k-mer weight” or “KW”) can be calculated. In some embodiments, a k-mer weight relates a count of a particular k-mer within a particular reference sequence, a count of the particular k-mer among a group of sequences comprising the reference sequence, and a count of the particular k-mer among all reference sequences in the database of reference sequences. In one embodiment, the k-mer weight is calculated according to the following formula, which calculates the k-mer weight as a measure of how likely it is that a particular k-mer (Ki) originates from a reference sequence (refi) as:KWrefi(Ki)=Cref(Ki) / Cdb(Ki)Cdb(Ki) / Total⁢ kmer⁢ count(Eqn. 1)where C represents a function that returns the count of Ki, Cref(Ki) indicates the count of the Ki in a particular reference sequence, Cdb(Ki) indicates the count of Ki in the database, and Total kmer count is the total number of k-mers in the database. This weight provides a relative, database specific measure of how likely it is that a k-mer originated from a particular reference. However, other measures for weighting a k-mer are possible. For instance, in some embodiments, the k-mer weight is calculated according to the following formula, which calculates the k-mer weight as a measure of how likely it is that a particular k-mer (Ki) originates from a reference sequence (refi) as:KWrefi(Ki)=Cref(Ki) / Cdb(Ki)  (Eqn.2)where C represents a function that returns the count of Ki, and Cref(Ki) indicates the count of the Ki in a particular reference sequence. In still other embodiments, the k-mer weight is calculated according to the following formula, which calculates the k-mer weight as a measure of how likely it is that a particular k-mer (Ki) originates from a reference sequence (refi) as:KWrefi(Ki)=logx [Cref(Ki) / Cdb(Ki)Cdb(Ki) / Total⁢ kmer⁢ count](Eqn. 3)where C represents a function that returns the count of Ki, Cref(Ki) indicates the count of the Ki in a particular reference sequence, Cdb(Ki) indicates the count of Ki in the database, Total kmer count is the total number of k-mers in the database, and x is a base for the logarithm (e.g., 10, π, or any other base). In still other embodiments, the k-mer weight is calculated according to the following formula, which calculates the k-mer weight as a measure of how likely it is that a particular k-mer (Ki) originates from a reference sequence (refi) as:KWrefi(Ki)=Cref(Ki) / Cdb(Ki)Cdb(Ki) / logx[Total⁢ kmer⁢ count](Eqn. 4)where C represents a function that returns the count of Ki, Cref(Ki) indicates the count of the Ki in a particular reference sequence, Cdb(Ki) indicates the count of Ki in the database, Total kmer count is the total number of k-mers in the database, and x is a base for the logarithm (e.g., 10, π, or any other base).Prior to comparing a sequencing read to the database of reference sequences, the k-mer weight (or measurement of likelihood that a k-mer originates from a given reference sequence) can be calculated for each k-mer and reference sequence in the database. In some embodiments, when a reference database comprises sequences from a plurality of taxa, each reference sequence can be associated with a measure of likelihood, or k-mer weight, that a k-mer within the reference sequence originates from a taxon within a plurality of taxa. As a non-limiting example, a reference database can comprise sequences from multiple species of canines, and the k-mer weight can be calculated by relating the count of a given k-mer in all canine sequences to its count in the entire database, which includes other taxa. In some examples, the k-mer weight measuring how likely it is that a k-mer originates from a specific taxon is calculated by defining Cref(Ki) in the above equation as a function that returns the total count of Ki in a particular taxon.Ontological term. As used herein, the term “ontological term” refers to a term that describes knowledge of a respective analyte or an analyte sequence thereof. Ontological terms can be used to assist in the organization, description, and analysis of analyte data, such as sequence data (e.g., nucleic acid sequences and / or protein sequences). In some embodiments, ontological terms are used to describe and classify the analytes and / or sequences of interest. In some embodiments, ontological terms are obtained using annotations for the respective analytes and / or sequences, where annotations can be applied manually, automatically, or via artificial intelligence. In some embodiments, ontological terms refer to biological functions and / or processes. Ontological terms can include terms obtained from the Gene Ontology (GO), which provides a framework and set of concepts for describing the functions of gene products from all organisms. The Gene Ontology is specifically designed for supporting the computational representation of biological systems. A GO annotation is an association between a specific gene product and a GO concept, together making a statement pertinent to the function of that gene. In some embodiments, an ontological term is a molecular function term, a biological process term, and / or a cellular component term. Ontological terms are further described in The Gene Ontology Handbook, Methods in Molecular Biology, eds., Dessimoz and Skunca, 2017, Human Press, Springer Science+Business Media LLC New York, which is hereby incorporated by reference.Biological process. As used herein, the term “biological process” means a specific objective that an organism is genetically “programmed” to achieve. Each biological process is often described by its outcome or ending state, e.g., the biological process of cell division results in the creation of two daughter cells (a divided cell) from a single parent cell. A biological process is accomplished by a particular set of molecular processes carried out by specific gene products, often in a highly regulated manner and in a particular temporal sequence. An annotation that a particular gene product is associated with a biological process concept means that the gene product carries out a molecular process that plays an integral role in that biological program. But a gene product can affect a biological objective even if it does not act strictly within the process. First, a gene product can control when and where the program is executed; that is, it might regulate the program. In this case, the gene product acts outside of the program, and controls (directly or indirectly) the activity of one or more gene products that act within the program. Second, the gene product might act in another, separate biological program that is required for the given program to occur. For instance, animal embryogenesis requires translation, though translation would not generally be considered to be part of the embryogenesis program. Thus, a given biological process annotation could have any of these three meanings (namely a gene activity could be part of, regulate, or be upstream of but still necessary for, a biological process).Biological process concepts span the entire range of how biologists characterize biological systems. They can be as simple as a generic enzymatic process, e.g., protein phosphorylation, to molecular pathways such as glycolysis or the canonical Wnt signaling pathway, to complex programs like embryo development or learning, and even including reproduction. Biological processes also includes molecular-level processes that cannot always be distinguished from molecular functions. For instance, the process class protein phosphorylation overlaps in meaning with the molecular activity class protein kinase activity, as protein kinase activity is the enzymatic activity by which protein phosphorylation occurs. The main difference is that while a molecular function annotation has a precise semantics (e.g., the gene carries out protein kinase activity), the biological process annotation does not (e.g., the gene either carries out, regulates, or is upstream of but necessary for a particular protein kinase activity). Because of this diversity, in practice not all biological process classes actually represent coherent, regulated biological programs. Biological processes are further described in The Gene Ontology Handbook, Methods in Molecular Biology, eds., Dessimoz and Skunca, 2017, Human Press, Springer Science+Business Media LLC New York, Chapter 2, which is hereby incorporated by reference.Molecular function. As used herein, the term “molecular function” is a process that can be carried out by the action of a single macromolecular machine, via direct physical interactions with other molecular entities. Function in this sense denotes an action, or activity, that a gene product performs. These actions are described from the two distinct but related perspectives commonly employed by biologists: (1) biochemical activity, and (2) role as a component in a larger system / process. Biochemical activities include binding and catalytic activities, and are only functions in the broad sense, i.e., how something functions, the molecular mechanism of operation. Component role descriptions, on the other hand, refer to roles in larger processes, and are sometimes described by analogy to a mechanical or electrical system. For example, biologists may refer to a protein that functions (acts) as a receptor. This is because the activity is interpreted as receiving a signal and converting that signal into another physicochemical form. Unlike biochemical activities, these roles require some degree of interpretation that includes knowledge of the larger system context in which the gene product acts. Molecular functions are further described in The Gene Ontology Handbook, Methods in Molecular Biology, eds., Dessimoz and Skunca, 2017, Human Press, Springer Science+Business Media LLC New York, Chapter 2, which is hereby incorporated by reference.Cellular component. As used herein, the term “cellular component” is a location, relative to cellular compartments and structures, occupied by a macromolecular machine when it carries out a molecular function. Generally, there are at least two ways in which biologists describe locations of gene products: (1) relative to cellular structures (e.g., cytoplasmic side of plasma membrane) or compartments (e.g., mitochondrion), and (2) the stable macromolecular complexes of which they are parts (e.g., the ribosome). Unlike the other aspects of Gene Ontology such as biological process and molecular function, cellular component concepts refer not to processes but rather a cellular anatomy. In some embodiments, cellular component annotations are designed to be applied to the actions of gene products and complexes; for instance, a GO annotation to a cellular component provides information about where a molecular process may occur during a larger process. Cellular components are further described in The Gene Ontology Handbook, Methods in Molecular Biology, eds., Dessimoz and Skunca, 2017, Human Press, Springer Science+Business Media LLC New York, Chapter 2, which is hereby incorporated by reference.The implementations described herein provide various technical solutions for associating a sample from a sample source with one or more molecular functions, biological processes, or cellular components. In some implementations, the systems and methods disclosed herein utilize sample sequences from the sample. Examples of such sequences include those arising from sample processing and / or sequencing as disclosed in PCT Application No. PCT / US19 / 41447, entitled “METHODS AND SYSTEMS FOR PROCESSING SAMPLES,” filed Jul. 11, 2019; U.S. application Ser. No. 17 / 259,518, entitled “METHODS AND SYSTEMS FOR PROCESSING SAMPLES,” filed Sep. 17, 2021; PCT Application No. PCT / US2019 / 060915, entitled “Directional Targeted Sequencing,” filed Nov. 12, 2019; and U.S. application Ser. No. 17 / 318,781, entitled “Directional Targeted Sequencing,” filed May 12, 2021, each of which is hereby incorporated herein by reference in its entirety. In some implementations, the systems and methods disclosed herein utilize sequence comparisons between sample sequences and reference sequences, including, but not limited to, such methods for sequence comparison as disclosed in U.S. Pat. No. 11,335,436 entitled METHODS AND SYSTEMS FOR MULTIPLE TAXONOMIC CLASSIFICATION,” which is hereby incorporated herein by reference in its entirety. Details of implementations are now described in conjunction with the Figures.Exemplary System Embodiments

[0131] FIGS. 1A-B collectively provide a block diagram illustrating a system 100 for performing methods in accordance with some implementations of the present disclosure. The device 100 in some implementations includes one or more central processing units (CPU(s)) 102 (also referred to as processors), one or more network interfaces 104, a user interface 106, a non-persistent memory 111, a persistent memory 112, and one or more communication buses 110 for interconnecting these components. The one or more communication buses 110 optionally include circuitry (sometimes called a chipset) that interconnects and controls communications between system components. The non-persistent memory 111 typically includes high-speed random access memory, such as DRAM, SRAM, DDR RAM, ROM, EEPROM, flash memory, whereas the persistent memory 112 typically includes CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid state storage devices. The persistent memory 112 optionally includes one or more storage devices remotely located from the CPU(s) 102. The persistent memory 112, and the non-volatile memory device(s) within the non-persistent memory 112, comprises non-transitory computer readable storage medium. In some implementations, the non-persistent memory 111 or alternatively the non-transitory computer readable storage medium stores the following programs, modules and data structures, or a subset thereof, sometimes in conjunction with the persistent memory 112:

[0132] an optional operating system 116, which includes procedures for handling various basic system services and for performing hardware dependent tasks;

[0133] an optional network communication module (or instructions) 118 for connecting the visualization system 100 with other devices, or a communication network;

[0134] a reference sequence data store 120 comprising a set of reference sequences (e.g., nucleic acid or protein reference sequences) 122 (e.g., 122-1, . . . 122-M), where each reference sequence in the set of reference sequences is independently associated with one or more biological characteristics 124 (e.g., molecular functions, biological processes, or cellular components) (e.g., 124-1-1, . . . 124-1-P) in a plurality of biological characteristics 148 (e.g., 148-1, . . . 148-Q);

[0135] a k-mer data store 126 comprising, for each respective k-mer in a plurality of k-mers 128 (e.g., 128-1, . . . 128-L), for each respective reference sequence in the set of reference sequences 122, a corresponding k-mer weight 130 (e.g., 130-1-1, . . . 130-1-M) for the respective k-mer for the respective reference sequence that is a measure of how likely it is that the corresponding k-mer originates from the respective reference sequence, where each k-mer in the plurality of k-mers has the same length of k residues;

[0136] a sample sequence data construct 132;

[0137] a comparison construct 134;

[0138] an ontology module 136; and

[0139] a sample comparison module 138.

[0140] In one aspect of the present disclosure, referring to FIG. 1B, the system 100 is used to associate a sample from a sample source with one or more molecular functions, biological processes, or cellular components. Accordingly, in some implementations, the sample sequence data construct 132 optionally comprises a set of sample sequences for a first sample 140 (e.g., 140-1), where the set of sample sequences comprises N sequences 142 (e.g., 142-1-1, . . . 142-1-N).

[0141] In some implementations, for each respective sample sequence 142-1 in the first sample 140-1, the comparison construct 134 optionally performs a sequence comparison between the respective sample sequence and the set of reference sequences 122, where the comparison comprises determining, for each respective reference sequence in the set of reference sequences, a respective set of k-mers 128 within the respective sample sequence that are also found in the respective reference sequence by comparison of each k-mer in the respective sample sequence read of length k to each respective k-mer in the plurality k-mers. The comparison construct 134 also optionally assigns the respective sample sequence to a particular reference sequence 146 (e.g., 146-1-1, . . . 146-1-N) in the set of reference sequences based on the k-mer weights 130, in the plurality of k-mer weights, for the respective set of k-mers within the sample sequence that are also found in the particular reference sequence.

[0142] In some implementations, the ontology module 136 determines, for each respective molecular function, biological process, or cellular component i (e.g., biological characteristic 148-i) in at least a subset of the plurality of molecular functions, biological processes or cellular components, a corresponding indication of an amount 150-i-1 (e.g., 150-1-1) (e.g., a count C) of sample sequences 142-1 in the set of sample sequences that has been assigned to a reference sequence 122 in the set of reference sequences that is associated with the respective molecular function, biological process, or cellular component 148.

[0143] In some implementations, the sample comparison module 138 optionally compares, for each respective molecular function, biological process, or cellular component i (e.g., biological characteristic 148-i) in the at least a subset of the plurality of molecular functions, biological processes or cellular components, the corresponding indication of an amount 150-i-1 (e.g., 150-1-1) (e.g., a count C) of sample sequences determined for the respective molecular function, biological process, or cellular component to a corresponding reference count 152-i (e.g., 152-1) of the number of reference sequences in the set of reference sequences that is associated with the respective molecular function, biological process or cellular component, thereby determining one or more molecular functions, biological processes or cellular components that are over-represented or under-represented in the sample relative to the set of reference sequences and therefore associated with the first sample 140-1.

[0144] In another aspect of the present disclosure, referring again to FIG. 1B, the system 100 is used for microbiome-based treatment discovery. Accordingly, in some implementations, the sample sequence data construct 132 optionally comprises, for each respective sample 140 in a plurality of samples (e.g., 140-1, 140-2, . . . 140-R), a respective set of sample sequences 142 (e.g., 142-1-1, . . . 142-1-N, 142-2-1, . . . 142-2-T) for a respective plurality of nucleic acids or proteins from the respective sample, where each sample in the plurality of samples is from a subject in a cohort of subjects and where a first subset of the cohort of subjects has one or more conditions and a second subset of the cohort of subjects is free of the one or more conditions (optionally, each sample in the plurality of samples has one or more conditions 144 (e.g., 144-1, 144-2)).

[0145] In some implementations, the comparison construct 134 optionally performs, for each respective sample 140 in the plurality of samples, for each respective sample sequence 142, a sequence comparison between the respective sample sequence and the set of reference sequences 122, where the comparison comprises determining, for each respective reference sequence in the set of reference sequences, a respective set of k-mers 128 within the respective sample sequence that are also found in the respective reference sequence by comparison of each k-mer in the respective sample sequence read of length k to each respective k-mer in the plurality k-mers. The comparison construct 134 also optionally assigns the respective sample sequence to a particular reference sequence 146 (e.g., 146-1-1, . . . 146-1-N, 146-2-1, . . . 146-2-T) in the set of reference sequences based on the k-mer weights 130, in the plurality of k-mer weights, for the respective set of k-mers within the sample sequence that are also found in the particular reference sequence.

[0146] In some implementations, the ontology module 136 determines, for each respective sample 140 in the plurality of samples associated with the first subset of the cohort of subjects and for each respective sample 140 associated with the second subset of the cohort of subjects, for each respective molecular function, biological process, or cellular component i (e.g., biological characteristic 148-i) in at least a subset of the plurality of molecular functions, biological processes or cellular components, a corresponding indication of an amount 150-i (e.g., 150-1-1, . . . 150-1-S) (e.g., a proportion) of sample sequences 142 in the set of sample sequences that has been assigned to a reference sequence 122 in the set of reference sequences that is associated with the respective molecular function, biological process, or cellular component 148.

[0147] In some implementations, for each respective molecular function, biological process or cellular component i in the plurality of molecular functions, biological processes or cellular components 148, the sample comparison module 138 optionally determines whether one of the first subset and the second subset of the cohort of subjects over-represents or under-represents the respective molecular function, biological process or cellular component 148 relative to the other of the first subset and the second subset of the cohort of subjects, using the respective corresponding indications 150 (e.g., proportions) of sample sequences across the samples associated with the first and second subsets.

[0148] In some implementations, one or more of the above identified elements are stored in one or more of the previously mentioned memory devices and correspond to a set of instructions for performing a function described above. The above identified modules, data, or programs (e.g., sets of instructions) need not be implemented as separate software programs, procedures, data sets, or modules, and thus various subsets of these modules and data may be combined or otherwise re-arranged in various implementations. In some implementations, the non-persistent memory 111 optionally stores a subset of the modules and data structures identified above. Furthermore, in some embodiments, the memory stores additional modules and data structures not described above. In some embodiments, one or more of the above identified elements is stored in a computer system, other than that of system 100, that is addressable by system 100 so that system 100 may retrieve all or a portion of such data when needed.

[0149] Although FIGS. 1A-B depict a “system 100,” the figures are intended more as a functional description of the various features which may be present in computer systems than as a structural schematic of the implementations described herein. In practice, and as recognized by those of ordinary skill in the art, items shown separately could be combined and some items could be separated. Moreover, although FIGS. 1A-B depict certain data and modules in non-persistent memory 111, some or all of these data and modules may be in persistent memory 112.Specific Embodiments of the Disclosure

[0150] While a system in accordance with the present disclosure has been disclosed with reference to FIGS. 1A-B, a method in accordance with the present disclosure is now detailed with reference to FIGS. 2A-E, 3A-C, and 4A-C. In some embodiments, the presently disclosed systems and methods are used in conjunction with the systems and methods described in, for example, IDbyDNA, 2019, “Explify Software v1.5.0 User Manual,” Document No. TH-2019-200-006, pp. 1-44; PCT Application No. PCT / US22 / 17523, entitled “SYSTEMS AND METHODS FOR ANALYSIS OF PRESENCE OF MICROORGANISMS,” filed Feb. 23, 2022; PCT Application No. PCT / US22 / 15355, entitled “SYSTEMS AND METHODS FOR QUANTIFICATION OF ORGANISMS,” filed Feb. 4, 2022; U.S. Pat. No. 11,335,436 entitled METHODS AND SYSTEMS FOR MULTIPLE TAXONOMIC CLASSIFICATION”; PCT Application No. PCT / US19 / 48363, entitled “METHODS AND SYSTEMS FOR PROVIDING SAMPLE INFORMATION,” filed Aug. 27, 2019; U.S. application Ser. No. 17 / 290,734, entitled “METHODS AND SYSTEMS FOR PROVIDING SAMPLE INFORMATION,” filed Apr. 30, 2021; PCT Application No. PCT / US19 / 41447, entitled “METHODS AND SYSTEMS FOR PROCESSING SAMPLES,” filed Jul. 11, 2019; U.S. application Ser. No. 17 / 259,518, entitled “METHODS AND SYSTEMS FOR PROCESSING SAMPLES,” filed Sep. 17, 2021; PCT Application No. PCT / US2019 / 060915, entitled “Directional Targeted Sequencing,” filed Nov. 12, 2019; U.S. application Ser. No. 17 / 318,781, entitled “Directional Targeted Sequencing,” filed May 12, 2021; and PCT Application No. PCT / US22 / 13562, entitled “METHODS AND SYSTEMS FOR METAGENOMICS ANALYSIS,” filed Jan. 24, 2022, each of which is hereby incorporated by reference herein in its entirety for all purposes.

[0151] Referring to FIGS. 2A-E, the present disclosure provides a method 200 of associating a sample from a sample source with one or more molecular functions, biological processes, and / or cellular components.

[0152] As described above, in some implementations, the present disclosure provides a method of associating a sample from a sample source with one or more ontological terms or biological characteristics. Ontological terms or biological characteristics suitable for use in the present disclosure are described herein, including but not limited to biological processes, molecular functions, and / or cellular components. In some embodiments, a respective ontological term in the one or more ontological terms is a Gene Ontology term. See, for example, the sections entitled “Definitions: Ontological terms,”“Definitions: Biological process,”“Definitions: Molecular function,” and “Definitions: Cellular component,” above. Ontological terms contemplated for use in the present disclosure, including biological processes, molecular functions, and / or cellular components, are further described in The Gene Ontology Handbook, Methods in Molecular Biology, eds., Dessimoz and Skunca, 2017, Human Press, Springer Science+Business Media LLC New York, which is hereby incorporated by reference.K-Mer Weights.

[0153] Referring to Block 202, the method includes obtaining, for each respective k-mer 128 in a plurality of k-mers, for each respective nucleic acid or protein reference sequence (refi) in a set of reference sequences 122, a corresponding k-mer weight 130 for the respective k-mer for the respective reference sequence that is a measure of how likely it is that the corresponding k-mer originates from the respective reference sequence, thereby forming a plurality of k-mer weights. Each reference sequence in the set of reference sequences is independently associated with one or more molecular functions, biological processes, or cellular components 148 in a plurality of molecular functions, biological processes, or cellular components. In some embodiments, each k-mer in the plurality of k-mers has the same length of k residues and k is in a range of 3 to 30.

[0154] In some embodiments, each respective nucleic acid or protein reference sequence in the set of reference sequences refers to a respective analyte sequence. For example, in some embodiments, the set of reference sequences includes a plurality of analyte reference sequences for one or more analytes. In some such embodiments, the plurality of k-mer weights includes, for each respective k-mer in the plurality of k-mers, for each respective analyte reference sequence in the set of reference sequences, a corresponding k-mer weight that is a measure of how likely it is that the corresponding k-mer originates form the respective reference sequence. In some embodiments, the plurality of analyte reference sequences includes nucleic acid and / or protein reference sequences. In some embodiments, each respective analyte reference sequence in the plurality of analyte reference sequences is a nucleic acid sequence or a protein sequence.

[0155] Analytes suitable for use in the present disclosure are described further elsewhere herein (see, for example, the sections entitled “Definitions: Analyte,” above, and “Samples and sequences,” below).

[0156] In some embodiments, one or more reference sequences in the set of reference sequences is obtained from an analyte sequence database, such as a nucleotide sequence or a protein sequence database.

[0157] A nucleotide sequence database includes, for example, a global genome database or a microorganism-specific genome database. For example, in some embodiments, one or more reference sequences in the set of reference sequences is obtained from a nucleotide sequence database, including but not limited to NCBI, BLAST, EMBL-EBI, GenBank, Ensembl, EuPathDB, The Human Microbiome Project, Pathogen Portal, RDP, SILVA, GREENGENES, EBI Metagenomics, EcoCyc, PATRIC, TBDB, PlasmoDB, the Microbial Genome Database (MBGD), and / or the Microbial Rosetta Stone Database. See, for example, Zhulin, 2015, “Databases for Microbiologists,” J Bacteriol 197:2458-2467, doi:10.1128 / JB.00330-15; Uchiyama et al., 2019, “MBGD update 2018: microbial genome database based on hierarchical orthology relations covering closely related and distantly related comparisons,” Nuc Res., 47 (D1), D382-D389, doi: 10.1093 / nar / gky1054; and Ecker et al., 2005, “The Microbial Rosetta Stone Database: A compilation of global and emerging infectious microorganisms and bioterrorist threat agents,” BMC Microbiology 5, 19, doi: 10.1186 / 1471-2180-5-19; each of which is hereby incorporated by reference herein in its entirety.

[0158] In some embodiments, one or more reference sequences in the set of reference sequences is obtained from a protein sequence database, including but not limited to Reference Proteomes, UniProtKB, SwissProt, PDB, AlphaFold, Ensembl, MEROPS, Quest for Orthologs, ChEMBL, ENA, GenBank, DDBJ, NCBI, RefSeq, Vectorbase, WormBase ParaSite, TrEMBL, and / or BFD. Reference sequence databases are further described, for example, in The UniProt Consortium, “UniProt: the universal protein knowledgebase in 2021,” Nucleic Acids Research, 2021, Vol. 49, Database issue, D480-D489; Jumper et al., “Highly accurate protein structure prediction with AlphaFold,” Nature, 2021, Vol. 596, 583; and Steinegger and Soding, “Clustering huge protein sequence sets in linear time,” Nature Comm, 2018, 9:2542, each of which is hereby incorporated herein by reference in its entirety.

[0159] In some embodiments, one or more reference sequences in the set of reference sequences is a protein sequence that is translated from a nucleic acid sequence. For example, in some embodiments, a protein sequence can be translated from a nucleic acid sequence selected from any of the nucleotide sequence databases disclosed herein.

[0160] In some embodiments, one or more reference sequences in the set of reference sequences is a nucleic acid sequence or protein sequence that is selected, translated, and / or reverse-translated from one or more antimicrobial resistance databases, including but not limited to the National Database of Antibiotic Resistant Organisms (NDARO), the Comprehensive Antibiotic Resistance Database (CARD), ResFinder, PointFinder, ARG-ANNOT, ARGs-OSP, PlasmoDB, the Mycology Antifungal Resistance Database (MARDy), DBDiaSNP, the HIV Drug Resistance Database, and / or the Virus Pathogen Resource (ViPR).

[0161] In some embodiments, the set of reference sequences comprises polynucleotide sequences reverse-translated from amino acid sequences. In some embodiments, the reverse-translating uses a non-degenerate code comprising a single codon for each amino acid.

[0162] In this context, translation refers to the process of using the codon code to determine an amino acid sequence from a nucleotide sequence. The standard codon code is degenerate, such that multiple three-nucleotide codons encode the same amino acid. As such, reverse-translation often produces a variety of possible sequences that could encode a particular amino acid sequence. In some embodiments, to simplify this process, reverse-translation can use a non-degenerate code, such that each amino acid is only represented by a single codon. For example, in the standard DNA codon system, phenylalanine is encoded by “TTT” and “TTC.” A non-degenerate code would only associate one of the codons with phenylalanine. A sequencing read (e.g., a reference sequence and / or a sample sequence) can be compared to this non-degenerate, reverse-translated sequence by any of the methods described herein. Furthermore, the sequencing read can be translated into all six reading-frames and reverse-translated using the same non-degenerate code to generate six polynucleotides that do not include alternate codons prior to comparing. By reverse-translating a reference amino acid sequence and comparing it to sequencing reads translated then reverse-translated using the same reverse-translation code, nucleic acid sequences can be analyzed in the protein space.

[0163] In some embodiments, a respective reference sequence in the set of reference sequences is all or a portion of a reference genome. In some embodiments, a respective reference sequence in the set of reference sequences is all or a portion of a reference genome for an organism, such as a subject or a microorganism. In some implementations, reference genomes include any of the embodiments disclosed herein (see, for example, “Definitions: Reference genomes,” above).

[0164] In some embodiments, the set of reference sequences comprises reference sequences of one or more of a variety of different taxonomic groups. For instance, in some embodiments, the set of reference sequences comprises reference sequences of one or more of bacteria, archaea, chromalveolata, viruses, fungi, plants, fish, amphibians, reptiles, birds, mammals, and humans.

[0165] In some embodiments, the set of reference sequences consists of sequences from a reference individual or a reference sample source. Examples of reference individual genomes include, for example, a maternal genome, a paternal genome, or the genome of a non-cancerous tissue sample. Examples of reference individuals or sample sources are the human genome, the mouse genome, or the genomes of particular serovars, genovars, strains, variants or otherwise characterized types of bacteria, archaea, viruses, phages, fungi, and parasites. In some implementations, the set of reference sequences consists of sequences from one or more reference individuals or one or more reference sample sources (e.g., 10 or more, 100 or more, 1000 or more, 10,000 or more, 100,000 or more, or 1,000,000 or more), and each reference sequence in the set of reference sequences is associated with its corresponding individual or sample source.

[0166] In some embodiments, the set of reference sequences comprises k-mers having one or more mutations with respect to known polynucleotide sequences, such that a plurality of variants of the known sequences are represented in the set of reference sequences. Such variants can include different alleles found in a population of reference sample sources, such as SNPs, indels, microdeletions, microexpansions, common rearrangements, genetic recombinations, and / or prophage insertion sites, and can contain information on their relative abundance compared to sequences not having the one or more mutations.

[0167] In some implementations, the set of reference sequences is a plurality of reference k-mers (e.g., a reference k-mer database), constructed from one or more reference sequences or reference genomes (e.g., from one or more organisms).

[0168] In some embodiments, the set of reference sequences includes one or more reference sequences associated with a condition (e.g., as described below in the section entitled “Samples and sequences”), including but not limited to genetic markers for drug resistance, pathogenicity, and disease. A variety of disease-associated markers are known, which can be represented in the reference database.

[0169] In some embodiments, the set of reference sequences comprises at least 100, at least 500, at least 1000, at least 5000, at least 10,000, at least 50,000, at least 100,000, at least 500,000, at least 1 million, at least 2 million, at least 5 million, or at least 10 million reference sequences. In some embodiments, the set of reference sequences comprises no more than 100 million, no more than 10 million, no more than 1 million, no more than 500,000, no more than 100,000, no more than 10,000, no more than 1000, or no more than 500 reference sequences. In some embodiments, the set of reference sequences consists of from 100 to 1000, from 200 to 1000, from 500 to 5000, from 5000 to 50,000, from 10,000 to 100,000, from 100,000 to 500,000, from 100,000 to 1 million, from 1 million to 50 million, or from 10 million to 100 million reference sequences. In some embodiments, the set of reference sequences falls within another range starting no lower than 100 reference sequences and ending no higher than 100 million reference sequences.

[0170] In some embodiments, the set of reference sequences comprises 10,000 or more reference sequences, 100,000 or more reference sequences, 1×106 or more reference sequences, or 1×107 or more reference sequences.

[0171] In some embodiments, the set of reference sequences includes a number of reference sequences that is at least as high as a number of sample sequences obtained for a plurality of analytes from a sample to be compared and assigned to one or more reference sequences in the set of reference sequences. In some embodiments, the set of reference sequences includes a number of reference sequences that is greater than a number of sample sequences obtained for a plurality of analytes from a sample to be compared and assigned to the set of reference sequences. For example, In some embodiments, the set of reference sequences includes ten times or more, 100 times or more, 1000 times or more, 100000 times or more, 1×106 times or more, or 1×107 times or more reference sequences than N reference sequences, where N is a number of sample sequences for a plurality of analytes (e.g., nucleic acids or proteins) from the sample.

[0172] In some embodiments, the set of reference sequences includes a number of reference sequences that is less than a number of sample sequences obtained for a plurality of analytes from a sample to be compared and assigned to the set of reference sequences.

[0173] Reference sequences suitable for use in the present disclosure are described elsewhere herein (see, for example, the section entitled “Definitions: Reference sequence,” above); and in U.S. Pat. No. 11,335,436 entitled METHODS AND SYSTEMS FOR MULTIPLE TAXONOMIC CLASSIFICATION,” which is hereby incorporated herein by reference in its entirety.

[0174] In some embodiments, the plurality of k-mers comprises at least 5, at least 10, at least 50, at least 100, at least 500, at least 1000, at least 5000, at least 10,000, or at least 100,000 k-mers. In some embodiments, the plurality of k-mers comprises no more than 500,000, no more than 100,000, no more than 10,000, no more than 5000, no more than 1000, or no more than 100 k-mers. In some embodiments, the plurality of k-mers consists of from 10 to 100, from 50 to 500, from 200 to 1000, from 500 to 4000, from 2000 to 10,000, from 4000 to 30,000, or from 20,000 to 500,000 k-mers. In some embodiments, the plurality of k-mers falls within another range starting no lower than 5 k-mers and ending no higher than 500,000 k-mers.

[0175] Accordingly, referring again to Block 202, in some embodiments, the plurality of k-mer weights comprises a respective k-mer weight for each respective k-mer in the plurality of k-mers, for each respective reference sequence in the set of reference sequences. In some such embodiments, the plurality of k-mer weights comprises a number of k-mer weights that is at least the number of reference sequences in the set of reference sequences multiplied by the number of k-mers in the plurality of k-mers. In some such embodiments, the plurality of k-mer weights comprises a number of k-mer weights that is less than or equal to the number of reference sequences in the set of reference sequences multiplied by the number of k-mers in the plurality of k-mers.

[0176] In some embodiments, each respective k-mer in the plurality of k-mers has the same or a different length from any other k-mer in the plurality of k-mers.

[0177] In some embodiments, a respective k-mer in the plurality of k-mers has a length of k residues, where k is about or more than about 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 25, 30, 35, 40, 45, 50, 75, 100, or more in length. In some embodiments, a respective k-mer in the plurality of k-mers has a length of k residues, where k is about or less than about 200, 100, 50, 30, 25, 20, 15, 10, or fewer in length. In some embodiments, a respective k-mer in the plurality of k-mers has a length of k residues, where k is from about 3 to about 13, from about 5 to about 25, from about 3 to about 30, from about 7 to about 99, or from about 3 to about 99 in length. In some embodiments, k falls within another range starting no lower than about 3 and ending no higher than about 200.

[0178] In some embodiments, a k-mer weight is a likelihood. For example, as described above, in some embodiments, a respective k-mer weight, for a respective k-mer in the plurality of k-mer weights, for a respective reference sequence in the set of reference sequences, is a likelihood that the respective k-mer originates from the respective reference sequence.

[0179] Referring to Block 204, in some embodiments, a k-mer weight in the plurality of k-mer weights relates a count of a particular k-mer within a particular reference sequence, a count of the particular k-mer among a group of sequences comprising the reference sequence, and a count of the particular k-mer among all reference sequences in the set of reference sequences. Referring to Block 206, the corresponding k-mer weight for the respective k-mer (Ki) for the respective reference sequence (refi) is calculated as:KWrefi=Cref(Ki) / Cdb(Ki)Cdb(Ki) / Total⁢ kmer⁢ countwhere, KWrefi is the corresponding k-mer weight for the respective k-mer, Cref(Ki) is a count of a number of occurrences of the respective k-mer (Ki) in the respective reference sequence (refi), Cdb(Ki) is a count of a number of occurrences of the respective k-mer (Ki) in the set of reference sequences, and Total kmer count is a number of k-mers of length k-residue in the set of reference sequences.In some embodiments, the corresponding k-mer weight for the respective k-mer (Ki) is calculated specifically with respect to the set of reference sequences. In some embodiments, the corresponding k-mer weight for a respective k-mer is specific to a respective subset of reference sequences in the set of reference sequences, and / or to a respective set of reference sequences in a plurality of sets of reference sequences.

[0181] For instance, in some cases, when a set of reference sequences comprises reference sequences from a plurality of taxa, each reference sequence can be associated with a measure of likelihood, or k-mer weight, that a k-mer within the reference sequence originates from a taxon within a plurality of taxa. As a non-limiting example, a set of reference sequences can comprise sequences from multiple species of canines, and the k-mer weight can be calculated by relating the count of a given k-mer in all canine sequences to its count in the entire database, which includes other taxa. In some examples, the k-mer weight measuring how likely it is that a k-mer originates from a specific taxon is calculated by defining Cref(Ki) in the above equation as a function that returns the total count of Ki in a particular taxon.

[0182] Accordingly, in some embodiments, the set of reference sequences comprises one or more subsets of reference sequences, where each respective subset of reference sequences corresponds to a respective taxon in a plurality of taxa.

[0183] K-mers suitable for use in the present disclosure are further described, for example, in U.S. Pat. No. 11,335,436 entitled METHODS AND SYSTEMS FOR MULTIPLE TAXONOMIC CLASSIFICATION,” which is hereby incorporated herein by reference in its entirety.

[0184] In some embodiments, the set of reference sequences comprises one or more subsets of reference sequences, where each respective subset of reference sequences corresponds to a respective biological characteristic in the one or more biological characteristics. For instance, in some embodiments, for each respective molecular function, biological process or cellular component in the plurality of molecular functions, biological processes or cellular components, the set of reference sequences includes an independent plurality of reference sequences.

[0185] Ontological terms or biological characteristics are described above, as in, e.g., the sections entitled “Definitions: Biological process,”“Definitions: Molecular function,” and “Definitions: Cellular component.” In some embodiments, a respective ontological term in the one or more ontological terms is selected from the list of Gene Ontology (GO) terms, including biological processes, molecular functions, and / or cellular components, as described in The Gene Ontology Handbook, Methods in Molecular Biology, eds., Dessimoz and Skunca, 2017, Human Press, Springer Science+Business Media LLC New York, which is hereby incorporated by reference. For instance, in some embodiments, a respective reference sequence in the set of reference sequences is annotated with a term that provides knowledge for the description, analysis, classification, and / or organization of the reference sequence. In some embodiments, an ontological term is applied to a respective reference sequence based on published literature databases and / or based on experimental data. In some embodiments, a respective reference sequence is annotated with more than one ontological terms or biological characteristics.

[0186] Non-limiting examples of Gene Ontology terms are illustrated in FIG. 5, including Mitigation of host immune response by virus; Mitigation of host defenses by symbiont; Mitigation of host defenses by virus; Regulation of defense response to virus by virus; Response to host; Response to host defenses; Response to defenses of other organism; Modulation by symbiont of host cellular process; Modulation by symbiont of host process; Modulation of process of other organism involved in symbiotic interaction; Modulation of process of other organism; Modulation by virus of host cellular process; Negative regulation of defense response; Modulation by virus of host process; Chemotaxis; Taxis; Cell chemotaxis; Regulation of defense response; Mast cell degranulation; Cytokine-mediated signaling pathway; Innate immune response; Regulation of leukocyte activation; Interleukin-17 receptor activity; Activation of innate immune response; Positive regulation of innate immune response; and Positive regulation of defense response.

[0187] In some embodiments, the one or more biological characteristics is 10 or more, 100 or more, 1000 or more, 10,000 or more, 100,000 or more, 1×106 or more, or 1×107 or more biological characteristics. In some embodiments, the one or more biological characteristics is no more than 1×108, no more than 1×107, no more than 1×106, no more than 100,000, no more than 10,000, no more than 1000, or no more than 100 biological characteristics. In some embodiments, the one or more biological characteristics consists of from 10 to 10,000, from 100 to 5000, from 50 to 400, from 2000 to 10,000, from 5000 to 20,000, from 10,000 to 1×106, from 500,000 to 1×107, from 1×106 to 1×107, or from 1×106 to 1×108 biological characteristics. In some embodiments, the one or more biological characteristics falls within another range starting no lower than 10 biological characteristics and ending no higher than from 1×108 biological characteristics.

[0188] In some embodiments, the one or more biological characteristics is a plurality of molecular functions, biological processes or cellular components comprising 100 or more, 1000 or more, 10,000 or more, 100,000 or more, 1×106 or more, or 1×107 or more molecular functions, biological processes or cellular components.

[0189] In some embodiments, each reference sequence in the set of reference sequences is independently associated with one or more biological characteristics (e.g., one or more molecular functions, biological processes, or cellular components).

[0190] In some embodiments, each reference sequence in the set of reference sequences is independently associated with at least 1, at least 2, at least 3, at least 5, at least 10, at least 15, at least 20, at least 30, or at least 50 biological characteristics. In some embodiments, each reference sequence in the set of reference sequences is independently associated with no more than 100, no more than 50, no more than 20, no more than 10, no more than 5, or no more than 3 biological characteristics. In some embodiments, each reference sequence in the set of reference sequences is independently associated with a range of biological characteristics consisting of from 1 to 5, from 3 to 10, from 8 to 30, from 1 to 20, or from 10 to 100 biological characteristics. In some embodiments, each reference sequence in the set of reference sequences is independently associated with another range of biological characteristics starting no lower than 1 biological characteristic and ending no higher than 100 biological characteristics.

[0191] In some embodiments, one or more respective reference sequences in the plurality of reference sequences is not associated with any biological characteristics in the one or more biological characteristics. In some implementations, an absence of assignment to any known biological characteristics is considered in and of itself an biological characteristic (e.g., a null biological characteristic). Accordingly, in some embodiments, the one or more biological characteristics includes a null biological characteristic. In some such embodiments, one or more respective reference sequences in the plurality of reference sequences is associated with a null biological characteristic.

[0192] For example, in some embodiments, one or more respective reference sequences in the plurality of reference sequences is not associated with any molecular functions, biological processes, or cellular components. In some embodiments, one or more respective reference sequences in the plurality of reference sequences is associated with a null molecular function, null biological process, and / or null cellular component.Samples and Sequences.

[0193] In some embodiments, the sample is obtained from any of the sample sources disclosed herein (e.g., a clinical sample, a diagnostic sample, an environmental sample, a consumer quality sample, a food sample, a biological product sample, a microbial testing sample, a tumor sample, a forensic sample, a laboratory or hospital sample, an industrial sample, an air sample, and / or a water sample).

[0194] In some embodiments, the sample is obtained from a biological subject. For example, in some embodiments, the subject is a human (e.g., a patient). In some embodiments, the sample is obtained from any tissue, organ or fluid from the subject. In some embodiments, a plurality of samples is obtained from the subject (e.g., a plurality of replicates, a plurality of conditions (e.g., healthy or diseased), and / or a plurality of sources within the subject (e.g., different tissues, organs, and / or fluids)).

[0195] In some embodiments, the sample is obtained from a human or animal subject.

[0196] In some embodiments, the sample comprises one or more organisms. In some embodiments, the one or more organisms include one or more microorganisms. Microorganisms contemplated for use in the present disclosure are further described, for example, in the section entitled “Definitions: Microorganism,” above). In some embodiments, the one or more microorganisms includes an infectious agent. In some embodiments, the infectious agent is a bacterium, a virus, a protozoan, a fungus or a helminth.

[0197] In some such embodiments, the sample comprises analytes from the one or more organisms (e.g., microorganisms) within the subject. In some embodiments, the sample comprises analytes from a host organism (e.g., the subject).

[0198] For example, in some implementations, the sample represents a gut microbiome of a subject. In some embodiments, the sample is a fecal sample collected from the subject. In some embodiments, the sample is a body fluid, blood, or swab sample collected from the subject.

[0199] In some embodiments, the sample is characterized by one or more conditions. Conditions include, but are not limited to, one or more health conditions, diseases, tissue type, organs, cell populations, organisms, infections, contamination, and / or any presence, absence, stage, severity, amount, or status thereof. In some embodiments, a condition is any known characteristic of the sample, including but not limited to a sample source, a taxonomic group, a particular species, an expression profile, a particular gene, an associated phenotype such as likely disease progression, drug resistance or pathogenicity, increased or reduced predisposition to disease, and / or other characteristic.

[0200] In some embodiments, a respective condition in the one or more conditions is presence or absence of an organism in the sample. In some embodiments, a respective condition in the one or more conditions is presence or absence of a microorganism in the sample.

[0201] In some embodiments, a respective condition refers to any entity that can be represented by nucleic acid or protein sequences in a sample, such as a presence or absence of a cell, an organism, a microorganism, a tissue type, a cell type, and / or a tissue or cell origin. In some embodiments, a respective condition refers to any number or size of a respective entity, such as a presence or absence of a population of cells, a population of organisms, a population of microorganisms, a tissue, and / or an organ. In some embodiments, a respective condition is a classification of a respective entity, such as a characteristic of a cell or cells that can be determined using nucleic acid or protein sequences. For example, in some embodiments, a respective condition is a cancer condition, such as a presence or absence of cancer, a cancer stage, a cancer type, a tissue of origin, and / or a metastatic status (e.g., where the sample source is an individual organism). In another example, a respective condition is presence or absence of a population of cancer cells. In some embodiments, a respective condition is presence, absence, stage, and / or metastatic status of a tumor. In some embodiments, a respective condition is a state of pregnancy and / or presence or absence of a fetus (e.g., where the sample source is a pregnant individual). In some embodiments, a respective condition is a presence or absence of a population of activated cells (e.g., lymphocytes), cells undergoing a biological process (e.g., cell division, differentiation, activation of functional pathways, etc.), and / or cells undergoing a treatment (e.g., a chemical, biological and / or radiological treatment).

[0202] In some embodiments, a respective condition in the one or more conditions is a disease condition (e.g., an infectious disease and / or a disease caused by a pathogenic microorganism). In some embodiments, the disease condition is influenza, common cold, measles, rubella, chickenpox, norovirus, polio, infectious mononucleosis (mono), herpes simplex virus (HSV), human papillomavirus (HPV), human immunodeficiency virus (HIV), viral hepatitis (e.g., hepatitis A, B, C, D, and / or E), viral meningitis, West Nile Virus, rabies, Ebola, strep throat, bacterial urinary tract infections (UTIs) (e.g., coliform bacteria), bacterial food poisoning (e.g., E. coli, Salmonella, and / or Shigella), bacterial cellulitis (e.g., Staphylococcus aureus (MRSA)), bacterial vaginosis, gonorrhea, chlamydia, syphilis, Clostridium difficile (C. diff), tuberculosis, whooping cough, pneumococcal pneumonia, bacterial meningitis, Lyme disease, cholera, botulism, tetanus, anthrax, vaginal yeast infection, ringworm, athlete's foot, thrush, aspergillosis, histoplasmosis, Cryptococcus infection, fungal meningitis, malaria, toxoplasmosis, trichomoniasis, giardiasis, tapeworm infection, roundworm infection, pubic and head lice, scabies, leishmaniasis, and / or river blindness. In some embodiments, the sample is obtained from a human with a viral respiratory disease. In some embodiments, the sample is obtained from a human with a coronavirus infection. In some embodiments, the biological sample is obtained from a human with a SARS-CoV-2 infection.

[0203] In some embodiments, the disease condition is a cancer. In some embodiments, the cancer is ovarian cancer, cervical cancer, uveal melanoma, colorectal cancer, chromophobe renal cell carcinoma, liver cancer, endocrine tumor, oropharyngeal cancer, retinoblastoma, biliary cancer, adrenal cancer, neural cancer, neuroblastoma, basal cell carcinoma, brain cancer, breast cancer, non-clear cell renal cell carcinoma, glioblastoma, glioma, kidney cancer, gastrointestinal stromal tumor, medulloblastoma, bladder cancer, gastric cancer, bone cancer, non-small cell lung cancer, thymoma, prostate cancer, clear cell renal cell carcinoma, skin cancer, thyroid cancer, sarcoma, testicular cancer, head and neck cancer (e.g., head and neck squamous cell carcinoma), meningioma, peritoneal cancer, endometrial cancer, pancreatic cancer, mesothelioma, esophageal cancer, small cell lung cancer, Her2 negative breast cancer, ovarian serous carcinoma, HR+ breast cancer, uterine serous carcinoma, uterine corpus endometrial carcinoma, gastroesophageal junction adenocarcinoma, gallbladder cancer, chordoma, and / or papillary renal cell carcinoma.

[0204] In some embodiments, a respective condition in the one or more conditions is an absence of a disease condition. In some embodiments, a respective condition in the one or more conditions is a healthy or normal condition (e.g., absence of any disease conditions).

[0205] In some embodiments, the sample is obtained from a patient having a respective health condition or disease. In some embodiments, the sample is obtained from a patient that has been exposed to one or more external agents, such as an infectious agent and / or a drug.

[0206] In some embodiments, the sample is obtained from a plurality of samples, where each sample is obtained from a same or different type of sample source.

[0207] For example, in some implementations, the sample is obtained from a plurality of samples, where each sample is obtained from a subject in a cohort of subjects. Subject cohorts and samples obtained therefrom are further described elsewhere herein. See, for example, methods 300 and 400 with reference to FIG. 3 and FIG. 4, respectively, and the section entitled “Treatment discovery,” below.

[0208] Accordingly, in some embodiments, the sample is a first sample obtained from a plurality of samples. In some embodiments, the sample source is a first subject in a cohort of subjects.

[0209] Other suitable embodiments for samples and subjects contemplated for use in the present disclosure are further described, for example, in PCT Application No. PCT / US22 / 15355, entitled “SYSTEMS AND METHODS FOR QUANTIFICATION OF ORGANISMS,” filed Feb. 4, 2022, which is hereby incorporated herein by reference in its entirety.

[0210] In some embodiments, the method 200 comprises providing a set of sample sequences for a plurality of analytes from the sample. For example, referring to Block 208, the method includes providing a set of sample sequences 142 for a plurality of nucleic acids or proteins from the sample 140, where the set of sample sequences comprises N sequences. In some embodiments, N is a positive integer of 5,000 or greater. In some embodiments, each sample sequence in the set of sample sequences has a length of 30 residues or more.

[0211] Analytes suitable for use in the present disclosure include any of the embodiments described herein, and any substitutions, modifications, additions, deletions, and / or combinations thereof, as will be apparent to one skilled in the art. See, for example, the section entitled “Definitions: Analyte,” above. For example, in some embodiments, each respective analyte in the plurality of analytes is a nucleic acid molecule or a protein.

[0212] In some embodiments, each respective analyte in the plurality of analytes from the sample is RNA or DNA. In some embodiments, the sample comprises or consists essentially of RNA. In some embodiments, the sample comprises or consists essentially of DNA. In some embodiments, the sample comprises or consists essentially of protein. In some embodiments, the plurality of analytes from the sample are included within cells. Alternatively, or in addition, in some embodiments, the plurality of analytes from the sample are not included within cells (e.g., cell-free nucleic acid molecules).

[0213] In some embodiments, the sample source is a subject, and the plurality of analytes originates from the subject. In some embodiments, the sample source is a subject, and the plurality of analytes originates from a source other than the subject (e.g., a contaminating or infecting organism). In some such embodiments, the plurality of analytes originates from one or more microorganisms in the sample from the subject.

[0214] Analytes can be obtained by any means known in the art, as described, for example, in PCT Application No. PCT / US22 / 15355, entitled “SYSTEMS AND METHODS FOR QUANTIFICATION OF ORGANISMS,” filed Feb. 4, 2022; PCT Application No. PCT / US19 / 41447, entitled “METHODS AND SYSTEMS FOR PROCESSING SAMPLES,” filed Jul. 11, 2019; and U.S. application Ser. No. 17 / 259,518, entitled “METHODS AND SYSTEMS FOR PROCESSING SAMPLES,” filed Sep. 17, 2021, each of which is hereby incorporated herein by reference in its entirety. For instance, in some embodiments, the sample is collected and prepared for obtaining the set of sample sequences. In some embodiments, the sample undergoes a wet-lab processing procedure (e.g., lysed, fixed, imaged, dissociated, extracted, used for library preparation, etc.) prior to obtaining the set of sample sequences.

[0215] In some embodiments, the plurality of analytes comprise nucleic acids, and the method includes performing a nucleic acid sequencing to obtain the set of sample sequences. In some such embodiments, the set of sample sequences is a plurality of nucleic acid sequences.

[0216] Various sequencing schemes can be employed. For example, in some embodiments, the sequencing is sequencing by synthesis, sequencing by hybridization, sequencing by ligation, nanopore sequencing, sequencing using nucleic acid nanoballs, pyrosequencing, single molecule sequencing (e.g., single molecule real time sequencing), single cell / entity sequencing, massively parallel signature sequencing, polony sequencing, combinatorial probe anchor synthesis, SOLiD sequencing, chain termination (e.g., Sanger sequencing), ion semiconductor sequencing, tunneling currents sequencing, heliscope single molecule sequencing, sequencing with mass spectrometry, transmission electron microscopy sequencing, RNA polymerase-based sequencing, or any other method, or a combination thereof. In some embodiments, the sequencing is a sequencing technology like Heliscope (Helicos), SMRT technology (Pacific Biosciences) or nanopore sequencing (Oxford Nanopore) that allows direct sequencing of single molecules without prior clonal amplification. In some embodiments, the sequencing is performed with or without target enrichment. In some embodiments, the sequencing is Helicos True Single Molecule Sequencing (tSMS) (e.g., as described in Harris T. D. et al., Science 320:106-109

[2008] ). In some embodiments, the sequencing is 454 sequencing (Roche) (e.g., as described in Margulies, M. et al., Nature 437:376-380 (2005)). In some embodiments, the sequencing is SOLiD™ technology (Applied Biosystems). In some embodiments, the sequencing is single molecule, real-time (SMRT™) sequencing technology of Pacific Biosciences. In some embodiments, the systems and methods described herein are used with any sequencing platform, including, but not limited to, Illumina NGS platforms, Ion Torrent (Thermo) platforms, and GeneReader (Qiagen) platforms.

[0217] In some embodiments, the sequencing is performed as described in PCT Application No. PCT / US2019 / 060915, entitled “Directional Targeted Sequencing,” filed Nov. 12, 2019, which is hereby incorporated by reference herein in its entirety.

[0218] In some embodiments, the plurality of analytes comprise protein analytes, and the method includes performing a protein sequencing to obtain the set of sample sequences. In some such embodiments, the set of sample sequences is a plurality of protein or polypeptide sequences.

[0219] Generally, protein sequencing determines the amino acid sequence of all or a portion of a polypeptide. Protein sequencing methods include mass spectrometry and Edman degradation.

[0220] In some embodiments, a respective sample sequence in the set of sample sequences is obtained by a translation of a nucleic acid sequence to a protein or polypeptide sequence.

[0221] Methods for translating nucleic acid sequencing reads are described herein (see, for example, the section entitled “K-mer weights,” above). In some implementations, the process comprises translation of one or more reading frames, such as all 6 reading frames. Comparison can be performed at the level of amino acids, where the translated sequencing read is compared to a set of reference amino acid sequences. Alternatively or additionally, in some implementations, the translated sequencing reads are reverse-translated, and compared to reference sequences derived from reverse-translating reference amino acid sequences. Methods for translating and reverse-translating are described herein and include reverse-translating using a non-degenerate code.

[0222] In some embodiments, a sample sequence in the set of sample sequences is translated to an amino acid sequence and then reverse-translated using the non-degenerate code prior to comparison with the set of reference sequences.

[0223] Suitable embodiments for sequencing, translation, and / or reverse-translation of analytes that are contemplated for use in the present disclosure are further described, for example, in U.S. Pat. No. 11,335,436 entitled METHODS AND SYSTEMS FOR MULTIPLE TAXONOMIC CLASSIFICATION,” which is hereby incorporated herein by reference in its entirety.

[0224] In some embodiments, the set of sample sequences comprises N sequences, where N is a positive integer of at least 100, at least 1×103, at least 1×104, at least 1×105, 1×106, at least 1×107, at least 1×108, or at least 2×108. In some embodiments, N is a positive integer of at least 1000, at least 2000, at least 3000, at least 4000, at least 5000, at least 6000, at least 7000, at least 8000, at least 9000, at least 10,000, at least 50,000, at least 100,000, at least 500,000, at least 1 million, at least 2 million, at least 3 million, at least 4 million, at least 5 million, at least 6 million, at least 7 million, at least 8 million, at least 9 million, or more. In some embodiments, N is a positive integer of at least 1×107, at least 2×107, at least 3×107, at least 4×107, at least 5×107, at least 6×107, at least 7×107, at least 8×107, at least 9×107, at least 1×108, at least 2×108, at least 3×108, at least 4×108, at least 5×108, at least 6×108, at least 7×108, at least 8×108, at least 9×108, at least 1×109, or more.

[0225] In some embodiments, the set of sample sequences comprises N sequences, where N is a positive integer of no more than 5×109, no more than 1×109, no more than 1×108, no more than 1×107, no more than 5×106, no more than 2×106, no more than 1×106, no more than 500,000, no more than 100,000, no more than 50,000, no more than 30,000, no more than 20,000, no more than 10,000, no more than 9000, no more than 8000, no more than 7000, no more than 6000, no more than 5000, no more than 4000, no more than 3000, no more than 2000, no more than 1000, or less. In some embodiments, N is a positive integer between 1000 and 5000, between 1000 and 10,000, between 2000 and 20,000, between 5000 and 50,000, between 10,000 and 100,000, between 100,000 and 500,000 between 10,000 and 500,000, between 500,000 and 1 million, between 1 million and 30 million, between 30 million and 80 million, or between 10 million and 500 million. In some embodiments, N is a positive integer that falls within another range starting no lower than 1000 sequence reads and ending no higher than 5×109.

[0226] In some embodiments, each sample sequence in the set of sample sequences has a length of 5 residues or more, 10 residues or more, 15 residues or more, 20 residues or more, 25 residues or more, 30 residues or more, 35 residues or more, 40 residues or more, 45 residues or more, 50 residues or more, 60 residues or more, 80 residues or more, 100 residues or more, 200 residues or more, or 300 residues or more. In some embodiments, each sample sequence in the set of sample sequences has a length of no more than 500 residues, no more than 300 residues, no more than 200 residues, no more than 100 residues, no more than 50 residues, no more than 30 residues, or no more than 20 residues. In some embodiments, each sample sequence in the set of sample sequences has a length of from 5 to 50 residues, from 10 to 100 residues, from 20 to 80 residues, from 40 to 200 residues, from 80 to 500 residues, or from 100 to 300 residues. In some embodiments, each sample sequence in the set of sample sequences has a length that falls within another range starting no lower than 5 residues and ending no higher than 500 residues.

[0227] In some embodiments, the set of sample sequences is obtained in the form of a sequence read file.

[0228] In some embodiments, where the sample is obtained from a plurality of samples, each respective sample in the plurality of samples is used to obtain a respective set of sample sequences for a plurality of nucleic acids or proteins from the sample, thereby obtaining a plurality of sets of sample sequences. In some such embodiments, a respective set of sample sequences in the plurality of sets of sample sequences includes any of the embodiments for the set of sample sequences disclosed above, including analytes, sequencing, methods of obtaining sample sequences, number of sample sequences, and / or size of sample sequences. Suitable embodiments for each respective set of sample sequences in a plurality of sets of sample sequences are further described, for example, in methods 300 and 400 with reference to FIG. 3 and FIG. 4, respectively, and in the section entitled “Treatment discovery,” below.

[0229] Moreover, in some implementations, any embodiment disclosed herein with respect to a first respective sample, a first respective sample source, a first respective subject, and / or a first respective set of sample sequences for a first respective sample, is contemplated for use with a second, third, fourth, or any subsequent respective sample, sample source, subject, or set of sample sequences, or any substitutions, modifications, additions, deletions, and / or combinations thereof, as will be apparent to one skilled in the art. In some implementations, a first respective sample source, a first respective subject, and / or a first respective set of sample sequences for a first respective sample, has the same or different characteristics from any second, third, fourth, or any subsequent respective sample, sample source, subject, or set of sample sequences disclosed herein.

[0230] Samples and sample sequences, and methods of obtaining the same, are further disclosed in PCT Application No. PCT / US22 / 15355, entitled “SYSTEMS AND METHODS FOR QUANTIFICATION OF ORGANISMS,” filed Feb. 4, 2022; and U.S. Pat. No. 11,335,436 entitled METHODS AND SYSTEMS FOR MULTIPLE TAXONOMIC CLASSIFICATION,” each of which is hereby incorporated herein by reference in its entirety.Sequence Comparison.

[0231] Referring to Block 210, the method further includes, for each respective sample sequence 142 in the set of sample sequences, (i) performing a sequence comparison between the respective sample sequence and the set of reference sequences 122, where the comparison comprises determining, for each respective reference sequence in the set of reference sequences, a respective set of k-mers 128 within the respective sample sequence that are also found in the respective reference sequence by comparison of each k-mer in the respective sample sequence read of length k to each respective k-mer in the plurality k-mers. The method further comprises (ii) assigning the respective sample sequence to a particular reference sequence 146 in the set of reference sequences based on the k-mer weights 130, in the plurality of k-mer weights, for the respective set of k-mers within the sample sequence that are also found in the particular reference sequence.

[0232] In some embodiments, the performing the sequence comparison is performed with a computer.

[0233] In general, comparing k-mers in a sample sequence to a reference sequence comprises counting k-mer matches between the two. In some embodiments, the stringency for identifying a match can vary. For example, a match can be an exact match, in which the nucleotide sequence of the k-mer from the sample sequence is identical to the nucleotide sequence of the k-mer from the reference sequence. Alternatively, a match can be an incomplete match, where 1, 2, 3, 4, 5, 10, or more mismatches are permitted.

[0234] For comparing each sample sequence to each reference sequence, weights derived from the set of reference sequences (e.g., reference database-derived weights) for a plurality of k-mers within a sample sequence can be added and compared to a threshold value. The threshold value can be specific to the collection of reference sequences in the set of reference sequences and can be selected based on a variety of factors, such as average read length and / or whether a specific biological characteristic (e.g., molecular function, biological process, and / or cellular component term) is to be identified as present in the sample. If the sum of k-mer weights for the reference sequence is above the threshold level, the sample sequence can be identified as corresponding to the reference sequence, and subsequently to any biological characteristics associated with the reference sequence. In some cases, the sample sequence is assigned to the reference sequence with the maximum sum of k-mer weights. In some implementations, the maximum sum of k-mer weights is applied to a threshold, where assignment to a respective reference sequence occurs when the maximum sum of k-mer weights satisfies the threshold (e.g., required to be above a threshold).

[0235] In the case of a tie, where a sample sequence has an equal likelihood of belonging to more than one reference sequence as measured by k-mer weight, the sample sequence can be assigned to the taxonomic lowest common ancestor (LCA) taking into account the sample sequence's total k-mer weight along each branch of the phylogenetic tree. In general, correspondence with a reference sequence, organism, or taxonomic group indicates that it was present in the sample. In general, a second taxonomic group is considered more specific than a first taxonomic group when the second taxonomic group is of a more specific hierarchical order. For instance, the first taxonomic group can be at the level of family, while the second taxonomic group is at the level of genus or species. Where the first taxonomic group is at the species level, the second taxonomic group can be at the level of a specific individual. As an illustrative example, a sequence can be identified as human in the first sequence comparison, and classification based on the second comparison can identify the particular human from which the sequence was derived, a process which can further involve comparison of groups of sequences.

[0236] Advantageously, the systems and methods of the present disclosure can be used to improve the performance of a system (e.g., a system 100) in associating a sample from a sample source with one or more biological characteristics, in performing microbiome-based treatment discovery, and / or in performing any other method disclosed herein. For example, in some implementations, computational resources used in the performance of a method disclosed herein can be substantially decreased relative to a conventional method, such as a method based on traditional sequence alignment. Particularly, in some implementations, the speed with which a plurality of sequences in a sample are identified may be substantially increased.

[0237] Referring to Block 212, in some embodiments, the providing the set of sample sequences performs the sequence comparison between the respective sample sequence and the set of reference sequences at a rate of at least 10,000 sequence comparisons per minute, at least 100,000 sequence comparisons per minute, or at least 1×106 sequence comparisons per minute.

[0238] In some embodiments, the sequence comparison is performed between the respective sample sequence and the set of reference sequences at a rate of at least 20,000 sequence comparisons in less than 1.5 seconds. In some embodiments, the sequence comparison is performed between the respective sample sequence and the set of reference sequences at a rate of at least about 5000, at least about 10,000, at least about 20,000, at least about 50,000, at least about 100,000, at least about 500,000, at least about 1×106, at least about 2×106, at least about 3×106, at least about 4×106, at least about 5×106, at least about 1×107, at least about 1×108, or more than 1×108 sequence comparisons per minute.

[0239] In some embodiments, the assigning the respective sample sequence to a particular reference sequence maps (e.g., aligns) the respective sample sequence to the particular reference sequence.

[0240] In some embodiments, any other method known in the art for assigning and / or mapping (e.g., aligning) sample sequences to reference sequences can be used, as will be apparent to one skilled in the art.

[0241] In some embodiments, mapping is performed using a mapping (e.g., alignment) tool, including, but not limited to, BLAST, BLASR, BWA-MEM, PHRAP, CAP, ClustalW, T-Coffee, AMOS make-consensus, dynamic programming multiple sequence alignments (MSAs), DAMAPPER, NGMLR, GraphMap, Minimap, BGREAT, deBGA, and / or Velvet. In some embodiments, the mapping tool performs the mapping using a reference sequence (e.g., a reference genome). Other methods include BlastGraph to use BLAST mapping results to cluster alignments and perform comparative genomic analyses (as described in Ye et al., 2013, Bioinformatics 29(24):3222-3224), and / or GramTools to map short reads to a population reference graph (e.g., as described in Maciuca et al., 2016, on the Internet at dx.doi.org / 10.1101 / 059170). See also, Zerbino and Birney, “Velvet: Algorithms for de novo short read assembly using de Bruijn graphs,” Genome Reach 2008, 18:821-829.

[0242] As described above, in some embodiments, the mapping is performed using a k-mer alignment (e.g., a weighted k-mer alignment).

[0243] In some embodiments, the mapping is performed by mapping nucleic acid sample sequences (e.g., obtained from a sequencing of nucleic acid molecules) to one or more nucleic acid reference sequences in the set of reference sequences (e.g., a genomic and / or transcriptomic reference sequence).

[0244] In some embodiments, the mapping is performed by mapping polypeptide sequences (e.g., obtained protein sequencing and / or from a translation of one or more nucleotide sequences obtained from a sequencing of nucleic acid molecules) to one or more polypeptide reference sequences in the set of reference sequences (e.g., an amino acid sequence for a protein product).

[0245] In some embodiments, a nucleotide and / or polypeptide reference sequence corresponds to a microorganism. In some embodiments, a nucleotide and / or polypeptide reference sequence is obtained from a database (e.g., a microorganism database as disclosed herein).

[0246] Other methods of mapping sample sequences to reference sequences are possible, as will be apparent to one skilled in the art. See, for example, Roumpeka et al., 2017, “A Review of Bioinformatics Tools for Bio-Prospecting from Metagenomic Sequence Data,” Front. Genet. 8:23, doi: 10.3389 / fgene.2017.00023, which is hereby incorporated herein by reference in its entirety. In some embodiments, the sequencing, assigning, mapping, and / or analysis is performed using a software program (e.g., Explify), as described in Example 1 (Examples, below). See, for example, IDbyDNA, 2019, “Explify Software v1.5.0 User Manual,” Document No. TH-2019-200-006, pp. 1-44, which is hereby incorporated by reference herein in its entirety.

[0247] Suitable methods and embodiments for performing sequence comparisons and / or assigning sample sequences to reference sequences that are contemplated for use in the present disclosure are further described elsewhere herein, for example, in the section entitled “Definitions: Reference sequence,” above, and provided in, for instance, U.S. Pat. No. 11,335,436 entitled METHODS AND SYSTEMS FOR MULTIPLE TAXONOMIC CLASSIFICATION,” which is hereby incorporated herein by reference in its entirety.Counting Sample Sequences.

[0248] As described above, after comparing sample sequences in the set of sample sequences (e.g., sequence reads in a sequence file) to the set of reference sequences (e.g., a reference database), in which each respective reference sequence in the set of reference sequences is associated with one or more biological characteristics (e.g., molecular function, biological process, and / or cellular component terms), a process is performed in which, for each respective biological characteristic in at least a subset of the one or more biological characteristics, an indication of the amount of sample sequences that are assigned to a reference sequence associated with the respective biological characteristic is determined and correspondingly assigned to the respective biological characteristic. In some embodiments, the indication of the amount is the observed occurrence of the respective biological characteristic in the set of sample sequences.

[0249] In some embodiments, the indication of an amount of sample sequences is a count of sample sequences in the set of sample sequences that have been assigned to a reference sequence in the set of reference sequences that is associated with the respective biological characteristic. For example, consider the case in which three reference sequences in a set of reference sequences is associated with a first respective biological characteristic. In such a case, the number of sample sequences in a set of 1000 sample sequences assigned to each of the three reference sequences is 4, 10, and 30, respectively. Accordingly, the count of samples sequences that have been assigned to a reference sequence in the set of reference sequences that is associated with the respective biological characteristic is 4+10+36 or 50.

[0250] In some embodiments, the indication of the amount of sample sequences is a proportion of sample sequences in the set of sample sequences that have been assigned to a reference sequence in the set of reference sequences that is associated with the respective biological characteristic. In some embodiments, the indication of the amount of sample sequences is a frequency of sample sequences in the set of sample sequences that have been assigned to a reference sequence in the set of reference sequences that is associated with the respective biological characteristic relative to the number of sample sequences in the set of sample sequences. For instance, referring again to the above case, the frequency of sample sequences in the set of sample sequences that have been assigned to a reference sequence in the set of reference sequences that is associated with the respective biological characteristic relative to the number of sample sequences in the set of sample sequences is 50 / 1000 or 0.05.

[0251] In some implementations, the indication of an amount is a sum of indications of amounts (e.g., counts) over all or a portion of the biological characteristics in the at least a subset of the one or more biological characteristics. For instance, a sum of indications can be obtained to associate a plurality of sample sequences assigned to a set of related biological characteristics with a respective biological characteristic at a higher taxonomic level (e.g., to obtain a total count of sample sequences for a parent term that includes a group of child biological characteristics).

[0252] Accordingly, referring to Block 214, the method further includes determining, for each respective molecular function, biological process, or cellular component i 148 in at least a subset of the plurality of molecular functions, biological processes or cellular components, a corresponding count Ci150 of sample sequences 142 in the set of sample sequences that have been assigned to a reference sequence 122 in the set of reference sequences that is associated with the respective molecular function, biological process, or cellular component.

[0253] In some embodiments, the obtaining the count Ci of sample sequences comprises weighting one or more sample sequences in the set of sample sequences that have been assigned to a reference sequence associated with the respective biological characteristic.

[0254] In some implementations, the weighting comprises assigning a first weight to one or more first sample sequences in the set of sample sequences, and a second weight to one or more second sample sequences in the set of sample sequences, where the first weight and the second weight are different.

[0255] In some embodiments, the weighting comprises assigning different weights to sample sequences that are assigned to (e.g., are mapped or aligned to) different reference sequences, or portions thereof, in the set of reference sequences. For instance, a first weight can be assigned to sample sequences that map to a reference sequence, or a portion thereof, corresponding to a coding sequence; and a second weight can be assigned to sample sequences that map to a reference sequence, or a portion thereof, corresponding to a noncoding sequence.

[0256] Any suitable method of weighting sample sequences for determining the indication of an amount is contemplated for use in the present disclosure, as will be apparent to one skilled in the art.

[0257] In some embodiments, the obtaining the count Ci of sample sequences does not including weighting one or more sample sequences in the set of sample sequences, such that all sample sequences are accounted for equally in the total count Ci.Determining Associations.

[0258] In some embodiments, the method includes comparing, for each respective biological characteristic in the at least a subset of the one or more biological characteristics, the corresponding indication of an amount of sample sequences determined for (e.g., associated with) the respective biological characteristic to a corresponding reference indication of the number of reference sequences in the set of reference sequences that is associated with the respective biological characteristic, thus determining one or more biological characteristics that are over-represented or under-represented in the sample relative to the set of reference sequences and therefore determining one or more biological characteristics associated with the sample.

[0259] For example, referring to Block 216, the method further includes comparing, for each respective molecular function, biological process, or cellular component i 148 in at least a subset of the plurality of molecular functions, biological processes or cellular components, the corresponding count Ci150 of sample sequences determined for the respective molecular function, biological process, or cellular component to a corresponding reference count 152 of the number of reference sequences in the set of reference sequences that is associated with the respective molecular function, biological process or cellular component, thereby determining one or more molecular functions, biological processes or cellular components that are over-represented or under-represented in the sample relative to the set of reference sequences and therefore associated with the sample 140.

[0260] In some embodiments, the corresponding reference indication is a reference count, a reference proportion, or a reference frequency.

[0261] In some embodiments, the corresponding reference indication (e.g., the reference count) for a respective biological characteristic is an expected occurrence. Expected occurrence can be calculated as the frequency with which the respective biological characteristic is represented in a set of reference sequences (e.g., the number of reference sequences associated with the respective biological characteristic per total number of reference sequences in the set of reference sequences) multiplied by the number of sample sequences in the set of sample sequences. For instance, suppose that, from a set of reference sequences Set A, it was determined that the frequency of a respective biological characteristic is 0.05. For a set of sample sequences having 1000 sample sequences, it is expected, therefore that there be 0.05*1000 or 50 sample sequences associated with the respective biological characteristic.

[0262] In some embodiments, the reference indication is obtained by any suitable means including using data obtained from literature and / or experimental data.

[0263] In some embodiments, the reference indication is obtained using the set of reference sequences. In some embodiments, the reference indication is obtained using a different set of sequences other than the set of reference sequences.

[0264] In some embodiments, the reference indication is obtained using a randomly generated set of sequence reads. In some embodiments, the process to generate random sequence reads has one or more conditions that govern where the sequence reads are generated from. Examples of such conditions include, but are not limited to, a condition requiring that the source of the randomly generated sequence reads be from a given genome or from a given set of genomes.

[0265] In some embodiments, the randomly generated set of sequences is obtained using random sampling of the set of reference sequences. In some embodiments, the randomly generated set of sequences is obtained from another source of sequence reads other than the set of reference sequences, such as randomly sampled from the set of sample sequences.

[0266] In some implementations, the reference indication is obtained using more than one sets of reference sequences (e.g., more than one reference sequence databases). For example, one set of reference sequences contains reference sequences from a host genome, e.g., human, and another set of reference sequences contains reference sequences from microorganisms.

[0267] In some embodiments, the reference indication is obtained from control sequences obtained from a plurality of control samples, where each respective control sample in the plurality of control samples is obtained from a respective control sample source in a control cohort of sample sources. For instance, each respective control sample source in the cohort of control sample sources can be a control subject in a cohort of control subjects. In some embodiments, the plurality of control samples is obtained from a representative population of control subjects that can be used as a baseline for determining over-representation or under-representation of one or more biological characteristics within the sample.

[0268] In some embodiments, each respective control subject in the cohort of control subjects is a normal or healthy subject. For instance, if the sample is characterized by a respective condition (e.g., a health condition, disease, infection, contamination, and / or other condition as described in the section entitled “Samples and sequences,” above) then each respective control subject in the cohort of control subjects is free of the respective condition. As another example, in some implementations, if the sample is obtained from a first subject characterized by a first respective condition, then each respective control sample in the plurality of control samples is obtained from a respective control subject having a second respective condition different from the first respective condition (e.g., presence versus absence of disease, early versus late stage of disease, treatment with therapeutic agent versus no treatment, etc.). In some embodiments, a respective control sample is obtained from a subject that has not been exposed to one or more external agents, such as an infectious agent and / or a drug.

[0269] In some embodiments, the cohort of control samples comprises 10 or more control samples, 100 or more control samples, or 1000 or more control samples. In some embodiments, each respective control sample in the plurality of control samples is obtained using any of the methods disclosed herein. For instance, in some implementations, a respective control sample in the plurality of control samples is obtained from any of the sample sources disclosed above (see, e.g., the section entitled “Samples and sequences, above).

[0270] In some embodiments, a respective control sample represents a gut microbiome of a corresponding control subject. In some embodiments, a respective control sample is a fecal sample. In some embodiments, a respective control sample is a body fluid, blood, or swab sample collected from the control subject.

[0271] Referring again to Block 216, in some embodiments, the comparing the corresponding count Ci comprises comparing the corresponding count to a threshold value and determining whether the corresponding count satisfies the threshold value. In some embodiments, the corresponding indication satisfies the threshold value when it is greater than the threshold value. In some embodiments, the corresponding indication satisfies the threshold value when it is less than the threshold value.

[0272] In some embodiments, the threshold value is a threshold count, a threshold frequency, or a threshold proportion. In some embodiments, the threshold value is a threshold probability.

[0273] For instance, in some embodiments, referring to Block 218, the respective biological characteristic (e.g., molecular function, biological process and / or cellular component) is deemed to be over-represented in the sample relative to the set of reference sequences when a probability that N sequences randomly selected from the set of reference sequences includes at least Ci sequences associated with the respective biological characteristic (e.g., molecular function, biological process and / or cellular component) is less than a threshold probability. In some embodiments, the threshold probability is 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24 or 25 percent. In some embodiments, the threshold probability is 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, or 50 percent. In some embodiments, the threshold probability is 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, or 75 percent. In some embodiments, the threshold probability is 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, or 100 percent.

[0274] In some implementations, referring to Block 220, the probability that N sequences randomly selected from the set of reference sequences includes at least Cisequences associated with the respective biological characteristic (e.g., molecular function, biological process and / or cellular component) is computed using (i) an average observed number of reference sequences associated with the respective biological characteristic (e.g., molecular function, biological process and / or cellular component) across a plurality of random samplings of the set of reference sequences for N reference sequences, (ii) a total number of reference sequences in the set of reference sequences, and (iii) an assumption that the set of reference sequences represents a Poisson or binomial distribution.

[0275] Thus, as described above, in the case of the set of reference sequences Set A, assume that the frequencies of a respective biological characteristic over 10 iterations is 0.03, 0.05, 0.04, 0.06, 0.05, 0.06, 0.05, 0.06, 0.05, and 0.05. In each respective iteration, a random sampling of Set A is drawn and the number of reference sequences in the random sampling that are associated with the respective biological characteristic are counted to determine the respective frequency. The average observed frequency of the respective biological characteristic is then 0.03+0.05+0.04+0.08+0.05+0.06+0.05+0.06+0.04+0.04 divided by 10, or 0.05. The expected occurrence of the respective biological characteristic in the set of sample sequences can then be calculated, as in the above examples, using the average observed frequency of the respective biological characteristic in reference Set A across the plurality of random samplings and the assumption that the 10 observed frequencies for the biological characteristic represent some form of distribution, such as a Gaussian distribution.

[0276] In some embodiments, the plurality of random samplings comprises 2 or more, 5 or more, 10 or more, 100 or more, 1000 or more, or 10,000 or more random samplings of the set of reference sequences for N reference sequences. In some embodiments, the plurality of random samplings comprises 20,000 or more, 50,000 or more, 100,000 or more, or 500,000 or more random samplings. In some embodiments, the plurality of random samplings comprises no more than 1 million, no more than 500,000, no more than 100,000, no more than 10,000, no more than 1000, or no more than 100 random samplings. In some embodiments, the plurality of random samplings consists of from 2 to 50, from 5 to 100, from 10 to 500, from 200 to 1000, from 500 to 5000, from 2000 to 50,000, or from 20,000 to 1 million random samplings. In some embodiments, the plurality of random samplings falls within another range starting no lower than 2 random samplings and ending no higher than 1 million random samplings.

[0277] After the expected occurrence and observed occurrence are calculated for each respective biological characteristic in the at least a subset of the one or more biological characteristics for a given set of sample sequences and a given set of reference sequences (or another suitable source of reference sequences, as described above), a statistical significance score is calculated for each respective biological characteristic. Statistical significance can mean either statistical over-representation or under-representation.

[0278] In some embodiments, the statistical significance score is calculated by using a Chi-Square test. That is, because the process of random generation of the set of sequence reads is repeated a sufficient number of times, the average number of sequence reads assigned to one or more reference sequence associated with a particular biological characteristic can be treated as an expected value for that biological characteristic. Consider the case where each set of random sequence reads consists of 1000 sequence reads and that, on average 72 of the sequence reads map to one or more reference sequences associated with biological characteristic A. Further still, on a normalized basis, 37 out of each 1000 sample sequences in the set of sample sequences has been assigned to one or more reference sequence associated with biological characteristic A. The chi-square statistic for this situation can be framed as:x2=(O1-E1)2E1+(O2-E2)2E2where O1 is the observed frequency (37) for biological characteristic A, E1 is the expected frequency for biological characteristic A (72), O2 is the observed frequency for the all other outcomes (963), and E2 is the expected frequency for all other outcomes (928). In this instance:x2=(37-72)272+(963-928)2928=17.01+1.32=18.33There is 1 degree of freedom in this test and thus the x2 value 18.33 is evaluated against a chi-square distribution having 1 degree of freedom. See Smith, Statistical Reasoning, Third, Addition, 1991, Allyn and Bacon, Needham Heights, Massachusetts, pp. 473-478, which is hereby incorporated by reference. The x2 value 18.33 evaluated against a chi-square distribution having 1 degree of freedom has a P value of less than 0.0001 and thus the biological characteristic A is under-represented in the sample relative to the reference count and thus the biological characteristic is associated with the sample. This process of computing the x2 and evaluating the x2 value against a chi-square distribution having 1 degree of freedom is repeated for each respective biological characteristic in order to compute a P value for each biological characteristic. In some embodiments, biological characteristics that have a P value of 0.05 or less computed in this manner are deemed to be associated with the sample. In some embodiments, biological characteristics that have a P value of 0.005 or less computed in this manner are deemed to be associated with the sample. In some embodiments, biological characteristics that have a P value of 0.001 or less computed in this manner are deemed to be associated with the sample. In some embodiments, biological characteristics that have a P value of 0.10 or less computed in this manner are deemed to be associated with the sample.In some embodiments, the statistical significance score is calculated using a measure of distribution such as a confidence interval, a standard deviation, and / or a distribution curve.

[0281] FIG. 5 provides an example of Expected Occurrence, Observed Occurrence and significance score of Gene Ontology terms after an example sequencing reads file is analyzed, in accordance with an embodiment of the present disclosure.

[0282] In some embodiments, the statistical significance score is a probability. For example, referring again to Block 218, in some embodiments, the statistical significance score is a probability that N sequences randomly selected from the set of reference sequences includes at least Ci sequences associated with the respective biological characteristic.

[0283] For example, consider the case of a respective molecular function α that has an observed frequency of occurrence in a set of sample sequences Set S of 0.05 and an average expected frequency of occurrence in a set of reference sequences Set A of 0.03. In other words, five percent of the sample sequences in sample Set S are identified with molecular function α while, on average, across the reference sequences of reference Set A, three percent of the reference sequences are identified with molecular function α. Under the assumption that reference Set A represents a binomial probability distribution, the probability P(α) of finding an observed occurrence in sample Set S of 0.05 given the average frequency in reference Set A of 0.03 can be calculated as:P⁡(α)=n!(n-x)!⁢x!·px⁢qn-xwhere p is the probability of success for any one sequence to associate with the respective molecular function α in reference Set A (p=0.03 in this example), q=1−p and is the probability of failure for any one sequence to associate with the respective molecular function α in reference Set A, n is the number of sequence reads in sample Set S that were sampled and x is the number of sequences in sample Set S that were sampled and deemed to be associated with molecular function α.The observed frequency of occurrence in sample Set S is 0.05. Suppose that this number was obtained by considering a set of 1000 sample sequences (n=1000) and determining that 50 (x=50) of them associate with molecular function α. Then the probability of getting 50 sample sequences to associate with molecular function α in a sample size of 1000 is given by:P⁡(α)=1000!(1000-50)!⁢50!·(0.03)50⁢(0.97)950=0.00018Since this probability is less than 0.05 it is deemed to be statistically significant. In other words, molecular function α is over-represented in sample set S relative to reference Set A.

[0286] In some embodiments, the threshold probability is a p-value. In some embodiments, the threshold probability is 0.10 or less, 0.05 or less, 0.005 or less, or 0.0005 or less. In some embodiments, the threshold probability is 0.10 or less, 0.05 or less, 0.01 or less, 0.005 or less, 0.001 or less, 0.0005 or less, 0.0001 or less, or 0.00005 or less.

[0287] As another example, referring to Block 222, in some embodiments, the respective molecular function, biological process or cellular component is deemed to be under-represented in the sample relative to the set of reference sequences when a probability that N sequences randomly selected from the set of reference sequences includes less then Ci sequences associated with the respective molecular function, biological process or cellular component is less than a threshold probability.

[0288] Referring to Block 224, the probability that N sequences randomly selected from the set of reference sequences includes less than Ci sequences associated with the respective molecular function, biological process or cellular component is computed using (i) an average observed number of reference sequences associated with the respective molecular function, biological process or cellular component across a plurality of random samplings of the set of reference sequences for N reference sequences, (ii) a total number of reference sequences in the set of reference sequences, and (iii) an assumption that the set of reference sequences represents a Poisson or binomial distribution.

[0289] For example, consider the case of the respective molecular function α that has an observed frequency of occurrence in a set of sample sequences Set S of 0.03 and an average expected frequency of occurrence in a set of reference sequences Set A of 0.05. In other words, three percent of the sample sequences in sample Set S are identified with molecular function α while, on average, across the reference sequences of reference Set A, five percent of the reference sequences are identified with molecular function α. Under the assumption that reference Set A represents a binomial probability distribution, the probability P(α) of finding an observed occurrence in sample Set S of 0.03 given the average frequency in reference Set A of 0.05 can be calculated as:P⁡(α)=n!(n-x)!⁢x!·px⁢qn-xwhere p is the probability of success for any one sequence to associate with the respective molecular function α in reference Set A (p=0.05 in this example), q=1−p and is the probability of failure for any one sequence to associate with the respective molecular function α in reference Set A, n is the total number of sample sequences in sample Set S that were sampled and x is the number of sample sequences in sample Set S that were sampled and deemed to be associated with molecular function α.The observed frequency of occurrence in sample Set S is 0.03. Suppose that this number was obtained by considering a set of 1000 sample sequences (n=1000) and determining that 30 (x=30) of them associate with molecular function α. Then the probability of getting 30 sample sequences to associate with molecular function α in a sample size of 1000 is given by:P⁡(α)=1000!(1000-30)!⁢30!·(0.05)30⁢(0.95)970=0.00056Since this probability is less than 0.05, it is deemed to be statistically significant. In other words, the molecular function α is under-represented in sample Set S relative to reference Set A.

[0292] In some embodiments, as described above, the plurality of random samplings comprises 2 or more, 5 or more, 10 or more, 100 or more, 1000 or more, or 10,000 or more random samplings of the set of reference sequences for N reference sequences. In some embodiments, as described above, the threshold probability is 0.10 or less, 0.05 or less, 0.005 or less, or 0.0005 or less. In some embodiments, the one or more biological characteristics that are over-represented or under-represented in the sample includes a null biological characteristic (e.g., indicating an absence of assignment to any biological characteristic). For example, in some embodiments, the sample is not associated with any molecular functions, biological processes, or cellular components. In some embodiments, the sample is associated with a null molecular function, null biological process, and / or null cellular component.

[0293] In some embodiments, the determining the one or more biological characteristics that are associated with the sample further associates the one or more biological characteristics with a respective condition for the sample (e.g., a health condition, a disease, an infection, a contamination, and / or other condition as described in the section entitled “Samples and sequences,” above).Downstream Applications.

[0294] In some embodiments, each respective biological characteristic in the at least the subset of biological characteristics is ranked by its respective statistical significance score.

[0295] In some embodiments, the method comprises generating a report including the at least the subset of biological characteristics and the respective statistical significance score for each respective biological characteristic in the at least the subset of biological characteristics. In some such embodiments, a number of top-ranked biological characteristics are reported (e.g., top 5 or more, top 10 or more, top 20 or more, or top 50 or more).

[0296] In some embodiments, the method can be used to determine a biological response to one or more conditions. In some embodiments, the method can be used to determine a response to one or more external agents, or an exposure thereto.

[0297] For example, referring to Block 226, in some embodiments, the sample is a body fluid, blood, or swab sample collected from a first subject of a species.

[0298] Referring to Block 228, in some embodiments, the first subject has been exposed to one or more external agents, the set of reference sequences are drawn from a respective control sample of each respective control subject in a cohort of control subjects of the species that are free of exposure to the one or more external agents, and the determining one or more biological characteristics (e.g., molecular functions, biological processes and / or cellular components) are over-represented or under-represented in the sample relative to the set of reference sequences identifies an biological characteristic in the one or more biological characteristics (e.g., molecular function, biological process and / or cellular component in the one or more molecular functions, biological processes and / or cellular components) that is associated with exposure to the one or more external agents.

[0299] In some embodiments, each respective control sample of each respective control subject in the cohort of control subjects is a body fluid, blood, or swab sample collected from the respective control subject.

[0300] Referring to Block 230, in some embodiments, the first subject is a member of a first cohort of subjects of the species, where each member of the first cohort of subjects has been exposed to one or more external agents, the set of reference sequences are drawn from a respective control sample of each respective control subject in a cohort of control subjects that are free of exposure to the one or more external agents, and the providing a set of sample sequences, determining the corresponding count Ci, and comparing the corresponding count Ci to a corresponding reference count is performed for each subject in the first cohort of subjects thereby determining one or more molecular functions, biological processes or cellular components that are over-represented or under-represented in each member of the first cohort of subjects relative to the set of reference sequences. In some such embodiments, at least one molecular function, biological process or cellular component in the one or more molecular functions, biological processes or cellular components that is identified as over-represented or under-represented in each member of the first cohort of subjects is deemed to be associated with exposure to the one or more external agents.

[0301] In some embodiments, each respective control sample of each respective control subject in the cohort of control subjects is a body fluid, blood, or swab sample collected from the respective control subject, and each respective sample of each respective subject in the first cohort of subjects is a body fluid, blood, or swab sample collected from the respective control subject.

[0302] In some implementations, any respective control sample, control subject, and / or control cohort referred to herein includes any of the embodiments for control samples, control subjects, and / or control cohorts disclosed with respect to any other context described herein.

[0303] For instance, in some embodiments, the plurality of control samples is a representative population of control samples that can be used as a baseline for determining over-representation or under-representation of one or more biological characteristics within a test sample. In some embodiments, each respective control subject in the cohort of control subjects is a normal or healthy subject. Thus, if the sample collected from the first subject is characterized by a respective condition (e.g., a health condition, disease, infection, and / or contamination, as described in the section entitled “Samples and sequences,” above) then each respective control subject in the cohort of control subjects is free of the respective condition. As another example, in some implementations, if the sample is obtained from a first subject characterized by a first respective condition, then each respective control subject in the cohort of control subjects has a second respective condition different from the first respective condition (e.g., presence or absence of disease, early or late stage of disease, treatment with therapeutic agent versus no treatment, etc.). In some embodiments, a respective control sample is obtained from a respective control subject that has not been exposed to one or more external agents, such as an infectious agent and / or a drug.

[0304] In some embodiments, the cohort of control subjects comprises 10 or more control subjects, 100 or more control subjects, or 1000 or more control subjects. In some embodiments, the cohort of control subjects comprises 3 or more, 5 or more, 10 or more 20 or more, 50 or more, 100 or more, 500 or more, 1000 or more, 2000 or more, 5000 or more, or 10,000 or more control subjects. In some embodiments, the cohort of control subjects comprises no more than 100,000, no more than 10,000, no more than 5000, no more than 1000, no more than 500, no more than 100, or no more than 50 control subjects. In some embodiments, the cohort of control subjects consists of from 3 to 40, from 10 to 200, from 100 to 1000, from 500 to 3000, from 2000 to 10,000, or from 10,000 to 100,000 control subjects. In some embodiments, the cohort of control subjects falls within another range starting no lower than 3 control subjects and ending no higher than 100,000 control subjects.

[0305] In some embodiments, the first cohort of subjects comprises 10 or more subjects, 100 or more subjects, or 1000 or more subjects. In some embodiments, the first cohort of subjects comprises 3 or more, 5 or more, 10 or more 20 or more, 50 or more, 100 or more, 500 or more, 1000 or more, 2000 or more, 5000 or more, or 10,000 or more subjects. In some embodiments, the first cohort of subjects comprises no more than 100,000, no more than 10,000, no more than 5000, no more than 1000, no more than 500, no more than 100, or no more than 50 subjects. In some embodiments, the first cohort of subjects consists of from 3 to 40, from 10 to 200, from 100 to 1000, from 500 to 3000, from 2000 to 10,000, or from 10,000 to 100,000 subjects. In some embodiments, the first cohort of subjects falls within another range starting no lower than 3 subjects and ending no higher than 100,000 subjects.

[0306] In some embodiments, the species is human or is a species of animal.

[0307] Referring to Block 232, in some embodiments, the one or more external agents comprises or consists of an infectious agent. In some embodiments, the infectious agent is a bacterium, a virus, a protozoan, a fungus or a helminth.

[0308] Referring to Block 234, in some embodiments, the one or more external agents is a drug.

[0309] In some embodiments, the at least one biological characteristic in the one or more biological characteristics (e.g., at least one molecular function, biological process, and / or cellular component in the one or more molecular functions, biological processes, and / or cellular components) that is deemed to be associated with exposure to the one or more external agents is involved in an immune response. An illustrative example of determining molecular functions, biological processes, and / or cellular components involved in immune response to external agents is provided below in Example 2.Treatment Discovery.

[0310] Referring to FIGS. 3A-C, another aspect of the present disclosure provides a method 300 for microbiome-based treatment discovery.

[0311] Referring to Block 302, the method includes obtaining, for each respective k-mer in a plurality of k-mers 128, for each respective nucleic acid or protein reference sequence (refi) in a set of reference sequences 122, a corresponding k-mer weight 130 for the respective k-mer for the respective reference sequence that is a measure of how likely it is that the corresponding k-mer originates from the respective reference sequence, thereby forming a plurality of k-mer weights. Each reference sequence 122 in the set of reference sequences is independently associated with one or more molecular functions, biological processes or cellular components in a plurality of molecular functions, biological processes, or cellular components 148. In some embodiments, each k-mer in the plurality of k-mers has the same length of k residues and k is in a range of 3 to 30.

[0312] Various embodiments for k-mers and reference sequences for use in the present disclosure are described elsewhere herein, for example, in the sections entitled “K-mers,” above.

[0313] Referring to Block 304, the method further includes, for each respective sample 140 in a plurality of samples, where each sample in the plurality of samples is from a subject in a cohort of subjects and where a first subset of the cohort of subjects has one or more conditions 144 and a second subset of the cohort of subjects is free of the one or more conditions 144, obtaining a respective set of sample sequences 142 for a respective plurality of nucleic acids or proteins from the respective sample. In some embodiments, each respective sample sequence in the respective set of sample sequences has a length of 30 residues or more.

[0314] In some embodiments, the plurality of samples comprises 3 or more, 5 or more, 10 or more 20 or more, 50 or more, 100 or more, 500 or more, 1000 or more, 2000 or more, 5000 or more, or 10,000 or more samples. In some embodiments, the plurality of samples comprises no more than 100,000, no more than 10,000, no more than 5000, no more than 1000, no more than 500, no more than 100, or no more than 50 samples. In some embodiments, the plurality of samples consists of from 3 to 40, from 10 to 200, from 100 to 1000, from 500 to 3000, from 2000 to 10,000, or from 10,000 to 100,000 samples. In some embodiments, the plurality of samples falls within another range starting no lower than 3 samples and ending no higher than 100,000 samples.

[0315] A respective sample in the plurality of samples can comprise the same or different embodiments as a sample, first sample, or any other respective sample disclosed herein with respect to any other context (see, e.g., the section entitled “Samples and sequences,” above), or any substitutions, modifications, additions, deletions, and / or combinations thereof, as will be apparent to one skilled in the art.

[0316] In some embodiments, the cohort of subjects comprises 3 or more, 5 or more, 10 or more 20 or more, 50 or more, 100 or more, 500 or more, 1000 or more, 2000 or more, 5000 or more, or 10,000 or more subjects. In some embodiments, the cohort of subjects comprises no more than 100,000, no more than 10,000, no more than 5000, no more than 1000, no more than 500, no more than 100, or no more than 50 subjects. In some embodiments, the cohort of subjects consists of from 3 to 40, from 10 to 200, from 100 to 1000, from 500 to 3000, from 2000 to 10,000, or from 10,000 to 100,000 subjects. In some embodiments, the cohort of subjects falls within another range starting no lower than 3 subjects and ending no higher than 100,000 subjects.

[0317] In some embodiments, the first subset of subjects and the second subset of subjects has a same or different number of subjects. In some embodiments, the first subset of subjects and the second subset of subjects each comprises 10 or more subjects, 100 or more subjects, or 1000 or more subjects.

[0318] In some embodiments, the first subset of subjects comprises 3 or more, 5 or more, 10 or more 20 or more, 50 or more, 100 or more, 500 or more, 1000 or more, 2000 or more, or 5000 or more subjects. In some embodiments, the first subset of subjects comprises no more than 10,000, no more than 5000, no more than 1000, no more than 500, no more than 100, or no more than 50 subjects. In some embodiments, the first subset of subjects consists of from 3 to 40, from 10 to 200, from 100 to 1000, from 500 to 3000, from 2000 to 8,000, or from 5,000 to 10,000 subjects. In some embodiments, the first subset of subjects falls within another range starting no lower than 3 subjects and ending no higher than 10,000 subjects.

[0319] In some embodiments, the second subset of subjects comprises 3 or more, 5 or more, 10 or more 20 or more, 50 or more, 100 or more, 500 or more, 1000 or more, 2000 or more, or 5000 or more subjects. In some embodiments, the second subset of subjects comprises no more than 10,000, no more than 5000, no more than 1000, no more than 500, no more than 100, or no more than 50 subjects. In some embodiments, the second subset of subjects consists of from 3 to 40, from 10 to 200, from 100 to 1000, from 500 to 3000, from 2000 to 8,000, or from 5,000 to 10,000 subjects. In some embodiments, the second subset of subjects falls within another range starting no lower than 3 subjects and ending no higher than 10,000 subjects.

[0320] In some embodiments, the first subset and the second subset of subjects are characterized by different conditions. For instance, in some such embodiments, each respective subject in the first subset of subjects differs by at least one condition from each respective subject in the second subset of subjects.

[0321] In some embodiments, each respective subject in the first subset of subjects is characterized by at least a first condition and each respective subject in the second subset of subjects is characterized by at least a second condition that is different from the first condition.

[0322] In some embodiments, each respective subject in one of the first and second subsets of subjects is characterized by a presence of one or more conditions, and each respective subject in the other of the first and second subsets of subjects is characterized by an absence of one or more conditions. In some embodiments, one of the first and second subsets of subjects is a control cohort of subjects.

[0323] In some embodiments, a condition is a health condition or a disease. In some embodiments, a condition is a presence of one or more organisms (e.g., microorganisms). In some such embodiments, a condition is an infection with the one or more organisms. Conditions can include any of the conditions disclosed herein, as described, for example, in the section entitled “Samples and sequences,” above, or any substitutions, modifications, additions, deletions, and / or combinations thereof, as will be apparent to one skilled in the art.

[0324] Referring to Block 306, in some embodiments, the one or more conditions is a disease. In some embodiments, the disease is an infectious disease, a deficiency disease, a hereditary disease, or a physiological disease. In some embodiments, the disease is a topographic disease, an anatomic disease, a physiological disease, a pathological disease, an etiological disease, or an epidemiological disease.

[0325] For example, in some implementations, the disease is a topographic disease selected from the group consisting of a gastrointestinal disease, a vascular disease, an abdominal disease, and a chest disease.

[0326] In some implementations, the disease is an anatomic disease selected from the group consisting of a heart disease, a liver disease, a lung disease, a brain disease, a kidney disease, or eye disease or the disease is a physiological disease that is one of respiratory disease and metabolic disease.

[0327] Any embodiment disclosed herein with respect to a first respective sample, a first respective sample source, a first respective subject, and / or a first respective set of sample sequences for a first respective sample, is contemplated for use with a second, third, fourth, or any subsequent respective sample, sample source, subject, or set of sample sequences, or any substitutions, modifications, additions, deletions, and / or combinations thereof, as will be apparent to one skilled in the art. In some implementations, a first respective sample source, a first respective subject, and / or a first respective set of sample sequences for a first respective sample, has the same or different characteristics from any second, third, fourth, or any subsequent respective sample, sample source, subject, or set of sample sequences disclosed herein. See, for example, the section entitled “Samples and sequences,” above.

[0328] In some embodiments, each sample in the plurality of samples is obtained from a human or an animal.

[0329] In some embodiments, each respective sample in the plurality of samples represents a respective gut microbiome of a corresponding member of the cohort of subjects and each respective set of sequences and the set of reference sequences are nucleic acid. In some embodiments, each respective set of sequences and the set of reference sequences are protein. In some embodiments, each respective gut microbiome of each respective subject in the cohort of subjects is a fecal sample of the respective subject.

[0330] In some embodiments, each corresponding subject in the cohort of subjects is a same or different type of subject. In some embodiments, each corresponding subject in the cohort of subjects is a human. In some embodiments, each corresponding subject in the cohort of subjects is an animal.

[0331] Referring to Block 308, for each respective sample in the plurality of samples, for each respective sample sequence 142, the method includes (i) performing (e.g., with a computer system) a sequence comparison between the respective sample sequence and the set of reference sequences 122, where the comparison comprises determining, for each respective reference sequence in the set of reference sequences, a respective set of k-mers 128 within the respective sample sequence that are also found in the respective reference sequence by comparison of each k-mer in the respective sample sequence read of length k to each respective k-mer in the plurality k-mers, and (ii) assigning the respective sample sequence to a particular reference sequence 146 in the set of reference sequences based on the k-mer weights 130, in the plurality of k-mer weights, for the respective set of k-mers within the sample sequence that are also found in the particular reference sequence.

[0332] In some implementations, the sequence comparison and / or the assigning sample sequences to reference sequences include any of the embodiments described elsewhere herein, for example, in the section entitled “Sequence comparison,” above, or any substitutions, modifications, additions, deletions, and / or combinations thereof, as will be apparent to one skilled in the art.

[0333] Referring to Block 310, the method includes determining, for each respective sample 140 in the plurality of samples associated with the first subset of the cohort of subjects, for each respective molecular function, biological process or cellular component i 148 in the plurality of molecular functions, biological processes or cellular components, a corresponding proportion 150 of sample sequences 142 in the respective set of sample sequences corresponding to the respective sample that has been assigned to a reference sequence 122 in the set of reference sequences that is associated with the respective molecular function, biological process, or cellular component.

[0334] Referring to Block 312, the method further includes determining, for each respective sample 140 in the plurality of samples associated with the second subset of the cohort of subjects, for each respective molecular function, biological process or cellular component i 148 in the plurality of molecular functions, biological processes or cellular components, a corresponding proportion 150 of sample sequences 142 in the respective set of sample sequences corresponding to the respective sample that has been assigned to a reference sequence 122 in the set of reference sequences that is associated with the respective molecular function, biological process or cellular component.

[0335] Accordingly, in some embodiments, the method includes, for each respective sample associated with each of the first and second subsets of the cohort of subjects, for each respective biological characteristic in a plurality of biological characteristics, determining a corresponding indication of an amount of sample sequences in the respective set of sample sequences corresponding to the respective sample that has been assigned to a reference sequence in the set of reference sequences that is associated with the respective biological characteristic.

[0336] Suitable embodiments for determining an indication of an amount of sample sequences include those described elsewhere herein, for example, in the section entitled “Counting sample sequences,” above, or any substitutions, modifications, additions, deletions, and / or combinations thereof, as will be apparent to one skilled in the art.

[0337] For example, in some embodiments, the corresponding indication of an amount of sample sequences is a proportion (e.g., relative to a number of sample sequences in the respective set of sample sequences). In some embodiments, the corresponding indication of an amount of sample sequences is a frequency (e.g., relative to a number of sample sequences in the respective set of sample sequences). In some embodiments, the corresponding indication of an amount of sample sequences is a count.

[0338] Referring to Block 314, the method further includes, for each respective molecular function, biological process or cellular component i 148 in the plurality of molecular functions, biological processes or cellular components, using the respective corresponding proportions 150 of sample sequences across the samples associated with the second subset of the cohort and the respective corresponding proportions 150 of sample sequences across the samples associated with the first subset of the cohort that has been assigned to a reference sequence in the set of reference sequences that is associated with the respective molecular function, biological process, or cellular component to determine whether the first subset of the cohort of subjects over-represents or under-represents the respective molecular function, biological process or cellular component relative to the second subset of the cohort of subjects and is therefore associated with the one or more conditions 144.

[0339] Suitable embodiments for determining an indication of over-representation or under-representation of biological characteristics in samples include those described elsewhere herein, for example, in the section entitled “Determining associations,” above, or any substitutions, modifications, additions, deletions, and / or combinations thereof, as will be apparent to one skilled in the art.

[0340] For example, in some such embodiments, the first subset of subjects is used to provide an observed occurrence, the second subset of subjects is used to provide an expected occurrence, and the determining whether the respective biological characteristic is over-represented or under-represented in the first subset of subjects relative to the second subset of subjects is performed using the observed occurrence and the expected occurrence to determine a statistical significance score. An illustrative example of determining under-representation of a respective biological characteristic in a first subset of subjects relative to a second subset of subjects is provided below in Example 1, first embodiment.

[0341] In some embodiments, the determining whether the respective biological characteristic is over-represented or under-represented can be performed using either one of the first and second subset relative to the other of the first and second subset. For instance, referring to FIGS. 4A-C, the determining whether the respective biological characteristic is over-represented or under-represented can be performed for the second subset of subjects relative to the first subset of subjects.

[0342] Accordingly, referring to FIGS. 4A-C, another aspect of the disclosure provides a method 400 for microbiome-based treatment discovery.

[0343] Referring to Block 402, the method includes obtaining, for each respective k-mer in a plurality of k-mers 128, for each respective nucleic acid or protein reference sequence (refi) in a set of reference sequences 122, a corresponding k-mer weight 130 for the respective k-mer for the respective reference sequence that is a measure of how likely it is that the corresponding k-mer originates from the respective reference sequence, thereby forming a plurality of k-mer weights. Each reference sequence 122 in the set of reference sequences is independently associated with one or more molecular functions, biological processes or cellular components in a plurality of molecular functions, biological processes or cellular components 148. In some embodiments, each k-mer in the plurality of k-mers has the same length of k residues and k is in a range of 3 to 30.

[0344] Referring to Block 404, the method includes, for each respective sample 140 in a plurality of samples, where each sample in the plurality of samples is from a subject in a cohort of subjects and where a first subset of the cohort of subjects has one or more conditions 144 and a second subset of the cohort of subjects is free of the one or more conditions 144, obtaining a respective set of sample sequences 142 for a respective plurality of nucleic acids or proteins from the respective sample. In some embodiments, each respective sample sequence in the respective set of sample sequences has a length of 30 residues or more.

[0345] Referring to Block 406, in some embodiments, the one or more conditions is a disease. In some embodiments, the disease is an infectious disease, a deficiency disease, a hereditary disease, or a physiological disease. In some embodiments, the disease is a topographic disease, an anatomic disease, a physiological disease, a pathological disease, an etiological disease, or an epidemiological disease. In some implementations, the disease is a topographic disease selected from the group consisting of a gastrointestinal disease, a vascular disease, an abdominal disease, and a chest disease. In some implementations, the disease is an anatomic disease selected from the group consisting of a heart disease, a liver disease, a lung disease, a brain disease, a kidney disease, or eye disease or the disease is a physiological disease that is one of respiratory disease and metabolic disease.

[0346] In some embodiments, each sample in the plurality of samples is obtained from a human or an animal. In some embodiments, each respective sample in the plurality of samples represents a respective gut microbiome of a corresponding member of the cohort of subjects and each respective set of sequences and the set of reference sequences are nucleic acid. In some embodiments, each respective set of sequences and the set of reference sequences are protein. In some embodiments, each respective gut microbiome of each respective subject in the cohort of subjects is a fecal sample of the respective subject.

[0347] In some embodiments, each corresponding subject in the cohort of subjects is a human. In some embodiments, each corresponding subject in the cohort of subjects is an animal. In some embodiments, the first subset of subjects and the second subset of subjects each comprises 10 or more subjects, 100 or more subjects, or 1000 or more subjects.

[0348] Referring to Block 408, the method includes, for each respective sample sequence 142, (i) performing (e.g., with a computer system) a sequence comparison between the respective sample sequence and the set of reference sequences 122, where the comparison comprises determining, for each respective reference sequence in the set of reference sequences, a respective set of k-mers 128 within the respective sample sequence that are also found in the respective reference sequence by comparison of each k-mer in the respective sample sequence read of length k to each respective k-mer in the plurality k-mers, and (ii) assigning the respective sample sequence to a particular reference sequence 146 in the set of reference sequences based on the k-mer weights 130, in the plurality of k-mer weights, for the respective set of k-mers within the sample sequence that are also found in the particular reference sequence.

[0349] Referring to Block 410, the method further includes determining, for each respective sample 140 in the plurality of samples associated with the first subset of the cohort of subjects, for each respective molecular function, biological process or cellular component i 148 in the plurality of molecular functions, biological processes or cellular components, a corresponding proportion 150 of sample sequences 142 in the respective set of sample sequences corresponding to the respective sample that has been assigned to a reference sequence 122 in the set of reference sequences that is associated with the respective molecular function, biological process or cellular component; and, referring to Block 412, the method includes determining, for each respective sample 140 in the plurality of samples associated with the second subset of the cohort of subjects, for each respective molecular function, biological process or cellular component i 148 in the plurality of molecular functions, biological processes or cellular components, a corresponding proportion 150 of sample sequences 142 in the respective set of sample sequences corresponding to the respective sample that has been assigned to a reference sequence 122 in the set of reference sequences that is associated with the respective molecular function, biological process or cellular component.

[0350] Referring to Block 414, the method further comprises using, for each respective molecular function, biological process or cellular component i 148 in the plurality of molecular functions, biological processes or cellular components, the respective corresponding proportions 150 of sample sequences across the samples associated with the second subset of the cohort and the respective corresponding proportions 150 of sample sequences across the samples associated with the first subset of the cohort that has been assigned to a reference sequence in the set of reference sequences that is associated with the respective molecular function, biological process or cellular component to determine whether the second subset of the cohort of subjects over-represents or under-represents the respective molecular function, biological process or cellular component relative to the first subset of the cohort of subjects and is therefore associated with the one or more conditions 144.

[0351] Thus, in some such embodiments, the second subset of subjects is used to provide an observed occurrence, the first subset of subjects is used to provide an expected occurrence, and the determining whether the respective biological characteristic is over-represented or under-represented in the second subset of subjects relative to the first subset of subjects is performed using the observed occurrence and the expected occurrence to determine a statistical significance score. An illustrative example of determining over-representation of a respective biological characteristic in a second subset of subjects relative to a first subset of subjects is provided below in Example 1, second embodiment.Disease- and Specimen-Specific Terms.

[0352] In some embodiments, the determining whether a respective one of the first and / or second subset of the cohort of subjects over-represents or under-represents the one or more biological characteristics relative to the other of the first and / or second subset of the cohort of subjects associates the one or more biological characteristics with a condition for the respective subset.

[0353] For instance, if the first subset of the cohort of subjects has a respective condition and the second subset of the cohort of subjects is free of the respective condition, then, when a respective biological characteristic is over-represented in one of the first and second subsets relative to the other of the first and second subsets, the respective biological characteristic is deemed to be associated with the condition. As an example, the association of the respective biological characteristic (e.g., a molecular function, biological process, and / or cell component) provides an indication that the biological characteristic is likely to be involved in an etiology, progression, and / or manifestation of the condition. Involvement of a respective biological characteristic in a condition can occur due to an over-expression or activation of one or more elements (e.g., genes, proteins, intermediates, etc.) for the biological characteristic, due to under-expression or repression of one or more elements for the ontological, or due to some other change in biological function, behavior, or response associated with the biological characteristic.

[0354] Advantageously, the association of biological characteristics (e.g., molecular functions, biological processes, and / or cell components) with one or more conditions that characterize one or more subjects or samples thereof can be used to obtain a more comprehensive and accurate understanding of the one or more conditions. Moreover, the association of biological characteristics with one or more conditions can be applied towards treatment or monitoring of patients having the one or more conditions. In another example, biological characteristics associated with various conditions can be detected within various microbial samples, thus identifying organisms that play a putative role in the cure or treatment of the conditions. Accordingly, in some embodiments, the one or more biological characteristics can be used to identify microbiome-based drug targets.

[0355] Alternatively or additionally, in some embodiments, the one or more biological characteristics associated with the one or more conditions (e.g., disease) can be used to direct subsequent research efforts to up-regulating, down-regulating, or inhibiting these biological characteristics (e.g., molecular functions, biological processes or cellular components) in order to address the corresponding conditions.

[0356] In some embodiments, the drug discovery efforts are informed based on the identification of one or more biological characteristics from a first sample, a plurality of biological characteristics from a first sample, one or more biological characteristics from a plurality of samples, and / or a plurality of biological characteristics from a plurality of samples. Accordingly, the samples and / or the associated biological characteristics can be selected individually, combined all together, or combined using only a subset, for the development of a treatment for the associated one or more conditions.

[0357] In some implementations, the one or more biological characteristics determined to be associated with a respective condition (e.g., using any of the methods disclosed herein) are referred to as disease-specific terms. These disease-specific terms can be compiled into diagnostic profiles for the condition and applied to candidate samples (e.g., a first sample in a plurality of samples and / or a sample from a first subject in a cohort of subjects) for detection, diagnosis, and / or characterization of the condition in the candidate samples.

[0358] In some such embodiments, a respective candidate sample is used to perform a method for associating a sample from a sample source with one or more biological characteristics, as disclosed above (see, e.g., method 200 with reference to FIGS. 2A-E). Accordingly, when the method determines a corresponding one or more biological characteristics that are over-represented or under-represented in the sample relative to a source of reference sequences, the corresponding one or more biological characteristics are compiled into a set of specimen-specific terms. The set of specimen-specific terms form a candidate profile that can be compared against profiles containing condition-specific (e.g., disease-specific) terms for identification, detection, diagnosis, monitoring, and / or characterization of various conditions (e.g., diseases) that match the candidate profile represented by the sample.

[0359] In some embodiments, the condition-specific (e.g., disease-specific) terms are obtained by determining whether the one or more biological characteristics are over-represented or under-represented for a first subset of subjects relative to a second subset of subjects, or for a second subset of subjects relative to a first subset of subjects, where one of the first and second subsets of subjects has one or more conditions (e.g., diseases) and the other of the first and second subsets of subjects is free of the one or more conditions (e.g., diseases).

[0360] Accordingly, referring to Block 316 and Block 416, the method further comprises, for each respective candidate sample in a plurality of candidate samples, obtaining, for each respective candidate sample in the plurality of candidate samples, a respective set of sample sequences for a respective plurality of nucleic acids or proteins from the respective sample, and for each respective sample sequence performing (e.g., with a computer system) a sequence comparison between the respective sample sequence and the respective set of reference sequences thereby assigning the respective sample sequence to a particular reference sequence in the set of reference sequences based on the sequence comparison.

[0361] In some such embodiments, the method further includes determining, for each respective candidate sample in the plurality of candidate samples, for each respective molecular function, biological process, or cellular component i in at least a subset of the plurality of molecular functions, biological processes or cellular components, a corresponding count Ci of sample sequences in the respective set of sample sequences that has been assigned to a reference sequence in the set of reference sequences that is associated with the respective molecular function, biological process, or cellular component.

[0362] For each respective candidate sample in the plurality of candidate samples, for each respective molecular function, biological process, or cellular component i in at least a subset of the plurality of molecular functions, biological processes or cellular components, (i) the corresponding count Ci of sample sequences determined for the respective molecular function, biological process, or cellular component for the respective candidate sample is compared to (ii) a corresponding reference count of the number of reference sequences in the set of reference sequences that is associated with the respective molecular function, biological process or cellular component, thereby determining one or more molecular functions, biological processes or cellular components that are over-represented or under-represented in the respective candidate sample relative to the set of reference sequences and therefore associated with the respective candidate sample.

[0363] In some such embodiments, a first candidate sample in the set of candidate samples is identified by matching (i) the respective one or more molecular functions, biological processes or cellular components that are over-represented or under-represented in the first candidate sample (e.g., the specimen-specific terms) and (ii) the one or more molecular functions, biological processes or cellular components that is deemed to be associated with the one or more conditions (e.g., the disease-specific terms).

[0364] In some embodiments, the first candidate sample is then used as a basis for treatment of the one or more conditions.

[0365] An illustrative example of using associated biological characteristics to generate disease-specific terms and comparing specimen-specific terms against the same is provided below in Example 1, third embodiment.

[0366] In some embodiments, the first candidate sample in the set of candidate samples is identified as a match when all of the biological characteristics that are over-represented or under-represented in the first candidate sample (e.g., the specimen-specific terms) are identified in the set of biological characteristics that is deemed to be associated with the one or more conditions (e.g., the disease-specific terms).

[0367] In some embodiments, the first candidate sample in the set of candidate samples is identified as a match when at least 40%, at least 50%, at least 60%, at least 70%, at least 80%, at least 85%, at least 90%, at least 95%, at least 98%, or at least 99% of the specimen-specific terms are found in the set of disease-specific terms. In some embodiments, the first candidate sample in the set of candidate samples is identified as a match when no more than 99%, no more than 98%, no more than 95%, no more than 90%, no more than 80%, no more than 70%, no more than 60%, or no more than 50% of the specimen-specific terms are found in the set of disease-specific terms. In some embodiments, the first candidate sample in the set of candidate samples is identified as a match when from 40% to 90%, from 60% to 99%, or from 70% to 100% of the specimen-specific terms are found in the set of disease-specific terms. In some embodiments, the first candidate sample in the set of candidate samples is identified as a match when another range of the specimen-specific terms starting no lower than 40% and ending no higher than 100% are found in the set of disease-specific terms.

[0368] In some embodiments, the first candidate sample in the set of candidate samples is identified as a match when all of the biological characteristics that are deemed to be associated with the one or more conditions (e.g., the disease-specific terms) are identified in the set of biological characteristics that are over-represented or under-represented in the first candidate sample (e.g., the specimen-specific terms).

[0369] In some embodiments, the first candidate sample in the set of candidate samples is identified as a match when at least 40%, at least 50%, at least 60%, at least 70%, at least 80%, at least 85%, at least 90%, at least 95%, at least 98%, or at least 99% of the disease-specific terms are found in the set of specimen-specific terms. In some embodiments, the first candidate sample in the set of candidate samples is identified as a match when no more than 99%, no more than 98%, no more than 95%, no more than 90%, no more than 80%, no more than 70%, no more than 60%, or no more than 50% of the disease-specific terms are found in the set of specimen-specific terms. In some embodiments, the first candidate sample in the set of candidate samples is identified as a match when from 40% to 90%, from 60% to 99%, or from 70% to 100% of the disease-specific terms are found in the set of specimen-specific terms. In some embodiments, the first candidate sample in the set of candidate samples is identified as a match when another range of the disease-specific terms starting no lower than 40% and ending no higher than 100% are found in the set of specimen-specific terms.

[0370] In some embodiments, the first candidate sample in the set of candidate samples is identified as a match when the biological characteristics that are deemed to be associated with the one or more conditions (e.g., the disease-specific terms) are exactly matched (e.g., 1-to-1) to the set of biological characteristics that are over-represented or under-represented in the first candidate sample (e.g., the specific-specific terms).Further Embodiments

[0371] Another aspect of the present disclosure provides a computer system comprising one or more processors, memory, and one or more programs, where the one or more programs are stored in the memory and are configured to be executed by the one or more processors, the one or more programs including instructions for a method of associating a sample from a sample source with one or more molecular functions, biological processes or cellular components. The method comprises (a) obtaining, for each respective k-mer in a plurality of k-mers, for each respective nucleic acid or protein reference sequence (refi) in a set of reference sequences, a corresponding k-mer weight for the respective k-mer for the respective reference sequence that is a measure of how likely it is that the corresponding k-mer originates from the respective reference sequence, thereby forming a plurality of k-mer weights. In some embodiments, each k-mer in the plurality of k-mers has the same length of k residues and k is in a range of 3 to 30. Each reference sequence in the set of reference sequences is independently associated with one or more molecular functions, biological processes, or cellular components in a plurality of molecular functions, biological processes, or cellular components. The method further includes (b) providing a set of sample sequences for a plurality of nucleic acids or proteins from the sample, where the set of sample sequences comprises N sequences. In some embodiments, N is a positive integer of 5,000 or greater, and each sample sequence in the set of sample sequences has a length of 30 residues or more.

[0372] For each respective sample sequence, the method includes (i) performing, with a computer system, a sequence comparison between the respective sample sequence and the set of reference sequences, where the comparison comprises determining, for each respective reference sequence in the set of reference sequences, a respective set of k-mers within the respective sample sequence that are also found in the respective reference sequence by comparison of each k-mer in the respective sample sequence read of length k to each respective k-mer in the plurality k-mers, and (ii) assigning the respective sample sequence to a particular reference sequence in the set of reference sequences based on the k-mer weights, in the plurality of k-mer weights, for the respective set of k-mers within the sample sequence that are also found in the particular reference sequence.

[0373] The method further includes (c) determining, for each respective molecular function, biological process, or cellular component i in at least a subset of the plurality of molecular functions, biological processes or cellular components, a corresponding count Ci of sample sequences in the set of sample sequences that has been assigned to a reference sequence in the set of reference sequences that is associated with the respective molecular function, biological process, or cellular component; and (d) comparing, for each respective molecular function, biological process, or cellular component i in at least a subset of the plurality of molecular functions, biological processes or cellular components, the corresponding count Ci of sample sequences determined for the respective molecular function, biological process, or cellular component to a corresponding reference count of the number of reference sequences in the set of reference sequences that is associated with the respective molecular function, biological process or cellular component, thereby determining one or more molecular functions, biological processes or cellular components that are over-represented or under-represented in the sample relative to the set of reference sequences and therefore associated with the sample.

[0374] Another aspect of the present disclosure provides a computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by an electronic device with one or more processors and a memory cause the electronic device to perform a method for associating a sample from a sample source with one or more molecular functions, biological processes or cellular components. The method comprises (a) obtaining, for each respective k-mer in a plurality of k-mers, for each respective nucleic acid or protein reference sequence (refi) in a set of reference sequences, a corresponding k-mer weight for the respective k-mer for the respective reference sequence that is a measure of how likely it is that the corresponding k-mer originates from the respective reference sequence, thereby forming a plurality of k-mer weights. In some embodiments, each k-mer in the plurality of k-mers has the same length of k residues and k is in a range of 3 to 30. Each reference sequence in the set of reference sequences is independently associated with one or more molecular functions, biological processes, or cellular components in a plurality of molecular functions, biological processes, or cellular components. The method further includes (b) providing a set of sample sequences for a plurality of nucleic acids or proteins from the sample, where the set of sample sequences comprises N sequences. In some embodiments, N is a positive integer of 5,000 or greater, and each sample sequence in the set of sample sequences has a length of 30 residues or more.

[0375] For each respective sample sequence, the method includes (i) performing, with a computer system, a sequence comparison between the respective sample sequence and the set of reference sequences, where the comparison comprises determining, for each respective reference sequence in the set of reference sequences, a respective set of k-mers within the respective sample sequence that are also found in the respective reference sequence by comparison of each k-mer in the respective sample sequence read of length k to each respective k-mer in the plurality k-mers, and (ii) assigning the respective sample sequence to a particular reference sequence in the set of reference sequences based on the k-mer weights, in the plurality of k-mer weights, for the respective set of k-mers within the sample sequence that are also found in the particular reference sequence.

[0376] The method further includes (c) determining, for each respective molecular function, biological process, or cellular component i in at least a subset of the plurality of molecular functions, biological processes or cellular components, a corresponding count Ci of sample sequences in the set of sample sequences that has been assigned to a reference sequence in the set of reference sequences that is associated with the respective molecular function, biological process, or cellular component; and (d) comparing, for each respective molecular function, biological process, or cellular component i in at least a subset of the plurality of molecular functions, biological processes or cellular components, the corresponding count Ci of sample sequences determined for the respective molecular function, biological process, or cellular component to a corresponding reference count of the number of reference sequences in the set of reference sequences that is associated with the respective molecular function, biological process or cellular component, thereby determining one or more molecular functions, biological processes or cellular components that are over-represented or under-represented in the sample relative to the set of reference sequences and therefore associated with the sample.

[0377] Another aspect of the present disclosure provides a computer system comprising one or more processors, memory, and one or more programs, where the one or more programs are stored in the memory and are configured to be executed by the one or more processors, the one or more programs including instructions for a method of microbiome-based treatment discovery. The method comprises (a) obtaining, for each respective k-mer in a plurality of k-mers, for each respective nucleic acid or protein reference sequence (refi) in a set of reference sequences, a corresponding k-mer weight for the respective k-mer for the respective reference sequence that is a measure of how likely it is that the corresponding k-mer originates from the respective reference sequence, thereby forming a plurality of k-mer weights. In some embodiments, each k-mer in the plurality of k-mers has the same length of k residues and k is in a range of 3 to 30. Each reference sequence in the set of reference sequences is independently associated with one or more molecular functions, biological processes or cellular components in a plurality of molecular functions, biological processes, or cellular components.

[0378] The method further includes (b) for each respective sample in a plurality of samples, where each sample in the plurality of samples is from subject in a cohort of subjects and where a first subset of the cohort of subjects has one or more conditions and a second subset of the cohort of subjects is free of the one or more conditions, obtaining a respective set of sample sequences for a respective plurality of nucleic acids or proteins from the respective sample (e.g., where each respective sample sequence in the respective set of sample sequences has a length of 30 residues or more). For each respective sample sequence, the method includes (i) performing, with a computer system, a sequence comparison between the respective sample sequence and the set of reference sequences, where the comparison comprises determining, for each respective reference sequence in the set of reference sequences, a respective set of k-mers within the respective sample sequence that are also found in the respective reference sequence by comparison of each k-mer in the respective sample sequence read of length k to each respective k-mer in the plurality k-mers, and (ii) assigning the respective sample sequence to a particular reference sequence in the set of reference sequences based on the k-mer weights, in the plurality of k-mer weights, for the respective set of k-mers within the sample sequence that are also found in the particular reference sequence.

[0379] The method further comprises (c) determining, for each respective sample in the plurality of samples associated with the first subset of the cohort of subjects, for each respective molecular function, biological process or cellular component i in the plurality of molecular functions, biological processes or cellular components, a corresponding proportion of sample sequences in the respective set of sample sequences corresponding to the respective sample that has been assigned to a reference sequence in the set of reference sequences that is associated with the respective molecular function, biological process, or cellular component; and (d) determining, for each respective sample in the plurality of samples associated with the second subset of the cohort of subjects, for each respective molecular function, biological process or cellular component i in the plurality of molecular functions, biological processes or cellular components, a corresponding proportion of sample sequences in the respective set of sample sequences corresponding to the respective sample that has been assigned to a reference sequence in the set of reference sequences that is associated with the respective molecular function, biological process or cellular component.

[0380] The method further includes (e) for each respective molecular function, biological process or cellular component i in the plurality of molecular functions, biological processes or cellular components, using the respective corresponding proportions of sample sequences across the samples associated with the second subset of the cohort and the respective corresponding proportions of sample sequences across the samples associated with the first subset of the cohort that have been assigned to a reference sequence in the set of reference sequences that is associated with the respective molecular function, biological process, or cellular component to determine whether the first subset of the cohort of subjects over-represents or under-represents the respective molecular function, biological process or cellular component relative to the second subset of the cohort of subjects and is therefore associated with the one or more conditions.

[0381] Another aspect of the present disclosure provides a computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by an electronic device with one or more processors and a memory cause the electronic device to perform a method for microbiome-based treatment discovery. The method comprises (a) obtaining, for each respective k-mer in a plurality of k-mers, for each respective nucleic acid or protein reference sequence (refi) in a set of reference sequences, a corresponding k-mer weight for the respective k-mer for the respective reference sequence that is a measure of how likely it is that the corresponding k-mer originates from the respective reference sequence, thereby forming a plurality of k-mer weights. In some embodiments, each k-mer in the plurality of k-mers has the same length of k residues and k is in a range of 3 to 30. Each reference sequence in the set of reference sequences is independently associated with one or more molecular functions, biological processes or cellular components in a plurality of molecular functions, biological processes, or cellular components.

[0382] The method further includes (b) for each respective sample in a plurality of samples, where each sample in the plurality of samples is from subject in a cohort of subjects and where a first subset of the cohort of subjects has one or more conditions and a second subset of the cohort of subjects is free of the one or more conditions, obtaining a respective set of sample sequences for a respective plurality of nucleic acids or proteins from the respective sample (e.g., where each respective sample sequence in the respective set of sample sequences has a length of 30 residues or more). For each respective sample sequence, the method includes (i) performing, with a computer system, a sequence comparison between the respective sample sequence and the set of reference sequences, where the comparison comprises determining, for each respective reference sequence in the set of reference sequences, a respective set of k-mers within the respective sample sequence that are also found in the respective reference sequence by comparison of each k-mer in the respective sample sequence read of length k to each respective k-mer in the plurality k-mers, and (ii) assigning the respective sample sequence to a particular reference sequence in the set of reference sequences based on the k-mer weights, in the plurality of k-mer weights, for the respective set of k-mers within the sample sequence that are also found in the particular reference sequence.

[0383] The method further comprises (c) determining, for each respective sample in the plurality of samples associated with the first subset of the cohort of subjects, for each respective molecular function, biological process or cellular component i in the plurality of molecular functions, biological processes or cellular components, a corresponding proportion of sample sequences in the respective set of sample sequences corresponding to the respective sample that has been assigned to a reference sequence in the set of reference sequences that is associated with the respective molecular function, biological process, or cellular component; and (d) determining, for each respective sample in the plurality of samples associated with the second subset of the cohort of subjects, for each respective molecular function, biological process or cellular component i in the plurality of molecular functions, biological processes or cellular components, a corresponding proportion of sample sequences in the respective set of sample sequences corresponding to the respective sample that has been assigned to a reference sequence in the set of reference sequences that is associated with the respective molecular function, biological process or cellular component.

[0384] The method further includes (e) for each respective molecular function, biological process or cellular component i in the plurality of molecular functions, biological processes or cellular components, using the respective corresponding proportions of sample sequences across the samples associated with the second subset of the cohort and the respective corresponding proportions of sample sequences across the samples associated with the first subset of the cohort that have been assigned to a reference sequence in the set of reference sequences that is associated with the respective molecular function, biological process, or cellular component to determine whether the first subset of the cohort of subjects over-represents or under-represents the respective molecular function, biological process or cellular component relative to the second subset of the cohort of subjects and is therefore associated with the one or more conditions.

[0385] Another aspect of the present disclosure provides a computer system comprising one or more processors, memory, and one or more programs, where the one or more programs are stored in the memory and are configured to be executed by the one or more processors, the one or more programs including instructions for a method of microbiome-based treatment discovery. The method comprises (a) obtaining, for each respective k-mer in a plurality of k-mers, for each respective nucleic acid or protein reference sequence (refi) in a set of reference sequences, a corresponding k-mer weight for the respective k-mer for the respective reference sequence that is a measure of how likely it is that the corresponding k-mer originates from the respective reference sequence, thereby forming a plurality of k-mer weights. In some embodiments, each k-mer in the plurality of k-mers has the same length of k residues and k is in a range of 3 to 30. Each reference sequence in the set of reference sequences is independently associated with one or more molecular functions, biological processes or cellular components in a plurality of molecular functions, biological processes or cellular components.

[0386] The method includes (b) for each respective sample in a plurality of samples, where each sample in the plurality of samples is from a subject in a cohort of subjects and where a first subset of the cohort of subjects has one or more conditions and a second subset of the cohort of subjects is free of the one or more conditions, obtaining a respective set of sample sequences for a respective plurality of nucleic acids or proteins from the respective sample (e.g., where each respective sample sequence in the respective set of sample sequences has a length of 30 residues or more). For each respective sample sequence, the method includes (i) performing, with a computer system, a sequence comparison between the respective sample sequence and the set of reference sequences, where the comparison comprises determining, for each respective reference sequence in the set of reference sequences, a respective set of k-mers within the respective sample sequence that are also found in the respective reference sequence by comparison of each k-mer in the respective sample sequence read of length k to each respective k-mer in the plurality k-mers, and (ii) assigning the respective sample sequence to a particular reference sequence in the set of reference sequences based on the k-mer weights, in the plurality of k-mer weights, for the respective set of k-mers within the sample sequence that are also found in the particular reference sequence.

[0387] The method further comprises (c) determining, for each respective sample in the plurality of samples associated with the first subset of the cohort of subjects, for each respective molecular function, biological process or cellular component i in the plurality of molecular functions, biological processes or cellular components, a corresponding proportion of sample sequences in the respective set of sample sequences corresponding to the respective sample that has been assigned to a reference sequence in the set of reference sequences that is associated with the respective molecular function, biological process or cellular component; and (d) determining, for each respective sample in the plurality of samples associated with the second subset of the cohort of subjects, for each respective molecular function, biological process or cellular component i in the plurality of molecular functions, biological processes or cellular components, a corresponding proportion of sample sequences in the respective set of sample sequences corresponding to the respective sample that has been assigned to a reference sequence in the set of reference sequences that is associated with the respective molecular function, biological process or cellular component.

[0388] The method further includes (e) using, for each respective molecular function, biological process or cellular component i in the plurality of molecular functions, biological processes or cellular components, the respective corresponding proportions of sample sequences across the samples associated with the second subset of the cohort and the respective corresponding proportions of sample sequences across the samples associated with the first subset of the cohort that have been assigned to a reference sequence in the set of reference sequences that is associated with the respective molecular function, biological process or cellular component to determine whether the second subset of the cohort of subjects over-represents or under-represents the respective molecular function, biological process or cellular component relative to the first subset of the cohort of subjects and is therefore associated with the one or more conditions.

[0389] Another aspect of the present disclosure provides a computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by an electronic device with one or more processors and a memory cause the electronic device to perform a method for microbiome-based treatment discovery. The method comprises (a) obtaining, for each respective k-mer in a plurality of k-mers, for each respective nucleic acid or protein reference sequence (refi) in a set of reference sequences, a corresponding k-mer weight for the respective k-mer for the respective reference sequence that is a measure of how likely it is that the corresponding k-mer originates from the respective reference sequence, thereby forming a plurality of k-mer weights. In some embodiments, each k-mer in the plurality of k-mers has the same length of k residues and k is in a range of 3 to 30. Each reference sequence in the set of reference sequences is independently associated with one or more molecular functions, biological processes or cellular components in a plurality of molecular functions, biological processes or cellular components.

[0390] The method includes (b) for each respective sample in a plurality of samples, where each sample in the plurality of samples is from a subject in a cohort of subjects and where a first subset of the cohort of subjects has one or more conditions and a second subset of the cohort of subjects is free of the one or more conditions, obtaining a respective set of sample sequences for a respective plurality of nucleic acids or proteins from the respective sample (e.g., where each respective sample sequence in the respective set of sample sequences has a length of 30 residues or more). For each respective sample sequence, the method includes (i) performing, with a computer system, a sequence comparison between the respective sample sequence and the set of reference sequences, where the comparison comprises determining, for each respective reference sequence in the set of reference sequences, a respective set of k-mers within the respective sample sequence that are also found in the respective reference sequence by comparison of each k-mer in the respective sample sequence read of length k to each respective k-mer in the plurality k-mers, and (ii) assigning the respective sample sequence to a particular reference sequence in the set of reference sequences based on the k-mer weights, in the plurality of k-mer weights, for the respective set of k-mers within the sample sequence that are also found in the particular reference sequence.

[0391] The method further comprises (c) determining, for each respective sample in the plurality of samples associated with the first subset of the cohort of subjects, for each respective molecular function, biological process or cellular component i in the plurality of molecular functions, biological processes or cellular components, a corresponding proportion of sample sequences in the respective set of sample sequences corresponding to the respective sample that has been assigned to a reference sequence in the set of reference sequences that is associated with the respective molecular function, biological process or cellular component; and (d) determining, for each respective sample in the plurality of samples associated with the second subset of the cohort of subjects, for each respective molecular function, biological process or cellular component i in the plurality of molecular functions, biological processes or cellular components, a corresponding proportion of sample sequences in the respective set of sample sequences corresponding to the respective sample that has been assigned to a reference sequence in the set of reference sequences that is associated with the respective molecular function, biological process or cellular component.

[0392] The method further includes (e) using, for each respective molecular function, biological process or cellular component i in the plurality of molecular functions, biological processes or cellular components, the respective corresponding proportions of sample sequences across the samples associated with the second subset of the cohort and the respective corresponding proportions of sample sequences across the samples associated with the first subset of the cohort that have been assigned to a reference sequence in the set of reference sequences that is associated with the respective molecular function, biological process or cellular component to determine whether the second subset of the cohort of subjects over-represents or under-represents the respective molecular function, biological process or cellular component relative to the first subset of the cohort of subjects and is therefore associated with the one or more conditions.

[0393] Another aspect of the present disclosure provides a computer system having one or more processors, and memory storing one or more programs for execution by the one or more processors, the one or more programs comprising instructions for performing any of the methods and / or embodiments disclosed herein. In some embodiments, any of the presently disclosed methods and / or embodiments are performed at a computer system having one or more processors, and memory storing one or more programs for execution by the one or more processors.

[0394] Another aspect of the present disclosure provides a non-transitory computer readable storage medium storing one or more programs configured for execution by a computer, the one or more programs comprising instructions for carrying out any of the methods disclosed herein.EXAMPLESExample 1—Microbiome Studies

[0395] In some implementations, the systems and methods of the present disclosure can be used for microbiome studies. There are many ongoing studies on human gut microbiomes. However, while most microbiome studies focus on understanding what organisms are present, in many cases, the ontological contexts (e.g., biological functions, processes, and / or components) represented by one or a few microorganisms allow for a more thorough understanding of how a microbiome works. The present disclosure provides methods to understand such biological contexts (e.g., ontological terms or biological characteristics) associated with samples or microorganisms therein, without the need of knowledge of microorganism name or taxa.

[0396] In some embodiments of the present example, DNA and / or RNA is extracted from human fecal samples, and the DNA or RNA is sequenced to generate a set of sample sequences in the form of a sequence reads file. A weighted k-mers comparison method, as described in the present disclosure, is then performed to identify statistically significant biological characteristics (e.g., molecular function, biological process or cellular component terms) represented by the plurality of organisms (e.g., the microbiome) from the fecal sample.

[0397] In some embodiments of the present example, fecal samples are collected from a cohort of human subjects including two subsets (e.g., groups). Subjects within a first subset group A have a similar disease or health condition, such as a type of allergy, while subjects within a second subset group B do not have the specified condition.

[0398] First embodiment. In some embodiments, the sequence reads files from the fecal samples of group B can be used to establish the expected occurrence for all biological characteristics. As described above, the “expected occurrence” can be obtained, for each respective biological characteristic in a plurality of biological characteristics, by, for each respective iteration in a plurality of iterations, obtaining a respective count of the sample sequences in a randomly generated set of sample sequences (e.g., a randomly generated sequence reads file) that are assigned to the respective biological characteristic (because they map to reference sequences that have been associated with the biological characteristic), and averaging the counts over the plurality of iterations. See, for example, the sections entitled “Introduction” and “Treatment discovery,” above. Each sequence reads file from the fecal samples of group A is then analyzed against group B to identify statistically significant (e.g., over-represented and / or under-represented) biological characteristics.

[0399] In accordance with the method, there is obtained, for each respective k-mer in a plurality of k-mers, for each respective nucleic acid or protein reference sequence (refi) in a set of reference sequences, a corresponding k-mer weight for the respective k-mer for the respective reference sequence that is a measure of how likely it is that the corresponding k-mer originates from the respective reference sequence, thereby forming a plurality of k-mer weights. In some embodiments, each k-mer in the plurality of k-mers has the same length of k residues, where k is a positive integer in the range of 3 to 30. In such embodiments, each reference sequence in the set of reference sequences is independently associated with one or more molecular functions, biological processes or cellular components in a plurality of molecular functions, biological processes or cellular components.

[0400] As described above, the first group (group A) and second group (group B) represent a cohort of subjects, where a first subset of the cohort of subjects (group A) has one or more conditions such as a health condition or a disease and a second subset of the cohort of subjects (group B) is free of the one or more conditions.

[0401] In accordance with the disclosed methods, for each respective sample in a plurality of samples, where each sample in the plurality of samples is from a subject in the cohort of subjects there is obtained a respective set of sample sequences for a respective plurality of nucleic acids from the respective sample. In some embodiments the respective set of sample sequences comprises 100 or more, 1000 or more, or 5,000 or more sequences. In some embodiments, each respective sample sequence in the respective set of sample sequences has a length of 30 residues or more. For instance, as described above, DNA and / or RNA is extracted from a human fecal sample from a subject in the cohort of subjects, and the DNA or RNA is sequenced to generate a set of sample sequences in the form of a sequence reads file.

[0402] For each respective sample sequence, there is performed, with a computer system, a sequence comparison between the respective sample sequence and the set of reference sequences. This comparison comprises determining, for each respective reference sequence in the set of reference sequences, a respective set of k-mers within the respective sample sequence that are also found in the respective reference sequence by comparison of each k-mer in the respective sample sequence read of length k to each respective k-mer in the plurality k-mers. From this, the respective sample sequence is assigned to a particular reference sequence in the set of reference sequences based on the k-mer weights, in the plurality of k-mer weights, for the respective set of k-mers within the sample sequence that are also found in the particular reference sequence. Accordingly, as described above, in some such implementations, a weighted k-mers comparison method, as described in the present disclosure, is performed to assign sample sequences from samples of subjects in the cohort to reference sequences in the set of reference sequences.

[0403] Thus, at this stage, each of the sequence reads from each of the samples in the cohort (including both group A and group B) have been assigned to one or more molecular functions, biological processes, or cellular components. While it may be the case that some of the sequence reads may not be assigned to any molecular functions, biological process or cellular components, the absence of assignment to any known molecular functions, biological processes or cellular components is considered in and of itself a molecular function, biological process or cellular component (e.g., a null molecular function, biological process or cellular component).

[0404] In accordance with Example 1, there is determined, for each respective sample in the plurality of samples associated with the first subset (group A) of the cohort of subjects, for each respective molecular function, biological process or cellular component i in a plurality of molecular functions, biological processes or cellular components, a corresponding proportion of sample sequences in the respective set of sample sequences corresponding to the respective sample that has been assigned to a reference sequence in the set of reference sequences that is associated with the respective molecular function, biological process, or cellular component.

[0405] Also a determination is made, for each respective sample in the plurality of samples associated with the second subset (group B) of the cohort of subjects, for each respective molecular function, biological process or cellular component i in the plurality of molecular functions, biological processes or cellular components, a corresponding proportion of sample sequences in the respective set of sample sequences corresponding to the respective sample that has been assigned to a reference sequence in the set of reference sequences that is associated with the respective molecular function, biological process or cellular component.

[0406] Then, for each respective molecular function or biological process i in the plurality of molecular functions, biological processes or cellular components, the respective corresponding proportions of sample sequences across the samples associated with the second subset (group B) of the cohort and the respective corresponding proportions of sample sequences across the samples associated with the first subset (group A) of the cohort that have been assigned to a reference sequence in the set of reference sequences that is associated with the respective molecular function, biological process or cellular component is used to determine whether the second subset (as opposed to the first subset) of the cohort of subjects over-represents or under-represents the respective molecular function, biological process or cellular component relative to the first subset of the cohort of subjects and is therefore associated with the one or more conditions.

[0407] In some embodiments, the determining whether the second subset (group B) over-represents or under-represents the respective biological characteristic (e.g., the respective molecular function, biological process or cellular component) relative to the first subset (group A) includes identifying statistically significant biological characteristics.

[0408] For example, consider the case of the respective molecular function α that has an average representation in group A of 0.03 and an average representation in group B of 0.05. In other words, on average across the subjects of group A, three percent of the sequences from subjects of group A are identified with molecular function α while, on average, across the subjects of group B, five percent of the sequences from subjects of group A are identified with molecular function α. Under the assumption that group B represents a binomial probability distribution, the probability P(α) of finding the average representation in group A of 0.03 given the average representation in group B of 0.05 can be calculated as:P⁡(α)=n!(n-x)!⁢x!·px⁢qn-xwhere p is the probability of success for any one sequence to associate with the respective molecular function α in group B (p=0.05 in this example), q=1−p and is the probability of failure for any one sequence to associate with the respective molecular function α in group B, n is the total number of sequence reads in group A that were sampled and x is the number of sequences in group A that were sampled and deemed to be associated with molecular function α.The average representation in group A is 0.03. Suppose that this number was obtained by considering 1000 sequence reads (n=1000) randomly drawn from group A and determining that 30 (x=30) of them associate with molecular function α. Then the probability of getting 30 sequence reads to associate with molecular function α in a sample size of 1000 is given by:P⁡(α)=1000!(1000-30)!⁢30!·(0.05)30⁢(0.95)970=0.00056Since this probability is less than 0.05, it is deemed to be statistically significant. In other words, the molecular function α is under-represented in group A relative to group B. In some embodiments a probability cutoff other than 0.05 is used such as 0.005 or 0.0005. In some embodiments, the process of randomly drawing sequences from group A, determining the number of sequences (x) that associate with molecular function α versus the number drawn (n), and computing the probability P(α) for the random draw is performed 10 or more times, 100 or more times, or 1000 or more times and each calculated P(α) is averaged together to arrive at the probability that molecular function α is over-represented or under-represented in group A relative to group B. In some embodiments, rather than assuming that group B is a binomial probability distribution and thus amendable to the above-identified formula, group B is assumed to be another distribution type such as a Poisson binomial distribution. Alternatively, the repetition of the random draw is used to establish an expected value and a Chi-Square test is used to determine whether molecular function α is over or under represented in group A relative to group B. From the above, on average 30 out of each 1000 sequence reads from group A map to molecular function α. Further still, on a normalized basis, 50 out of each 1000 sequences for group B map to molecular function α. The chi-square statistic for this situation can be framed as:x2=(O1-E1)2E1+(O2-E2)2E2where O1 is the observed frequency (30) for molecular function α, E1 is the expected frequency for molecular function α (50), O2 is the observed frequency for the all other outcomes (970), and E2 is the expected frequency for all other outcomes (950). In this instance:x2=(30-50)250+(970-950)2950=8+0.42=8.42There is 1 degree of freedom in this test and thus the x2 value 8.42 is evaluated against a chi-square distribution having 1 degree of freedom. See Smith, Statistical Reasoning, Third, Addition, 1991, Allyn and Bacon, Needham Heights, Massachusetts, pp. 473-478, which is hereby incorporated by reference. The x2 value 8.42 evaluated against a chi-square distribution having 1 degree of freedom has a P value of 0.0037 and thus the molecular function α is under-represented in Group A.

[0413] The identified statistically significant molecular function, biological process, or cellular component terms may indicate the importance of those molecular functions, biological processes, or cellular components in association with (e.g., related to neutralizing, treating, or curing) the disease or health conditions of group A. These associated terms are referred to herein as Disease Specific Terms. Once such molecular functions, biological processes or cellular components have been associated with the disease, subsequent research efforts directed to up-regulating, down-regulating, or inhibiting these molecular functions, biological processes or cellular components can be made in order to address the disease. This provides a novel method to systematically discover microbiome-based drug discovery and development.

[0414] Second embodiment. In some embodiments, the sequence reads files from the samples of group A can be used to establish the expected occurrence for the biological characteristics (e.g., all molecular function, biological process, or cellular component terms in the one or more molecular functions, biological processes, or cellular components). Then each sequence read file from the samples of group B is analyzed against group A to identify statistically significant molecular function, biological process or cellular component terms in group B. As described above, the identified statistically significant molecular function, biological process or cellular components terms may indicate the importance of those molecular functions, biological processes or cellular components in neutralizing, treating or curing the disease or health conditions of group A. These associated terms are referred to herein as Disease Specific Terms. As described in the first embodiment of Example 1, this provides a novel method to systematically discover microbiome-based drug discovery and development.

[0415] Thus, using the example from the first embodiment, for each respective molecular function, biological process or cellular component i in the plurality of molecular functions, biological processes or cellular components, the respective corresponding proportions of sample sequences across the samples associated with the first subset (group A) of the cohort and the respective corresponding proportions of sample sequences across the samples associated with the second subset (group B) of the cohort that have been assigned to a reference sequence in the set of reference sequences that is associated with the respective molecular function, biological process or cellular component is used to determine whether the second subset of the cohort of subjects over-represents or under-represents the respective molecular function, biological process or cellular component relative to the first subset of the cohort of subjects and is therefore associated with the one or more conditions.

[0416] For example, consider the case of the respective molecular function α that has an average representation in group A of 0.03 and an average representation in group B of 0.05. In other words, on average across the subjects of group A, three percent of the sequences from subjects of group A are identified with molecular function α while, on average, across the subjects of group B, five percent of the sequences from subjects of group A are identified with molecular function α. Under the assumption that group A represents a binomial probability distribution, the probability P(α) of finding the average representation in group B of 0.05 given the average representation in group A of 0.03 can be calculated as:P⁡(α)=n!(n-x)!⁢x!·px⁢qn-xwhere p is the probability of success for any one sequence to associate with the respective molecular function α in group A (p=0.03 in this example), q=1−p and is the probability of failure for any one sequence to associate with the respective molecular function α in group A, n is the number of sequence reads in group B that were sampled and x is the number of sequences in group B that were sampled and deemed to be associated with molecular function α.The average representation in group B is 0.05. Suppose that this number was obtained by considering 1000 sequence reads (n=1000) randomly drawn from group B and determining that 50 (x=50) of them associate with molecular function α. Then the probability of getting 50 sequence reads to associate with molecular function α in a sample size of 1000 is given by:P⁡(α)=1000!(1000-50)!⁢50!·(0.03)50⁢(0.97)950=0.00018Since this probability is less than 0.05 it is deemed to be statistically significant. In other words, molecular function α is over-represented in group B relative to group A. In some embodiments, the process of randomly drawing sequences from group B, determining the number of sequences (x) that associate with molecular function α versus the number drawn (n), and computing the probability P(α) for the random draw is performed 10 or more times, 100 or more times, or 1000 or more times and each calculated P(α) is averaged together to arrive at the probability that molecular function α is over-represented or under-represented in group B relative to group A.

[0419] Alternatively, the repetition of the random draw is used to establish an expected value and a Chi-Square test is used to determine whether the molecular function α is over-represented or under-represented in group B relative to group A using the Chi-Square test described for the first embodiment.

[0420] Third embodiment. In some embodiments, a set of collected fecal samples, a set of microbiome samples, or a set of isolated microorganisms can be analyzed similarly to identify and establish a set of statistically significant molecular function, biological process, or cellular component terms that are associated with each fecal sample, or microbiome sample or isolated microorganism. These associated terms are called herein Specimen Specific Terms. For a given disease or health condition, once the statistically significant molecular function, biological process, or cellular component terms are identified using the methods disclosed herein, the established set of statistically significant (e.g., over-represented and / or under-represented) molecular function, biological process, or cellular component terms for each sample or microorganism (e.g., Specimen Specific Terms) are matched with one or more molecular function, biological process, or cellular component terms that are deemed to be associated with one or more conditions such as a health condition or a disease (e.g., Disease Specific Terms). The fecal samples, microbiome samples, or isolated microorganisms whose Specimen Specific Terms match the Disease Specific Terms are selected individually, combined all together, or combined using only a subset, to generate a cure or treatment for the disease or health condition of Group A.Example 2—Immune Response

[0421] In a second example, the systems and methods of the present disclosure are used to understand an immune response of an individual to an external agent, e.g., an infectious agent, a drug, or a combination thereof. In some such embodiments, body fluid, blood, or swab samples are collected from a subject, and RNA analytes are extracted from the sample and sequenced. The set of sample sequences, in the form of a sequence reads file from the RNA sample, is then analyzed using conventional methods to identify genes that are differentially expressed.

[0422] Typically, a single gene is involved in many biological functions, pathways or processes. Thus, identifying a set of differentially expressed genes (e.g., a transcriptional profile), which contains many genes, can be insufficient to provide a clear indication of the biological activity or phenotypes, such as immune responses, that can occur as a result of the particular transcriptional activity. Advantageously, the sequence reads file from the RNA sample can be analyzed using the presently disclosed methods, and any biological function or process terms associated with the immune response will be reported directly without the need to identify the individual genes, whether differentially expressed or not.Additional Embodiments

[0423] Embodiment 1. A method of associating a sample from a sample source with one or more molecular functions, biological processes, or cellular components, the method comprising:

[0424] (a) obtaining, for each respective k-mer in a plurality of k-mers, for each respective nucleic acid or protein reference sequence (refi) in a set of reference sequences, a corresponding k-mer weight for the respective k-mer for the respective reference sequence that is a measure of how likely it is that the corresponding k-mer originates from the respective reference sequence, thereby forming a plurality of k-mer weights, wherein

[0425] each k-mer in the plurality of k-mers has the same length of k residues,

[0426] k is in a range of 3 to 30, and

[0427] each reference sequence in the set of reference sequences is independently associated with one or more molecular functions, biological processes, or cellular components in a plurality of molecular functions, biological processes, or cellular components;

[0428] (b) providing a set of sample sequences for a plurality of nucleic acids or proteins from the sample, wherein the set of sample sequences comprises N sequences, wherein N is a positive integer of 5,000 or greater, and wherein each sample sequence in the set of sample sequences has a length of 30 residues or more, and for each respective sample sequence:

[0429] (i) performing, with a computer system, a sequence comparison between the respective sample sequence and the set of reference sequences, wherein the comparison comprises determining, for each respective reference sequence in the set of reference sequences, a respective set of k-mers within the respective sample sequence that are also found in the respective reference sequence by comparison of each k-mer in the respective sample sequence read of length k to each respective k-mer in the plurality k-mers, and

[0430] (ii) assigning the respective sample sequence to a particular reference sequence in the set of reference sequences based on the k-mer weights, in the plurality of k-mer weights, for the respective set of k-mers within the sample sequence that are also found in the particular reference sequence;

[0431] (c) determining, for each respective molecular function, biological process, or cellular component i in at least a subset of the plurality of molecular functions, biological processes or cellular components, a corresponding count Ci of sample sequences in the set of sample sequences that has been assigned to a reference sequence in the set of reference sequences that is associated with the respective molecular function, biological process, or cellular component; and

[0432] (d) comparing, for each respective molecular function, biological process, or cellular component i in at least a subset of the plurality of molecular functions, biological processes or cellular components, the corresponding count Ci of sample sequences determined for the respective molecular function, biological process, or cellular component to a corresponding reference count of the number of reference sequences in the set of reference sequences that is associated with the respective molecular function, biological process or cellular component, thereby determining one or more molecular functions, biological processes or cellular components that are over-represented or under-represented in the sample relative to the set of reference sequences and therefore associated with the sample.

[0433] Embodiment 2. The method of Embodiment 1, wherein the respective molecular function, biological process or cellular component is deemed to be over-represented in the sample relative to the set of reference sequences when a probability that N sequences randomly selected from the set of reference sequences includes at least Ci sequences associated with the respective molecular function, biological process or cellular component is less than a threshold probability.

[0434] Embodiment 3. The method of Embodiment 2, wherein the probability that N sequences randomly selected from the set of reference sequences includes at least Ci sequences associated with the respective molecular function, biological process or cellular component is computed using (i) an average observed number of reference sequences associated with the respective molecular function, biological process or cellular component across a plurality of random samplings of the set of reference sequences for N reference sequences, (ii) a total number of reference sequences in the set of reference sequences, and (iii) an assumption that the set of reference sequences represents a Poisson or binomial distribution.

[0435] Embodiment 4. The method of Embodiment 3, wherein the plurality of random samplings comprises 2 or more, 5 or more, 10 or more, 100 or more, 1000 or more or 10,000 or more random samplings of the set of reference sequences for N reference sequences.

[0436] Embodiment 5. The method of Embodiment 1, wherein the respective molecular function, biological process or cellular component is deemed to be under-represented in the sample relative to the set of reference sequences when a probability that N sequences randomly selected from the set of reference sequences includes less then Ci sequences associated with the respective molecular function, biological process or cellular component is less than a threshold probability.

[0437] Embodiment 6. The method of Embodiment 5, wherein the probability that N sequences randomly selected from the set of reference sequences includes less than Ci sequences associated with the respective molecular function, biological process or cellular component is computed using (i) an average observed number of reference sequences associated with the respective molecular function, biological process or cellular component across a plurality of random samplings of the set of reference sequences for N reference sequences, (ii) a total number of reference sequences in the set of reference sequences, and (iii) an assumption that the set of reference sequences represents a Poisson or binomial distribution.

[0438] Embodiment 7. The method of Embod...

Claims

1. A method of determining the representation of biological characteristics in a sample, the method comprising:(a) obtaining a set of sample sequences from nucleic acids or proteins found in the sample;(b) obtaining a reference database comprising a set of reference sequences of nucleic acids or proteins;(c) determining whether a sample sequence in the set of sample sequences maps to a reference sequence in the reference database based on comparing k-mers in the sample sequence to k-mers in the reference sequence;(d) determining an observed occurrence of the characteristic in the sample based on determining a number of sample sequences that each map to one reference sequence from the reference database and associated with the characteristic; and(e) determining if the characteristic is over-represented or under-represented in the sample based on comparing the observed occurrence to an expected occurrence of the characteristic.

2. The method of claim 1, wherein the characteristic is a molecular function, a biological process, or a cellular component of cells or viruses in the sample.

3. The method of claim 1, wherein the observed occurrence is a count, a proportion, or a frequency.

4. The method of claim 1, wherein the expected occurrence is obtained from experimental data on a population of cells or viruses in another sample, wherein the types and / or the states of the population of cells or viruses differ from those of the group of cells or viruses.

5. The method of claim 1, wherein the sample is derived from a group of subjects having one or more conditions comprising health conditions, diseases, infections, exposure to contaminations or therapeutics, or any combinations thereof.

6. The method of claim 1, wherein the expected occurrence is assessed based on one or more control samples derived from a group of subjects who do not have the one or more conditions.

7. The method of claim 1, wherein determining the characteristic as over-represented or under-represented in the sample in (e) comprises determining whether a difference between the observed occurrence and the expected occurrence is statistically significant.

8. The method of claim 1, wherein determining whether a sample sequence in the set of sample sequences maps to a reference sequence in the reference database in (c) is further based on k-mer weights for k-mers that match between said sample sequence and said reference sequence, wherein a k-mer weight is a measure of a likelihood that a particular k-mer originates from a particular reference sequence.

9. The method of claim 8, wherein a sample sequence is determined to be mapped to a reference sequence if a sum of k-mer weights for k-mers that match between said sample sequence and said reference sequence is above a predetermined threshold.

10. The method of claim 8, wherein a sample sequence is determined to be mapped to a reference sequence in the reference database that corresponds to the maximal sum of k-mer weights for k-mers that match between said sample sequence and said reference sequence.

11. The method of claim 8, wherein a k-mer weight for a particular k-mer with respect to a particular reference sequence relates to a number of occurrences of the particular k-mer in the particular reference sequence, a number of occurrences of the particular k-mer in the set of reference sequences of the reference database, or a number of all k-mers of length k-residue in the set of reference sequences of the reference database.

12. The method of claim 1, wherein (c) is performed for every sample sequence in the set of sample sequences with respect to every reference sequence in the reference database.

13. The method of claim 1, wherein the set of sample sequences or the set of reference sequences comprises polynucleotide sequences reverse-translated from amino acid sequences.

14. The method of claim 1, wherein the sample comprises cancer cells.

15. The method of claim 1, wherein the sample comprises bacterial cells.

16. The method of claim 1, wherein the sample comprises viruses.

17. The method of claim 1, wherein the sample comprises cell-free nucleic acids or proteins.

18. A computer system comprising:one or more processors;memory; andone or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, the one or more programs including instructions for performing a method of claim 1.

19. A computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by an electronic device with one or more processors and a memory cause the electronic device to perform a method of claim 1.