Data processing method and device for genome file, equipment and storage medium
By dividing the genome file into genetic unit sequences and loading it on demand, the problem of slow loading speed of traditional gene editing software tools when processing large genome files is solved, and the fast and efficient operation of gene editing software tools and the integrity of genetic unit is achieved. .
Patent Information
- Application Number
- CN202310538694.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-12
- Publication Date
- 2024-11-12
AI Technical Summary
Traditional gene editing software tools are slow to load when processing large genome files, which are prone to lag or system crashes.
The genomic file is divided into genetic unit sequences in units of specified genetic units, and written to the genetic unit library. After receiving the selection operation, the required genetic units are loaded as needed to avoid overall file loading and improve loading speed and efficiency.
The gene editing software tool is used to quickly and efficiently load and edit large genomic files, ensuring the integrity of genetic units, reducing loading time and system crash risks.
Smart Images

Figure CN118939602A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of synthetic biology research technology, and in particular to a method, device, equipment and storage medium for data processing of genome files. Background Art
[0002] Synthetic biology is a science that combines the principles of molecular biology, systems biology, and engineering. It uses DNA synthesis, DNA assembly, gene editing, and other technical means to arrange and combine genetic elements in a building block-like manner (similar to integrated circuit design) to synthesize biological components (such as cells or organisms) with specific functions for use in biomedicine, agriculture, food, chemistry, and energy. Before conducting synthetic biology experiments on physical entities, it is generally necessary to use gene editing software tools for simulation design and simulation experiments. At present, traditional gene editing software tools can visually edit smaller genome files (such as microorganisms, yeast, etc.); however, when the genome file is large, the gene editing software tool loads slowly, and it is easy to experience freezes or even system crashes. Summary of the invention
[0003] The purpose of the embodiments of this specification is to provide a genome file data processing method, device, equipment and storage medium to increase the speed of loading genome files.
[0004] To achieve the above objectives, on the one hand, the embodiments of this specification provide a method for processing genome file data, including:
[0005] The genome file is divided into genetic unit sequences based on the specified genetic unit and written into the genetic unit library;
[0006] receiving a selection operation for one or more genetic units in the genetic unit sequence;
[0007] Reading corresponding genetic units from the genetic unit library according to the selection operation to form a genetic unit subsequence;
[0008] The genetic unit subsequences are displayed.
[0009] In the data processing method of the genome file of the embodiment of this specification, the designated genetic unit includes a chromosome.
[0010] In the data processing method of the genome file of the embodiment of this specification, the genome file is divided into genetic unit sequences based on the specified genetic unit, including:
[0011] Obtain the file name suffix of the genome file;
[0012] Confirming whether the genome file is in the target format according to the file name suffix; when the genome file is not in the target format, converting the genome file into the target format;
[0013] Identify all target tags in the genome file content after conversion to the target format.
[0014] In the genome file data processing method of the embodiment of this specification, the target mark includes a double slash mark.
[0015] In the genome file data processing method of the embodiment of this specification, the identifying of all target markers in the genome file content includes:
[0016] confirming whether the genome file is in a target format; when the genome file is not in a target format, converting the genome file into a target format;
[0017] Identify all target tags in the genome file content after conversion to the target format.
[0018] In the data processing method of the genome file of the embodiment of this specification, the displaying of the genetic unit subsequence includes:
[0019] Based on the attributes and status of the object, determining whether the genetic unit subsequence has the same object as the current display page;
[0020] If the same object exists, rendering the objects in the genetic unit subsequence except the same object;
[0021] If no identical objects exist, all objects in the genetic unit subsequence are rendered.
[0022] The data processing method of the genome file in the embodiment of this specification also includes:
[0023] receiving an edit operation for a currently displayed genetic unit subsequence;
[0024] The operation result of the editing operation is dynamically displayed, and the genetic unit library is updated according to the operation result.
[0025] The data processing method of the genome file in the embodiment of this specification also includes:
[0026] receiving a genetic unit read request sent by a downstream system through a corresponding interface;
[0027] Reading a target genetic unit from the genetic unit library;
[0028] The target genetic unit is converted into a target file suitable for processing by the downstream system, and provided to the downstream system for processing through the interface.
[0029] On the other hand, the embodiment of this specification also provides a data processing device for genome files, including:
[0030] A segmentation module is used to segment the genome file into genetic unit sequences based on the specified genetic unit and write them into the genetic unit library;
[0031] A receiving module, configured to receive a selection operation for one or more genetic units in the genetic unit sequence;
[0032] A reading module, used for reading corresponding genetic units from the genetic unit library according to the selection operation to form a genetic unit subsequence;
[0033] A display module is used to display the genetic unit subsequence.
[0034] On the other hand, an embodiment of the present specification further provides a computer device, including a memory, a processor, and a computer program stored in the memory, wherein when the computer program is executed by the processor, the instructions of the above method are executed.
[0035] On the other hand, an embodiment of the present specification further provides a computer storage medium on which a computer program is stored. When the computer program is executed by a processor of a computer device, the instructions of the above method are executed.
[0036] On the other hand, an embodiment of the present specification further provides a computer program product, wherein the computer program product includes a computer program, and when the computer program is executed by a processor of a computer device, the computer program executes instructions of the above method.
[0037] As can be seen from the technical solutions provided by the above embodiments of this specification, the embodiments of this specification can pre-divide the genome file into a genetic unit sequence in units of designated genetic units, and write it into a genetic unit library; when a selection operation for one or more genetic units in the genetic unit sequence is received, the corresponding genetic unit can be read from the genetic unit library according to the selection operation and loaded for display; thus, compared with loading the entire genome file, loading and displaying one or more genetic units on demand is faster and more efficient. Moreover, since the genome file is divided into genetic units, it is also possible to avoid the same genetic unit being divided into different data blocks, thereby ensuring the integrity of the genetic unit and facilitating subsequent browsing and editing processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions in the embodiments of this specification or the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art description. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. In the drawings:
[0039] Figure 1 A schematic diagram of a data processing application scenario of a genome file in some embodiments of this specification is shown;
[0040] Figure 2 A flowchart showing a method for processing genome file data in some embodiments of this specification;
[0041] Figure 3 Shows Figure 2 A flowchart of segmenting a genome file in the illustrated embodiment;
[0042] Figure 4 A flowchart showing a method for processing genome file data in other embodiments of this specification;
[0043] Figure 5 A schematic diagram of the data processing process of a genome file in an exemplary embodiment of this specification is shown;
[0044] Figure 6 A structural block diagram of a data processing device for group files in some embodiments of this specification is shown;
[0045] Figure 7 The structure block diagram of the computer device in some embodiments of the present specification is shown.
[0046] [Description of Reference Numerals]
[0047] 61. Segmentation module;
[0048] 62. Receiving module;
[0049] 63. Read module;
[0050] 64. Display module;
[0051] 702. Computer equipment;
[0052] 704, processor;
[0053] 706. Memory;
[0054] 708, driving mechanism;
[0055] 710, input / output interface;
[0056] 712. Input devices;
[0057] 714. Output devices;
[0058] 716. Presentation equipment;
[0059] 718. Graphical user interface;
[0060] 720, network interface;
[0061] 722. Communication link;
[0062] 724. Communication bus. DETAILED DESCRIPTION
[0063] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this specification.
[0064] In the field of synthetic biology research, the genome is the sum of the genetic materials of each organism, and the genome file is an electronic medium for recording genome information; therefore, the amount of data in the genome file is generally relatively large. When the genome file is large, the gene editing software tool loads the genome file slowly, and is prone to problems such as long loading time, loading jams, and even system crashes. In view of this, in order to increase the loading speed of the genome file, the present specification embodiment provides a new data processing scheme for the genome file. Among them, loading can be initiated based on the user's browsing, editing, and other needs.
[0065] The embodiments of this specification provide a method for processing genome file data, which can be applied to a computer device or a system including a computer device, and more specifically, can be applied to software (such as a gene editing software tool) running on the computer device. Figure 1 As shown, in some embodiments, the data processing method of the genome file may include the following steps:
[0066] Step 101: divide the genome file into genetic unit sequences based on the specified genetic unit and write them into a genetic unit library.
[0067] Step 102: Receive a selection operation for one or more genetic units in the genetic unit sequence.
[0068] Step 103: Read the corresponding genetic unit from the genetic unit library according to the selection operation to form a genetic unit subsequence.
[0069] Step 104: display the genetic unit subsequence.
[0070] The embodiments of this specification can pre-divide the genome file into a genetic unit sequence in units of designated genetic units, and write it into a genetic unit library; when a selection operation for one or more genetic units in the genetic unit sequence is received, the corresponding genetic unit can be read from the genetic unit library according to the selection operation and loaded for display; thus, compared with loading the entire genome file, loading and displaying one or more genetic units on demand is faster and more efficient; so that the gene editing software tool can not only browse and edit smaller genomes such as microorganisms and yeast quickly and efficiently, but also browse and edit larger genomes such as humans and mice quickly and efficiently. Moreover, since the genome file is divided into genetic units, it can also avoid the same genetic unit from being divided into different data blocks, thereby ensuring the integrity of the genetic unit and facilitating subsequent browsing and editing processing.
[0071] The designated genetic unit refers to a preset segmentation granularity, which can be customized according to actual needs. For example, in an exemplary embodiment, the designated genetic unit can be a chromosome. Since most species have dozens of chromosomes (for example, humans have 46 chromosomes), by segmenting the genome file into chromosomes, the amount of data in each copy has been greatly reduced, allowing the gene editing software tool to load and display quickly and smoothly; and for users, the number of genetic unit options formed by segmenting the genome file into chromosomes is more appropriate, which is convenient for users to select operations. For example, Figure 5 As shown, with a single chromosome as the segmentation granularity, the genome file can be segmented into chromosome 1 to chromosome N, with a total of N genetic unit sequences. In some embodiments, segmenting a genome file in units of chromosomes may mean that each chromosome in the genome file is segmented as a data block; for example, taking the human genome file as an example, the human genome file can be divided into 46 genetic units. Of course, in other embodiments, according to actual needs, the designated genetic unit may also be any other suitable segmentation granularity, and the embodiments of this specification do not make a sole limitation on this; for example, in other embodiments, the designated genetic unit may be DNA or gene, etc.
[0072] refer to Figure 2 As shown, in some embodiments, dividing the genome file into genetic unit sequences based on the specified genetic unit may include the following steps:
[0073] Step 201: Obtain the file name suffix of the genome file.
[0074] Currently, there are many formats of genome files (such as fasta, gff, gtf, gbk, etc.). The format of each genome file can be identified by its file name suffix, so the file name suffix of the genome file (such as .fasta, .gff, .gtf, .gbk, etc.) can be obtained.
[0075] In some embodiments, taking a Java / JavaScript-based gene editing software tool as an example, the file name suffix of a genome file can be obtained using methods such as String.substring(), String.split(), regular expressions, commons.io.FilenameUtils class, util.StringUtils class, or java.nio.file.Paths class.
[0076] In some embodiments, the genome file can be obtained from a specified local storage path, or by accessing an external public genome database.
[0077] Step 202: confirm whether the genome file is in the target format according to the file name suffix; if the genome file is not in the target format, execute step 203; otherwise, execute step 204.
[0078] For a certain gene editing software tool, it may only support one or several specific data formats. In order to meet user needs or meet the input file format requirements of the gene editing software tool, the genome file can be converted into a unified format (i.e., converted into a target format) before segmentation. For example, taking the gbk format as the target format, genome files in formats such as fasta, gff, gtf, etc. can be converted into genome files in the gbk format.
[0079] Step 203: Convert the genome file into a target format.
[0080] In some embodiments, a data conversion component may be integrated into the gene editing software tool, and the genome file may be converted to a target format by calling the data conversion component. For example, in an exemplary embodiment, the genome file may be converted to a target format using a PGDSpider component. Among them, the PGDSpider component is a powerful automatic data conversion tool that can be used for genome file format conversion in the field of synthetic biology research. In another exemplary embodiment, the genome file may also be converted to a target format according to a self-developed format conversion script (e.g., a python script).
[0081] Step 204: Identify all target tags in the genome file content after conversion to the target format.
[0082] In some embodiments, the target marker is used to identify the boundary or start and end position of each specified genetic unit (e.g., chromosome) information in the genome file content (i.e., the data content of the genome file). For example, in an exemplary embodiment, a double slash (i.e., " / / ") can be used as the target marker.
[0083] When the target format genome file has a target tag, the target tag can be directly identified to reduce the implementation cost. When the target format genome file does not have a target tag, the target tag can be added to the genome file content first. It should be noted that when adding a target tag to the genome file content, the target tag can be customized; but no matter what kind of target tag, it should be avoided to be confused with other symbol tags in the genome file to avoid affecting the accuracy of file segmentation.
[0084] In some embodiments, the target tag in the genome file content converted to the target format can be identified by regular expression matching or keyword matching.
[0085] Step 205: Divide the genome file into multiple genetic units using the target marker as a segmentation position point.
[0086] Each genetic unit after segmentation has the same data format (i.e., all are target formats); each genetic unit after segmentation may include a genetic unit identifier, annotation information, a genetic feature position, and a genetic feature. Among them, the genetic unit identifier can be used to uniquely identify an individual genetic unit; the genetic unit identifier can also be used to indicate the position of the genetic unit in the genome file. For example, in an exemplary embodiment, if the file name of the genome file is xxxgenome, the genetic unit identifiers of each genetic unit segmented from the beginning to the end are xxxgenome-01, xxxgenome-02, xxxgenome-03, ..., xxxgenome-0n; then xxxgenome-02 is the second sorting, and the previous genetic unit of xxxgenome-02 is xxxgenome-01, and the latter genetic unit is xxxgenome-03. Accordingly, {xxxgenome-01, xxxgenome-02, ..., xxxgenome-0n} forms a genetic unit sequence. Annotation information is basic descriptive information used to describe the corresponding chromosome, such as the species to which the chromosome belongs (i.e., which chromosome belongs to which species), chromosome position, etc. Genetic signatures are used to describe the genetic signatures of each gene in the corresponding chromosome. Genetic signatures are used to characterize the nucleotide sequence (base pair sequence) of each gene in the corresponding chromosome.
[0087] In some embodiments, the genetic unit library can be a local data warehouse (e.g., local storage under a specified storage path) for storing genetic unit sequences, so as to improve the loading and display speed of genome files. For scenarios involving multiple genome files, a separate genetic unit library can be set for the genetic unit sequence corresponding to each genome file.
[0088] In some embodiments, the gene editing software tool may provide a slider function, and the user may select a genetic unit by dragging the slider on the user interface of the gene editing software tool (the dragging coverage range is the selection range), or use a preset key combination (such as a left and right flip key + a confirmation key) to select a genetic unit; or select a genetic unit by clicking a genetic unit option in a drop-down list. For example, Figure 5 As shown, based on a single chromosome as the segmentation granularity, the genome file can be segmented into chromosome 1 to chromosome N, a total of N genetic unit sequences; chromosome 2 can be selected as the target.
[0089] In addition, in some embodiments, the gene editing software tool can also provide the function of locating and searching genetic units from a genetic unit library based on sequence, gene name and / or sequence type (such as promoter, etc.) to shorten the time for users to locate genetic units.
[0090] In some embodiments, displaying the genetic unit subsequence may include: first, based on the properties and states of the objects, determining whether the genetic unit subsequence and the current display page have the same object; if the same object exists, rendering the objects in the genetic unit subsequence except for the same object (i.e., only rendering the objects that do not exist or have changed in the current display page); in this way, the rendering range and the response time of page refresh can be greatly reduced, thereby further improving the speed of loading genome files. For example, in Figure 5 In the embodiment shown, if the current display page displays DNA graphics corresponding to chromosome 2 and chromosome 3, if a gene in chromosome 2 needs to be modified, then when the page is refreshed after the modification, the DNA graphics of chromosome 3 and the DNA graphics of chromosome 2, except for the modified gene, do not need to be re-rendered. Of course, if there are no identical objects, all objects in the genetic unit subsequence need to be rendered.
[0091] Wherein, object refers to the object in the DNA graph corresponding to the genetic unit, and attribute refers to the visually perceptible attribute of the object (such as shape, structure, size, position, etc.). State refers to the display state of the object (i.e., whether the object has been rendered). Therefore, in the embodiments of this specification, the same object refers to the object with the same attribute and the same state.
[0092] In some embodiments, when judging whether the genetic unit subsequence and the current display page have the same object, it should be a comparison between the aligned objects (e.g., objects with the same object noun); for example, there is an object named ABCDE in the current display page, and there is also an object named ABCDE in the genetic unit subsequence, then it can be judged whether the two are the same. In some embodiments, taking a Java / JavaScript-based gene editing software tool as an example, the Object.values function can be called to obtain the properties of the object, etc.; then a judgment comparison is performed to determine the refresh range (i.e., the rendering range). In other embodiments, it can also be implemented by calling a component (e.g., PureComponent) that improves loading display performance.
[0093] In some embodiments, reference Figure 3 As shown, the embodiment of this specification provides another method for processing genome file data, which may include the following steps:
[0094] Step 301: divide the genome file into genetic unit sequences based on the specified genetic unit, and write them into a genetic unit library.
[0095] Step 302: Receive a selection operation for one or more genetic units in the genetic unit sequence.
[0096] Step 303: Read the corresponding genetic unit from the genetic unit library according to the selection operation to form a genetic unit subsequence.
[0097] Step 304: display the genetic unit subsequence.
[0098] Step 305: Receive an editing operation for the currently displayed genetic unit subsequence.
[0099] Step 306: dynamically display the operation result of the editing operation, and update the genetic unit library according to the operation result.
[0100] and Figure 1 Compared with the data processing methods of the genome files shown, Figure 3The data processing method of the genomic file shown includes a processing step in which a gene editing software tool receives and responds to a user's editing operation on a currently displayed genetic unit subsequence. Among them, the editing operation may be, for example, any one or more of operations such as modification, deletion, addition, scaling, rotation, opening of a circular sequence, and splicing and reconnection of an opened circular sequence to a gene (sequence). Updating the genetic unit library according to the operation results means that for write operations (such as modification, deletion, addition, etc.), the modified genetic unit is stored in the genetic unit library, and for read operations (such as scaling, rotation, etc.), it is not necessary to update the genetic unit library according to the operation results. It should be noted that all editing operations (especially write operations) can be recorded in the editing operation record, and the user can trace back the historical records through the editing operation record.
[0101] In some embodiments, reference Figure 4 As shown, the embodiment of this specification provides another method for processing genome file data, which may include the following steps:
[0102] Step 401: divide the genome file into genetic unit sequences based on the specified genetic unit, and write them into a genetic unit library.
[0103] Step 402: Receive a selection operation for one or more genetic units in the genetic unit sequence.
[0104] Step 403: read the corresponding genetic unit from the genetic unit library according to the selection operation to form a genetic unit subsequence.
[0105] Step 404: display the genetic unit subsequence.
[0106] Step 405: Receive a genetic unit read request sent by a downstream system through a corresponding interface.
[0107] Step 406: Read the target genetic unit from the genetic unit library.
[0108] Step 407: convert the target genetic unit into a target file suitable for processing by the downstream system, and provide the target file to the downstream system for processing through the interface.
[0109] and Figure 1 Compared with the data processing methods of the genome files shown, Figure 4In the data processing method of the genome file shown, the interactive processing steps of the gene editing software tool and the downstream system (i.e., the system that relies on the gene editing software tool) are included. The gene editing software tool is provided with an application program interface (API) that interacts with each downstream system, and the downstream system can perform data interaction through the corresponding interface between the gene editing software tools. Of course, the downstream system can also subscribe to the data push service of the gene editing software tool, and the gene editing software tool can actively push the genetic unit to the downstream system through an event triggering mode (for example, when there is a genetic unit update). Therefore, through the data interaction between the gene editing software tool and the downstream system, the user can save the import and export operations of the data.
[0110] Although the process flows described above include multiple operations that occur in a particular order, it should be clearly understood that the processes may include more or fewer operations, which may be performed sequentially or in parallel (eg, using parallel processors or a multi-threaded environment).
[0111] Corresponding to the above-mentioned genome file data processing method, the present specification embodiment also provides a genome file data processing device (i.e., a gene editing software tool), which can be configured on the above-mentioned computer device, with reference to Figure 6 As shown, in some embodiments, the data processing device for the genome file may include:
[0112] A segmentation module 61 is used to segment the genome file into genetic unit sequences based on the specified genetic unit and write them into the genetic unit library;
[0113] A receiving module 62, configured to receive a selection operation for one or more genetic units in the genetic unit sequence;
[0114] A reading module 63, configured to read the corresponding genetic unit from the genetic unit library according to the selection operation to form a genetic unit subsequence;
[0115] The display module 64 is used to display the genetic unit subsequence.
[0116] For the convenience of description, the above device is described by dividing it into various units according to its functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0117] It should be noted that in the embodiments of this specification, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved are all information and data authorized by the user and fully authorized by all parties.
[0118] The embodiments of this specification also provide a computer device. Figure 7 As shown, in some embodiments of the present specification, the computer device 702 may include one or more processors 704, such as one or more central processing units (CPUs) or graphics processing units (GPUs), and each processing unit may implement one or more hardware threads. The computer device 702 may also include any memory 706, which is used to store any kind of information such as code, settings, data, etc. In a specific embodiment, the computer program on the memory 706 and can be run on the processor 704, when the computer program is run by the processor 704, the instructions of the data processing method of the genome file described in any of the above embodiments can be executed. Non-limiting, for example, the memory 706 may include any one or more combinations of the following: any type of RAM, any type of ROM, flash memory device, hard disk, optical disk, etc. More generally, any memory can use any technology to store information. Further, any memory can provide volatile or non-volatile retention of information. Further, any memory can represent a fixed or removable component of the computer device 702. In one case, when the processor 704 executes an associated instruction stored in any memory or a combination of memories, the computer device 702 can perform any operation of the associated instruction. The computer device 702 also includes one or more drive mechanisms 708 for interacting with any storage, such as a hard disk drive mechanism, an optical disk drive mechanism, etc.
[0119] The computer device 702 may also include an input / output interface 710 (I / O) for receiving various inputs (via input device 712) and for providing various outputs (via output device 714). A specific output mechanism may include a presentation device 716 and an associated graphical user interface 718 (GUI). In other embodiments, the input / output interface 710 (I / O), input device 712, and output device 714 may not be included, and the computer device 702 may be used as a computer device in a network. The computer device 702 may also include one or more network interfaces 720 for exchanging data with other devices via one or more communication links 722. One or more communication buses 724 couple the components described above together.
[0120] The communication link 722 may be implemented in any manner, for example, through a local area network, a wide area network (e.g., the Internet), a point-to-point connection, etc., or any combination thereof. The communication link 722 may include any combination of hardwired links, wireless links, routers, gateway functions, name servers, etc. governed by any protocol or combination of protocols.
[0121] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), computer-readable storage media, and computer program products of some embodiments of the present specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processor to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processor generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0122] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processor to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0123] These computer program instructions can also be loaded onto a computer or other programmable data processor so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0124] In a typical configuration, a computer device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0125] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0126] Computer-readable media include permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computer device. As defined in this specification, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0127] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems or computer program products. Therefore, the embodiments of this specification may take the form of complete hardware embodiments, complete software embodiments or embodiments combining software and hardware. Moreover, the embodiments of this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0128] The present specification embodiments may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present specification embodiments may also be practiced in distributed computing environments where tasks are performed by remote processors connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0129] It should also be understood that in the embodiments of this specification, the term "and / or" is only a description of the association relationship of the associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0130] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0131] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the embodiments of this specification. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0132] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A method for processing genome file data, characterized in that: include: The genome file is divided into genetic unit sequences based on the specified genetic unit and written into the genetic unit library; receiving a selection operation for one or more genetic units in the genetic unit sequence; Reading corresponding genetic units from the genetic unit library according to the selection operation to form a genetic unit subsequence; The genetic unit subsequences are displayed.
2. The method for processing genome file data according to claim 1, characterized in that: The specified genetic unit includes a chromosome.
3. The method for processing genome files according to claim 2, characterized in that: The step of dividing the genome file into genetic unit sequences based on the specified genetic unit includes: Identifying all target markers in the genome file content; The genome file is divided into a plurality of genetic units using the target marker as a dividing position point; each of the genetic units comprises a genetic unit identifier, annotation information, a genetic feature position and a genetic feature.
4. The method for processing genome file data according to claim 3, characterized in that: The target mark includes a double slash mark.
5. The method for processing genome file data according to claim 3, characterized in that: The step of identifying all target markers in the genome file content includes: Obtain the file name suffix of the genome file; Confirming whether the genome file is in the target format according to the file name suffix; when the genome file is not in the target format, converting the genome file into the target format; Identify all target tags in the genome file content after conversion to the target format.
6. The method for processing genome file data according to claim 1, characterized in that: The display of the genetic unit subsequence comprises: Based on the attributes and status of the object, determining whether the genetic unit subsequence has the same object as the current display page; If the same object exists, rendering the objects in the genetic unit subsequence except the same object; If no identical objects exist, all objects in the genetic unit subsequence are rendered.
7. The method for processing genome file data according to claim 1, characterized in that: Also includes: receiving an edit operation for a currently displayed genetic unit subsequence; The operation result of the editing operation is dynamically displayed, and the genetic unit library is updated according to the operation result.
8. The method for processing genome file data according to claim 1, characterized in that: Also includes: receiving a genetic unit read request sent by a downstream system through a corresponding interface; Reading a target genetic unit from the genetic unit library; The target genetic unit is converted into a target file suitable for processing by the downstream system, and provided to the downstream system for processing through the interface.
9. A data processing device for genome files, characterized in that: include: A segmentation module is used to segment the genome file into genetic unit sequences based on the specified genetic unit and write them into the genetic unit library; A receiving module, used for receiving a selection operation for one or more genetic units in the genetic unit sequence; A reading module, used for reading corresponding genetic units from the genetic unit library according to the selection operation to form a genetic unit subsequence; A display module is used to display the genetic unit subsequence.
10. A computer device comprising a memory, a processor, and a computer program stored in the memory, characterized in that: When the computer program is executed by the processor, the computer program executes the instructions of the method according to any one of claims 1 to 8.
11. A computer storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor of a computer device, the computer program executes the instructions of the method according to any one of claims 1 to 8.
12. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the instructions of the method according to any one of claims 1 to 8 are executed.
Citation Information
Patent Citations
Computer-implemented method and computer-based system for validating DNA sequencing data
CN101137991A
Gene analysis method, gene analyzer, management server, gene analysis system, program and recording medium
CN111263964A
Manhole to prevent the cap from leaking during backflow
KR1020200114742A
Method for Storage and Communication of Personal Genomic or Medical Information
US20150095064A1
