# US 12,081,639 B1 · Systems and methods for pre-processing string data for network transmission

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 12,081,639 B1
- Document ID: US12081639B1
- Status: Granted
- Kind: B1
- Application number: 18/319,008
- Filed: 2023-05-17
- Granted: 2024-09-03
- Earliest claimed: 2023-05-17
- Assignees: Pathogenomix, Inc.
- Applicants: Pathogenomix, Inc.
- Inventors: Oystein Friestad Saebo
- Web page: https://patentgrep.com/patent/US12081639B1

## CPC

- H04L 69/04: Protocols for data compression, e.g. ROHC
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Systems and methods for pre-processing string data for network transmission are disclosed. A system can extract first sequences from a sequence file and generate respective encoded sequences based on the first sequences extracted from the sequence file. The system can generate a hash table that stores the respective encoded sequences. The system can combine at least two entries in the hash table based on a comparison of data generated from at least two of the respective plurality of encoded sequences. The system can transmit an output file including a plurality of decoded sequences generated based on the hash table.

## Claims

### Claim 1

A system, comprising:
one or more processors coupled to memory, the one or more processors configured to:
extract a plurality of first sequences from a sequence file;
generate a respective plurality of encoded sequences based on the plurality of first sequences extracted from the sequence file, wherein the respective plurality of encoded sequences are run-length encodings (RLE) of the plurality of first sequences;
generate a hash table that stores the respective plurality of encoded sequences;
combine at least two entries in the hash table based on a comparison of data generated from at least two of the respective plurality of encoded sequences, wherein combining the at least two entries comprises
determining that at least two RLE sequences of the respective plurality of encoded sequences match;
calculating, for each base of the at least two RLE sequences, a respective average of RLE counters of the at least two RLE sequences; and
combining the at least two RLE sequences in the hash table; and
transmit an output file including a plurality of decoded sequences generated based on the hash table.

### Claim 2 (depends on 1)

The system of claim 1, wherein the one or more processors are further configured to extract the plurality of first sequences by performing operations comprising:
identifying a respective primer for a sequence of the plurality of first sequences in the sequence file; and
extracting the sequence based on the respective primer.

### Claim 3 (depends on 2)

The system of claim 2, wherein the one or more processors are further configured to:
determine that one primer was identified for the sequence of the plurality of first sequences; and
increment a counter corresponding to partial primer coverage for the sequence file.

### Claim 4 (depends on 2)

The system of claim 2, wherein the respective primer is a respective forward primer, and the one or more processors are further configured to extract the plurality of first sequences by performing operations comprising:
identifying a corresponding reverse primer for the sequence of the plurality of first sequences in the sequence file; and
extracting the sequence based on the forward primer and the corresponding reverse primer.

### Claim 5 (depends on 4)

The system of claim 4, wherein the one or more processors are further configured to increment a counter corresponding to full primer coverage for the sequence file.

### Claim 6

A method, comprising:
extracting, by one or more processors coupled to non-transitory memory, a plurality of first sequences from a sequence file;
generating, by the one or more processors, a respective plurality of encoded sequences based on the plurality of first sequences extracted from the sequence file, wherein the respective plurality of encoded sequences are run-length encodings (RLE) of the plurality of first sequences;
generating, by the one or more processors, a hash table that stores the respective plurality of encoded sequences;
combining, by the one or more processors, at least two entries in the hash table based on a comparison of data generated from at least two of the respective plurality of encoded sequences, wherein combining the at least two entries comprises
determining that at least two RLE sequences of the respective plurality of encoded sequences match;
calculating, for each base of the at least two RLE sequences, a respective average of RLE counters of the at least two RLE sequences; and
combining the at least two RLE sequences in the hash table; and
transmitting, by the one or more processors, an output file including a plurality of decoded sequences generated based on the hash table.

### Claim 7 (depends on 6)

The method of claim 6, wherein extracting the plurality of first sequences comprises:
identifying, by the one or more processors, a respective primer for a sequence of the plurality of first sequences in the sequence file; and
extracting, by the one or more processors, the sequence based on the respective primer.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
determining, by the one or more processors, that one primer was identified for the sequence of the plurality of first sequences; and
incrementing, by the one or more processors, a counter corresponding to partial primer coverage for the sequence file.

### Claim 9 (depends on 7)

The method of claim 7, wherein the respective primer is a respective forward primer, and wherein extracting the plurality of first sequences comprises:
identifying, by the one or more processors, a corresponding reverse primer for the sequence of the plurality of first sequences in the sequence file; and
extracting, by the one or more processors, the sequence based on the forward primer and the corresponding reverse primer.

### Claim 10 (depends on 9)

The method of claim 9, further comprising incrementing, by the one or more processors, a counter corresponding to full primer coverage for the sequence file.
