Gene sequencing progress management method, device, computer device and storage medium
The gene sequencing progress management method efficiently tracks and updates the sequencing status of multiple samples by using a task template and real-time querying, addressing the challenge of managing multiple data samples in gene sequencing processes.
Patent Information
- Application Number
- CN202010476762.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-05-29
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2040-05-29
AI Technical Summary
Existing gene sequencing methods fail to efficiently manage the sequencing progress of multiple data samples during the gene sequencing process.
A gene sequencing progress management method and device that involves obtaining a task template with sequencing parameters, arranging sample data order based on time and priority, querying sequencing progress at intervals, and updating display information based on preset conditions.
Enables efficient management of sequencing progress for multiple sample data by providing real-time monitoring and updating of sequencing status, ensuring timely and accurate tracking of sequencing stages and completion.
Smart Images

Figure CN113744803B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of biotechnology, and in particular to a gene sequencing progress management method, a gene sequencing progress management device, a computer device and a computer storage medium. Background Art
[0002] Gene sequencing is a new gene testing technology that can analyze and determine the full gene sequence from blood or saliva, predict the possibility of suffering from various diseases, individual behavioral characteristics and behavioral rationality. Gene sequencing technology can lock in personal diseased genes and prevent and treat them in advance. The existing gene sequencing method monitors the gene sequence through a gene sequencer. The existing gene sequencing method cannot manage the sequencing progress of multiple data samples during the gene sequencing process. Summary of the invention
[0003] In view of the above, it is necessary to propose a gene sequencing progress management method and device, a computer device and a computer storage medium to achieve efficient management of the sequencing progress of multiple sample data.
[0004] A first aspect of the present application provides a gene sequencing progress management method, the gene sequencing progress management method comprising:
[0005] Obtaining a task template for gene sequencing and sample data for gene sequencing, wherein the task template includes parameter information for gene sequencing and sequencing time information for gene sequencing;
[0006] Arrange the sequencing order of the sample data according to the sequencing time information in the task template, and send the parameter information of the gene sequencing;
[0007] When the sample data starts to be sequenced, a progress query instruction is sent at a preset time interval, and the progress query instruction is used to obtain the gene sequencing result of the sample data, and the gene sequencing result includes: one or more of the current sequencing step information of the gene, the name of the currently sequenced nucleotide sequence, the position of the currently sequenced nucleotide sequence, and the result of the currently sequenced nucleotide sequence;
[0008] Obtaining a gene sequencing result of the progress query instruction, and judging whether the gene sequencing progress of the sample data meets a preset condition according to the gene sequencing result;
[0009] When the gene sequencing progress meets the preset condition, the progress display information of the sample data gene sequencing is updated.
[0010] Preferably, arranging the sequencing order of the sample data according to the sequencing time information in the task template includes:
[0011] Query whether the sequencing time information includes sequencing priority information, where the sequencing priority information includes one or more of the start time of sequencing and the sequencing priority weight;
[0012] When the sequencing priority information is included, arranging the sequencing order of the sample data according to the sequencing priority information;
[0013] When the test priority information is not included, the sequencing order of the sample data is arranged according to the time sequence of acquiring the sample data.
[0014] Preferably, judging whether the gene sequencing progress of the sample data meets a preset condition according to the gene sequencing result includes:
[0015] Obtaining gene sequencing results, and searching whether the gene sequencing results contain preset characteristic information, wherein the preset characteristic information is used to indicate the sequencing steps of the gene;
[0016] When the gene sequencing result contains the preset characteristic information, it is determined that the gene sequencing progress of the sample data meets the preset condition.
[0017] Preferably, the determining whether the gene sequencing progress of the sample data meets a preset condition further includes:
[0018] Obtaining gene sequencing results, and comparing the number of processed nucleotide sequences in the gene sequencing results with a preset threshold;
[0019] When the number of the processed nucleotide sequences is greater than the preset threshold, it is determined that the gene sequencing progress of the sample data meets the preset condition.
[0020] Preferably, the method for updating the progress display information of the sample data gene sequencing includes:
[0021] Query a preset progress display mode, where the progress display mode includes one or more of a state name, a progress value, and a progress bar;
[0022] The progress display information of the gene information is updated according to a preset progress display mode.
[0023] Preferably, the updating of the progress display information of the gene information in a preset progress display manner includes:
[0024] Obtaining the area of the display region when the progress display information is displayed on the display interface;
[0025] comparing the area with a preset area threshold;
[0026] When the area is greater than or equal to the preset area threshold, updating the first progress display information of the gene information in a first progress display manner; or
[0027] When the area is smaller than the first preset area threshold, the first progress display information of the gene information is updated in a second progress display manner.
[0028] Preferably, the area of the display region for obtaining the progress display information includes:
[0029] A preset number of mark positions in the display area are obtained, and the area of the display area is calculated according to the mark positions, wherein the method for obtaining the mark positions includes:
[0030] Selecting a pixel from the display area and marking it as a first characteristic pixel;
[0031] Find out whether there are any pixels adjacent to the first pixel in the four directions of the first pixel: above, below, left, and right;
[0032] When there are pixels adjacent to the first pixel in the four directions of the first characteristic pixel above, below, left, and right, the position of the first pixel is moved by one pixel in the first direction; or
[0033] When there are no pixels adjacent to the first pixel in the four directions of above, below, left and right of the first pixel, the position of the first pixel is moved by one pixel in the second direction; or
[0034] When there are no pixels adjacent to the first characteristic pixel in any two directions of the upper, lower, left and right directions of the first characteristic pixel, the position of the first pixel is determined as the marking position of the display area.
[0035] A second aspect of the present application provides a gene sequencing progress management device, the device comprising:
[0036] An acquisition module is used to acquire a task template for gene sequencing and sample data for gene sequencing, wherein the task template includes parameter information for gene sequencing and sequencing time information for gene sequencing;
[0037] An arrangement module, used to arrange the sequencing order of the sample data according to the sequencing time information in the task template, and send the parameter information of the gene sequencing;
[0038] A query module, used for sending a progress query instruction at a preset time interval when the sample data starts to be sequenced, wherein the progress query instruction is used to obtain the gene sequencing result of the sample data, wherein the gene sequencing result includes: one or more of the current sequencing step information of the gene, the name of the currently sequenced nucleotide sequence, the position of the currently sequenced nucleotide sequence, and the result of the currently sequenced nucleotide sequence;
[0039] A judgment module, used to obtain the gene sequencing result of the progress query instruction, and judge whether the gene sequencing progress of the sample data meets the preset conditions according to the gene sequencing result;
[0040] The execution module is used to update the progress display information of the gene sequencing of the sample data when the gene sequencing progress meets the preset condition.
[0041] A third aspect of the present application provides a computer device, comprising a processor and a memory, wherein the processor is configured to implement the gene sequencing progress management method as described above when executing a computer program stored in the memory.
[0042] A fourth aspect of the present application provides a computer storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the gene sequencing progress management method as described above.
[0043] The gene sequencing progress management method, gene sequencing progress management device, computer device and computer storage medium of the present invention can obtain the gene sequencing parameter information of the sample data to be gene sequenced, and arrange the sequencing order of the sample data. When the sample data starts, the sequencing progress of multiple sample data can be efficiently managed. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 Schematic diagram of the application environment architecture of the gene sequencing progress management method provided in Example 1 of the present invention.
[0045] Figure 2 This is a flow chart of the gene sequencing progress management method provided in Example 2 of the present invention.
[0046] Figure 3 It is a schematic diagram of the structure of the gene sequencing progress management device provided in the third embodiment of the present invention.
[0047] Figure 4 It is a schematic diagram of a computer device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0048] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0049] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. The embodiments described are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0050] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0051] Embodiment 1
[0052] See also Figure 1 , which is a schematic diagram of the application environment architecture of the gene sequencing progress management method provided in the first embodiment of the present invention.
[0053] The gene sequencing progress management method of the present invention is applied in a computer device 1, and the computer device 1 and at least one gene sequencing computing device 2 establish a communication connection through a network. The network can be a wired network or a wireless network, such as radio, wireless fidelity (WIFI), cellular, satellite, broadcast, etc. The gene sequencing computing device 2 is used to sequence the sample data to be sequenced, and the computer device 1 is used to obtain the sample data of gene sequencing; send gene sequencing instructions according to the sequencing rules of the sample data, and obtain the gene sequencing results of the sample data by the gene sequencing computing device 2, and judge whether the gene sequencing progress of the sample data meets the preset conditions according to the gene sequencing results. When the gene sequencing progress meets the preset conditions, update the progress display information of the gene sequencing of the sample data, and output and display the progress display information.
[0054] In another embodiment of the present invention, the computer device 1 is also used to establish a data list based on the sample data, and the list is used to display the sample data information, and the sample data information includes but is not limited to any one of a single gene fragment for gene sequencing and a plurality of groups of gene fragments for gene sequencing comparison.
[0055] The computer device 1 can be an electronic device installed with gene sequencing progress management software, including but not limited to a smart phone, a tablet computer, a laptop computer, a desktop computer, etc.
[0056] The gene sequencing computing device 2 may be an electronic device for gene sequencing. Specifically, the gene sequencing device receives the sample data to be sequenced sent by the computer device 1, executes the gene sequencing process, responds to the progress query instruction sent by the computer device 1, and sends the gene sequencing result to the computer device 1. The gene sequencing computing device 2 may be a gene sequencer, a computer, a server, a cloud server, etc.
[0057] In another embodiment of the present invention, the computer device 1 also establishes a communication connection with a server 3, and the gene sequencing computing device 2 establishes a communication connection with the server 3. The server 3 is used to store sample data to be sequenced and store sequencing results sent by the gene sequencing computing device 2. The server 3 can be a computer device with storage function, a cloud server, etc.
[0058] Embodiment 2
[0059] See also Figure 2 FIG. 1 is a flow chart of a gene sequencing progress management method provided by a second embodiment of the present invention. According to different requirements, the order of the steps in the flow chart can be changed, and some steps can be omitted.
[0060] Step S1, obtaining a gene sequencing task template and gene sequencing sample data.
[0061] The task template includes parameter information of gene sequencing and sequencing time information of gene sequencing. In one embodiment of the present invention, the task template includes multiple types, and each task template contains different parameter information of gene sequencing. The multiple task templates can be pre-stored in the computer device 1 or in the server 3.
[0062] The sample data may be one set of DNA or multiple sets of DNA.
[0063] In one embodiment, the computer device 1 obtains the sample data by querying the sample data to be sequenced that is pre-stored in a database. The database may be stored in a server or a cloud server.
[0064] In yet another embodiment, the method for the computer device 1 to obtain the sample data may be to receive the sample data input by a staff member.
[0065] In another embodiment, the computer device 1 may obtain the sample data by receiving the sample data from the gene sequencing computing device 2 .
[0066] The type of the sample data includes any one of sequencing of a single gene fragment and sequencing comparison of multiple groups of gene fragments.
[0067] In another embodiment of the present invention, the gene sequencing progress management method further includes calculating the operation cost according to the information in the task template. For example, the parameter information of gene sequencing corresponding to different task templates is different, and the sample data with more parameter information corresponds to more operations and higher operation costs. For another example, according to the sequencing time information of gene sequencing, if the sequencing time has a high priority, the sample data to be sequenced needs to be sequenced first, and the operation cost set is high.
[0068] In another embodiment of the present invention, the gene sequencing progress management method further includes estimating the time required for gene sequencing based on the information in the task template. The method for estimating the time required for gene sequencing includes: receiving the preset time required for gene sequencing; recording the actual time required for sequencing the sample data according to the parameter information in the task template; when the recorded actual time does not match the preset time, using the actual time to correct the preset time; and using the actual time as the preset time set when the next sample data is sequenced using the task template.
[0069] Step S2: Arrange the sequencing order of the sample data according to the sequencing time information in the task template, and send the parameter information of the gene sequencing.
[0070] Arranging the sequencing order of the sample data according to the sequencing time information in the task template includes:
[0071] Query whether the sequencing time information includes sequencing priority information, where the sequencing priority information includes one or more of the start time of sequencing and the sequencing priority weight;
[0072] When the sequencing priority information is included, arranging the sequencing order of the sample data according to the sequencing priority information;
[0073] When the test priority information is not included, the sequencing order of the sample data is arranged according to the time sequence of acquiring the sample data.
[0074] For example, the sample data is five groups of DNA to be sequenced, and the five groups of DNA to be sequenced are queried to see whether they contain pre-set test priority information. If the five groups of DNA to be sequenced contain test priority weights, the weights are 0.5, 0.23, 0.15, 0.08, and 0.04, respectively. The weights are sorted, and the ones with high weights correspond to high test priorities, and gene sequencing instructions are preferentially sent to the DNA to be sequenced corresponding to the high weights. If the five groups of DNA to be sequenced do not contain test priority information, gene sequencing instructions are sent one by one in the time order of obtaining the DNA to be tested.
[0075] Step S3: When the sample data starts to be sequenced, a progress query instruction is sent at a preset time interval, and the progress query instruction is used to obtain the gene sequencing result of the sample data.
[0076] The gene sequencing result includes: one or more of the current sequencing step information of the gene, the name of the currently sequenced nucleotide sequence, the position of the currently sequenced nucleotide sequence, and the result of the currently sequenced nucleotide sequence.
[0077] In one embodiment of the present invention, the computer device 1 may send a progress query instruction at a preset time interval in the following manner:
[0078] The computer device 1 sends a progress query instruction to the gene sequencing computing device 2 through the data interface at preset intervals, and the content of the progress query instruction includes: querying the nucleotide sequence of any group of genes; or querying the sequencing results of comparing the nucleotide sequence of the first group of genes with the nucleotide sequence of the second group of genes.
[0079] Step S4: obtaining the gene sequencing result of the progress query instruction, and judging whether the gene sequencing progress of the sample data meets the preset conditions according to the gene sequencing result.
[0080] In one embodiment of the present invention, judging whether the gene sequencing progress of the sample data meets a preset condition according to the gene sequencing result includes:
[0081] Obtaining gene sequencing results, and searching whether the gene sequencing results contain preset characteristic information, wherein the preset characteristic information is used to indicate the sequencing steps of the gene;
[0082] When the gene sequencing result contains the preset characteristic information, it is determined that the gene sequencing progress of the sample data meets the preset condition.
[0083] For example, gene sequencing includes three stages, the first stage is to compare gene positions, the second stage is to mark duplicate positions and sort, and the third stage is to identify bases. For example, the characteristic information of the first stage is to produce a file with the extension BAM. The way to determine whether the gene sequencing is in the first stage is to monitor whether the file with the extension BAM is produced. When the file with the extension BAM is produced, it is determined that the gene sequencing has completed the first stage.
[0084] In another embodiment of the present invention, the determining whether the gene sequencing progress of the sample data meets a preset condition further includes:
[0085] Obtaining gene sequencing results, and comparing the number of processed nucleotide sequences in the gene sequencing results with a preset threshold;
[0086] When the number of the processed nucleotide sequences is greater than the preset threshold, it is determined that the gene sequencing progress of the sample data meets the preset condition.
[0087] Step S5: When the gene sequencing progress meets the preset condition, update the progress display information of the sample data gene sequencing.
[0088] In one embodiment of the present invention, the method for updating the progress display information of the sample data gene sequencing includes:
[0089] The preset progress display mode is queried, where the progress display mode includes one or more of a state name, a progress value, and a progress bar.
[0090] The status name may be waiting for sequencing, sequencing in progress, or sequencing completed. The progress value may be a digital representation of the current sequencing progress. The progress bar may use a preset number of symbols to represent the sequencing progress. For example, 5 rectangles represent that the gene sequencing has been completed, and 3 rectangles represent that the gene sequencing has been completed by 60%. The computer device 1 displays the progress of the gene sequencing by querying the progress display mode of the gene sequencing preset by the staff.
[0091] The progress display information of the gene information is updated according to a preset progress display mode, and the specific steps include:
[0092] (1) Obtaining the area of a display area when the progress display information is displayed on a display interface. The method for obtaining the area of the display area includes: obtaining a preset number of marked positions in the display area, and calculating the area of the display area according to the marked positions. The method for obtaining the marked positions includes: obtaining a preset number of marked positions in the display area, and calculating the area of the display area according to the marked positions, and the method for obtaining the marked positions includes: selecting a pixel from the display area and marking it as a first feature pixel; searching whether there are pixels adjacent to the first pixel in the four directions of the first pixel; when there are pixels adjacent to the first pixel in the four directions of the first pixel, the first pixel is moved by one pixel in the first direction; when there are no pixels adjacent to the first pixel in any two directions of the first pixel, the first pixel is moved by one pixel in the second direction; when there are no pixels adjacent to the first pixel in any two directions of the first pixel, the first pixel is the marked position of the display area.
[0093] (2) Compare the area with a preset area threshold.
[0094] (3) When the area is greater than the preset area threshold, updating the first progress display information of the gene information through a first progress display mode.
[0095] (4) When the area is less than the first preset area threshold, updating the first progress display information of the gene information through a second progress display mode, wherein the number of display modes in the first progress display mode is greater than the number of display modes in the second progress display mode.
[0096] In another embodiment of the present invention, the gene sequencing progress management method further includes: obtaining the gene sequencing results of the sample data, and storing the gene sequencing results in a preset database, and the database can be stored in a local server or a cloud server.
[0097] Above Figure 2 The gene sequencing progress management method of the present invention is introduced in detail. The functional modules of the software device for implementing the gene sequencing progress management method and the hardware device architecture for implementing the gene sequencing progress management method are introduced below in conjunction with Figures 3-4.
[0098] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited by this structure.
[0099] Embodiment 3
[0100] Figure 3 This is a structural diagram of a preferred embodiment of the gene sequencing progress management device of the present invention.
[0101] In some embodiments, the gene sequencing progress management device 10 runs in a computer device. The computer device is connected to multiple gene sequencing computing devices via a network. The gene sequencing progress management device 10 may include multiple functional modules composed of program code segments. The program code of each program segment in the gene sequencing progress management device 10 may be stored in the memory of the computer device and executed by the at least one processor to implement the gene sequencing progress management function.
[0102] In this embodiment, the gene sequencing progress management device 10 can be divided into multiple functional modules according to the functions it performs. Figure 3 As shown, the functional modules may include: an acquisition module 101, an allocation module 102, a query module 103, a judgment module 104, and an execution module 105. The module referred to in the present invention refers to a series of computer program segments that can be executed by at least one processor and can complete fixed functions, which are stored in a memory. In this embodiment, the functions of each module will be described in detail in subsequent embodiments.
[0103] The acquisition module 101 is used to acquire a task template for gene sequencing and sample data for gene sequencing.
[0104] The task template includes parameter information of gene sequencing and sequencing time information of gene sequencing. In one embodiment of the present invention, the task template includes multiple types, and the parameter information of gene sequencing included in each task template is different. The multiple task templates can be pre-stored in the acquisition module 101 or stored in the server 3.
[0105] In another embodiment, the method for the acquisition module 101 to acquire the sample data may be to receive the sample data input by a staff member.
[0106] In another embodiment, the acquisition module 101 may acquire the sample data by receiving the sample data from the gene sequencing computing device 2 .
[0107] The type of the sample data includes any one of sequencing of a single gene fragment and comparison of multiple groups of gene fragments.
[0108] In another embodiment of the present invention, the gene sequencing progress management method further includes calculating the operation cost according to the information in the task template. For example, the parameter information of gene sequencing corresponding to different task templates is different, and the sample data with more parameter information corresponds to more operations and higher operation costs. For another example, according to the sequencing time information of gene sequencing, if the sequencing time has a high priority, the sample data to be sequenced needs to be sequenced first, and the operation cost set is high.
[0109] In another embodiment of the present invention, the gene sequencing progress management method further includes estimating the time required for gene sequencing based on the information in the task template. The method for estimating the time required for gene sequencing includes: receiving the preset time required for gene sequencing; recording the actual time required for sequencing the sample data according to the parameter information in the task template; when the recorded actual time does not match the preset time, using the actual time to correct the preset time; and using the actual time as the preset time set when the next sample data is sequenced using the task template.
[0110] The arrangement module 102 is used to arrange the sequencing order of the sample data according to the sequencing time information in the task template, and send the parameter information of the gene sequencing.
[0111] Arranging the sequencing order of the sample data according to the sequencing time information in the task template includes:
[0112] Query whether the sequencing time information includes sequencing priority information, where the sequencing priority information includes one or more of the start time of sequencing and the sequencing priority weight;
[0113] When the sequencing priority information is included, arranging the sequencing order of the sample data according to the sequencing priority information;
[0114] When the test priority information is not included, the sequencing order of the sample data is arranged according to the time sequence of obtaining the sample data. For example, the sample data is five groups of DNA to be sequenced, and the five groups of DNA to be sequenced are queried whether they contain the pre-set test priority information. If the five groups of DNA to be sequenced all contain test priority weights, the weights are 0.5, 0.23, 0.15, 0.08, and 0.04, respectively, and the weights are sorted. The ones with high weights correspond to high test priorities, and the gene sequencing instructions are preferentially sent to the DNA to be sequenced corresponding to the high weights. If the five groups of DNA to be sequenced do not contain test priority information, the gene sequencing instructions are sent one by one according to the time sequence of obtaining the DNA to be tested.
[0115] The query module 103 is used to send a progress query instruction at a preset time interval when the sample data starts to be sequenced, and the progress query instruction is used to obtain the gene sequencing result of the sample data.
[0116] The gene sequencing result includes one or more of: the current sequencing step information of the gene, the name of the currently sequenced nucleotide sequence, the location of the currently sequenced nucleotide sequence, and the result of the currently sequenced nucleotide sequence.
[0117] In one embodiment of the present invention, the computer device 1 may send a progress query instruction at a preset time interval in the following manner:
[0118] The computer device 1 sends a progress query instruction to the gene sequencing computing device 2 through the data interface at preset intervals, and the content of the progress query instruction includes: querying the nucleotide sequence of any group of genes; or querying the sequencing results of comparing the nucleotide sequence of the first group of genes with the nucleotide sequence of the second group of genes.
[0119] The judgment module 104 is used to obtain the gene sequencing result of the progress query instruction, and judge whether the gene sequencing progress of the sample data meets the preset conditions according to the gene sequencing result.
[0120] In one embodiment of the present invention, judging whether the gene sequencing progress of the sample data meets a preset condition according to the gene sequencing result includes:
[0121] Obtaining gene sequencing results, and searching whether the gene sequencing results contain preset characteristic information, wherein the preset characteristic information is used to indicate the sequencing steps of the gene;
[0122] When the gene sequencing result contains the preset characteristic information, it is determined that the gene sequencing progress of the sample data meets the preset condition.
[0123] For example, gene sequencing includes three stages, the first stage is to compare gene positions, the second stage is to mark duplicate positions and sort, and the third stage is to identify bases. For example, the characteristic information of the first stage is to produce a file with the extension BAM. The way to determine whether the gene sequencing is in the first stage is to monitor whether the file with the extension BAM is produced. When the file with the extension BAM is produced, it is determined that the gene sequencing has completed the first stage.
[0124] In another embodiment of the present invention, the determining whether the gene sequencing progress of the sample data meets a preset condition further includes:
[0125] Obtaining gene sequencing results, and comparing the number of processed nucleotide sequences in the gene sequencing results with a preset threshold;
[0126] When the number of the processed nucleotide sequences is greater than the preset threshold, it is determined that the gene sequencing progress of the sample data meets the preset condition.
[0127] The execution module 105 is used to update the progress display information of the sample data gene sequencing when the gene sequencing progress meets the preset condition.
[0128] In one embodiment of the present invention, the method for updating the progress display information of the sample data gene sequencing includes:
[0129] The preset progress display mode is queried, where the progress display mode includes one or more of a state name, a progress value, and a progress bar.
[0130] The status name may be waiting for sequencing, sequencing in progress, or sequencing completed. The progress value may be a digital representation of the current sequencing progress. The progress bar may use a preset number of symbols to represent the sequencing progress. For example, 5 rectangles represent that the gene sequencing has been completed, and 3 rectangles represent that the gene sequencing has been completed by 60%. The computer device 1 displays the progress of the gene sequencing by querying the progress display mode of the gene sequencing preset by the staff.
[0131] The progress display information of the gene information is updated according to a preset progress display mode, and the specific steps include:
[0132] (1) Obtaining the area of a display area when the progress display information is displayed on a display interface. The method for obtaining the area of the display area includes: obtaining a preset number of marked positions in the display area, and calculating the area of the display area according to the marked positions. The method for obtaining the marked positions includes: obtaining a preset number of marked positions in the display area, and calculating the area of the display area according to the marked positions, and the method for obtaining the marked positions includes: selecting a pixel from the display area and marking it as a first feature pixel; searching whether there are pixels adjacent to the first pixel in the four directions of the first pixel; when there are pixels adjacent to the first pixel in the four directions of the first pixel, the first pixel is moved by one pixel in the first direction; when there are no pixels adjacent to the first pixel in any two directions of the first pixel, the first pixel is moved by one pixel in the second direction; when there are no pixels adjacent to the first pixel in any two directions of the first pixel, the first pixel is the marked position of the display area.
[0133] (2) Compare the area with a preset area threshold.
[0134] (3) When the area is greater than the preset area threshold, updating the first progress display information of the gene information through a first progress display mode.
[0135] (4) When the area is less than the first preset area threshold, updating the first progress display information of the gene information through a second progress display mode, wherein the number of display modes in the first progress display mode is greater than the number of display modes in the second progress display mode.
[0136] In another embodiment of the present invention, the gene sequencing progress management method further includes: obtaining the gene sequencing results of the sample data, and storing the gene sequencing results in a preset database, and the database can be stored in a local server or a cloud server.
[0137] Embodiment 4
[0138] Figure 4 FIG. 4 is a schematic diagram of a preferred embodiment of a computer device of the present invention.
[0139] The computer device 1 includes a memory 20, a processor 30, and a computer program 40 stored in the memory 20 and executable on the processor 30, such as a gene sequencing schedule management program. When the processor 30 executes the computer program 40, the steps in the above-mentioned gene sequencing schedule management method embodiment are implemented, such as Figure 2 Alternatively, when the processor 30 executes the computer program 40, the functions of each module / unit in the above-mentioned gene sequencing progress management device embodiment are realized, for example Figure 3 Units 101-105 in.
[0140] Exemplarily, the computer program 40 may be divided into one or more modules / units, which are stored in the memory 20 and executed by the processor 30 to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, and the instruction segments are used to describe the execution process of the computer program 40 in the computer device 1. For example, the computer program 40 may be divided into Figure 3 The acquisition module 101, the allocation module 102, the query module 103, the judgment module 104, and the execution module 105.
[0141] The computer device 1 may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. Those skilled in the art will appreciate that the schematic diagram is merely an example of the computer device 1 and does not limit the computer device 1. The computer device 1 may include more or fewer components than shown in the diagram, or may combine certain components, or may include different components. For example, the computer device 1 may also include input and output devices, network access devices, buses, etc.
[0142] The processor 30 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor 30 may be any conventional processor, etc. The processor 30 is the control center of the computer device 1, and uses various interfaces and lines to connect various parts of the entire computer device 1.
[0143] The memory 20 can be used to store the computer program 40 and / or modules / units. The processor 30 implements various functions of the computer device 1 by running or executing the computer program and / or modules / units stored in the memory 20 and calling the data stored in the memory 20. The memory 20 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the computer device 1 (such as audio data, a phone book, etc.), etc. In addition, the memory 20 can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0144] If the module / unit integrated in the computer device 1 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0145] In the several embodiments provided by the present invention, it should be understood that the disclosed computer device and method can be implemented in other ways. For example, the computer device embodiment described above is only illustrative, for example, the division of the unit is only a logical function division, and there may be other division methods in actual implementation.
[0146] In addition, each functional unit in each embodiment of the present invention may be integrated into the same processing unit, each unit may exist physically separately, or two or more units may be integrated into the same unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0147] It is obvious to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential features of the present invention. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present invention is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or computer devices stated in the computer device claim can also be implemented by the same unit or computer device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.
[0148] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.
Claims
1. A gene sequencing progress management method, applied to a computer device, wherein the computer device is communicatively connected to a gene sequencing computing device, characterized in that: The method comprises: Obtaining a task template for gene sequencing and sample data for gene sequencing, wherein the task template includes parameter information for gene sequencing and sequencing time information for gene sequencing; Arrange the sequencing order of the sample data according to the sequencing time information, and send the sample data and the gene sequencing instruction including the parameter information to the gene sequencing computing device; After the gene sequencing computing device sequences the sample data in response to the gene sequencing instruction, a progress query instruction is sent to the gene sequencing computing device at a preset time interval, wherein the progress query instruction is used to obtain the gene sequencing result of the sample data by the gene sequencing computing device, wherein the gene sequencing result includes: one or more of the current sequencing step information of the gene, the name of the currently sequenced nucleotide sequence, the position of the currently sequenced nucleotide sequence, and the result of the currently sequenced nucleotide sequence; Receiving the gene sequencing result sent from the gene sequencing computing device, and judging whether the gene sequencing progress of the sample data meets the preset condition according to the gene sequencing result, including: if the number of processed nucleotide sequences in the gene sequencing result is greater than a preset threshold, determining that the gene sequencing progress of the sample data meets the preset condition; When the gene sequencing progress meets the preset condition, updating and displaying the progress information of the gene sequencing of the sample data, including: querying a preset progress display mode, the preset progress display mode including one or more of a state name, a progress value, and a progress bar, and updating and displaying the progress information of the gene sequencing according to the preset progress display mode; The updating and displaying of the progress information of the gene sequencing according to the preset progress display mode includes: obtaining the area of the display area when the progress information is displayed on the display interface, comparing the area with a preset area threshold, and when the area is greater than or equal to the preset area threshold, updating and displaying the first progress information of the gene sequencing through a first progress display mode, or, when the area is less than the preset area threshold, updating and displaying the first progress information of the gene sequencing through a second progress display mode, wherein the number of display modes in the first progress display mode is greater than the number of display modes in the second progress display mode.
2. The gene sequencing progress management method according to claim 1, characterized in that: Arranging the sequencing order of the sample data according to the sequencing time information includes: Querying whether the sequencing time information includes sequencing priority information, where the sequencing priority information includes one or more of a sequencing start time and a sequencing priority weight; When the sequencing priority information is included, arranging the sequencing order of the sample data according to the sequencing priority information; When the sequencing priority information is not included, the sequencing order of the sample data is arranged according to the time sequence of acquiring the sample data.
3. The gene sequencing progress management method according to claim 1, characterized in that: The step of judging whether the gene sequencing progress of the sample data meets a preset condition according to the gene sequencing result includes: Obtaining gene sequencing results, and searching whether the gene sequencing results contain preset characteristic information, wherein the preset characteristic information is used to indicate the sequencing steps of the gene; When the gene sequencing result contains the preset characteristic information, it is determined that the gene sequencing progress of the sample data meets the preset condition.
4. The gene sequencing progress management method according to claim 1, characterized in that: The area of the display area for obtaining the progress information includes: A preset number of mark positions in the display area are obtained, and the area of the display area is calculated according to the mark positions, wherein the method for obtaining the mark positions includes: Selecting a pixel from the display area and marking it as a first characteristic pixel; Searching whether there are pixels adjacent to the first characteristic pixel in four directions of the first characteristic pixel: above, below, left, and right; When there are pixels adjacent to the first characteristic pixel in the four directions of above, below, left and right of the first characteristic pixel, the position of the first characteristic pixel is moved by one pixel in the first direction; or When there are no pixels adjacent to the first characteristic pixel in the four directions of above, below, left and right of the first characteristic pixel, the position of the first characteristic pixel is moved by one pixel in the second direction; or When there are no pixels adjacent to the first characteristic pixel in any two directions of the first characteristic pixel in the four directions of up, down, left and right, the position of the first characteristic pixel is determined as the marking position of the display area.
5. A gene sequencing progress management device, the device being used to implement the gene sequencing progress management method according to any one of claims 1 to 4, characterized in that: The device comprises: An acquisition module is used to acquire a task template for gene sequencing and sample data for gene sequencing, wherein the task template includes parameter information for gene sequencing and sequencing time information for gene sequencing; An arrangement module, used to arrange the sequencing order of the sample data according to the sequencing time information in the task template, and send the parameter information of the gene sequencing; A query module, used for sending a progress query instruction at a preset time interval when the sample data starts to be sequenced, wherein the progress query instruction is used to obtain the gene sequencing result of the sample data, wherein the gene sequencing result includes: one or more of the current sequencing step information of the gene, the name of the currently sequenced nucleotide sequence, the position of the currently sequenced nucleotide sequence, and the result of the currently sequenced nucleotide sequence; A judgment module, used to obtain the gene sequencing result of the progress query instruction, and judge whether the gene sequencing progress of the sample data meets the preset conditions according to the gene sequencing result; The execution module is used to update the progress display information of the gene sequencing of the sample data when the gene sequencing progress meets the preset condition.
6. A computer device, characterized in that: The computer device includes a processor and a memory, and the processor is used to implement the gene sequencing progress management method according to any one of claims 1 to 4 when executing the computer program stored in the memory.
7. A computer storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the gene sequencing progress management method according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Space interaction method of mobile equipment
CN102902355A
Method for automatic and comprehensive online analysis of genome sequences
CN107358056A
Gene sequencer progress display adjusting method and system
CN108085378A
Systems and methods for creation of personal genetic profile products
CN110235203A
Sequencing system with multiplexed biological sample aggregation
CN110785813A