Method and apparatus for searching nucleic acid sequence
AssigneeSamsung Electronics Co., Ltd.
InventorsTae-jin Ahn, Kyu-Sang Lee
Life of this patent
Estimating the term…
Abstract
A method and apparatus for searching compressed nucleic acid sequences are disclosed. In the method, a reference sequence is compared with a subject sequence to be encoded, the subject sequence is compressed, an index is created with respect to the reference sequence and the compressed subject sequence, a position corresponding to a query is searched for in the compressed subject sequence using the index, a character found at the position within the compressed sequence is converted into a sequence, and the sequence is output as the response to the query.
Claims21
A method of searching a nucleic acid sequence, the method comprising:
- comparing a reference nucleic acid sequence with a subject nucleic acid sequence to be encoded, converting the subject sequence into a string of characters according to a conversion rule, and compressing the subject sequence by using the converted string of characters;
- setting an index position of a position of the reference sequence corresponding to a position in the compressed subject sequence, and creating an index correlating reference sequence index position with compressed subject sequence position;
- receiving an input query regarding DNA information at a position of the subject sequence, and searching for the position in the converted string of characters by using the created index;
- and
- converting a character found at the position into a sequence according to the conversion rule, and outputting the sequence as a response to the query;
- wherein the method is performed by at least one processor.
A method of compressing a nucleic acid sequence, the method comprising:
- comparing a reference nucleic acid sequence with a subject nucleic acid sequence to be encoded,
- converting the subject sequence into a string of characters according to a conversion rule,
- compressing the subject sequence by using the converted string of characters to represent the subject sequence;
- setting an index position of a position of the reference sequence corresponding to a position in the compressed subject sequence, and
- creating an index correlating reference sequence position with compressed subject sequence position,
- wherein the method is performed by at least one processor.
A method of searching for a nucleic acid sequence in a subject sequence that is compressed from a reference sequence into a string of characters, the method comprising:
- setting an index position of the reference sequence corresponding to a position of the compressed subject sequence, and creating an index;
- receiving a query regarding information at a position of the subject sequence,
- searching for the position corresponding to the query in the converted string of characters of the compressed subject sequence using the created index;
- converting a character found in the position of the converted string of characters into a sequence according to a conversion rule used to compress the subject sequence, and
- outputting the sequence as a response to the query;
- wherein the method is performed by at least one processor.
An apparatus for searching a nucleic acid sequence, the apparatus comprising:
- a processor comprising:
- a compression unit for comparing a reference sequence with a subject sequence to be encoded, converting the subject sequence into a string of characters according to a conversion rule, and compressing the subject sequence by using the converted string of characters;
- an index unit for setting an index position of a position of the reference sequence corresponding to a position of the compressed subject sequence, and creating an index correlating the index position with the compressed subject sequence position;
- a searching unit, for searching for a position in a subject sequence requested by an input query in the converted string of characters representing the subject sequence by using the created index;
- and
- a sequence converting unit for converting a character found at a position in a string of characters representing a subject sequence into a sequence according to the conversion rule, and outputting the sequence as a response to an input query.
An apparatus for searching a nucleic acid sequence in a subject sequence that is converted from a reference sequence into a string of characters, the apparatus comprising:
- a processor comprising:
- an index unit for setting as an index position a position of the reference sequence corresponding to a position of the compressed subject sequence, and creating an index correlating the index position with the compressed subject sequence position;
- a searching unit, for searching for a position in the subject sequence requested by an input query in the converted string of characters representing the subject sequence by using the created index;
- and
- a sequence converting unit for converting a character found character at a position in a string of characters representing a subject sequence into a sequence according to the conversion rule, and outputting the sequence as a response to an input query.
Dependencies are inferred from the claim text.