Method and device for downloading sequencing data, electronic equipment and storage medium

By analyzing the target email, obtaining batch numbers and generating download tasks, automatically downloading and verifying sequencing data, solving the difficulty and completeness of sequencing data download, and improving efficiency and accuracy.

CN119030968APending Publication Date: 2024-11-26TIANJIN KINGMED CENT FOR CLINICAL CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411249604.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-06
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

Due to the huge amount of sequencing data, there are great difficulties in downloading. The existing technology is difficult to efficiently download sequencing data, and artificial errors and data integrity problems are prone to occur.

Method used

By analyzing the target email, obtaining batch numbers, generating download tasks, and downloading data in the target folder from the server, realizing automatic download and integrity verification, avoiding manual intervention, and improving download efficiency and accuracy.

Benefits of technology

It realizes automatic download of sequencing data, reduces manual operations, improves download efficiency and accuracy, avoids errors caused by manual download, and ensures data integrity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119030968A_ABST
    Figure CN119030968A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to a sequencing data downloading method and device, electronic equipment and a storage medium, and the method comprises the steps: analyzing mail contents included in one or more target mails, and obtaining one or more batch numbers, the one or more batch numbers are used for indicating one or more target folders, stored in the server, of the to-be-downloaded target sequencing data; generating downloading tasks corresponding to the batch numbers according to the one or more batch numbers; and according to each downloading task, downloading first data contained in the target folder indicated by each batch number from the server, so as to obtain target sequencing data according to the first data. According to the sequencing data downloading method and device, the electronic equipment and the storage medium, the sequencing data can be automatically downloaded, and the downloading efficiency of the sequencing data is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data transmission, and in particular to a method, device, electronic device and storage medium for downloading sequencing data. Background Art

[0002] With the development of medical testing technology, people gradually discovered that gene sequences are of great help to medical diagnosis and medical assistance. They can analyze the causes of diseases from the root and help treat the diseases from the root. People can extract sequencing data containing a large amount of DNA (DeoxyriboNucleic Acid) or RNA (Ribonucleic Acid) sequence information from specimens, and can analyze the sequencing data to obtain the required information. Since sequencing data is usually stored on the server, if the user wants to analyze the sequencing data, it is necessary to download the sequencing data from the server, but due to the huge amount of sequencing data, it is very difficult to download the sequencing data. Summary of the invention

[0003] The embodiments of the present application disclose a method, device, electronic device and storage medium for downloading sequencing data, which can automatically download sequencing data and improve the download efficiency of sequencing data.

[0004] In a first aspect, the present application embodiment discloses a method for downloading sequencing data, comprising: Parsing email contents included in one or more target emails to obtain one or more batch numbers, wherein the one or more batch numbers are used to indicate one or more target folders where the target sequencing data to be downloaded is stored in the server; According to the one or more batch numbers, generating download tasks corresponding to each of the batch numbers; According to each of the download tasks, the first data contained in the target folder indicated by each of the batch numbers is downloaded from the server to obtain the target sequencing data according to the first data.

[0005] As an optional implementation, in the first aspect of the embodiment of the present application, parsing the email content included in one or more target emails to obtain one or more batch numbers includes: At every first preset time interval, keyword search is performed on each email received in the target mailbox within a second time interval before the current time; Parse the email body content of the target email containing the target keyword to obtain one or more batch numbers corresponding to the target email.

[0006] As an optional implementation, in the first aspect of the embodiment of the present application, before downloading the first data contained in the target folder indicated by each batch number from the server according to each download task, the method further includes: Calculate a third duration based on multiple historical waiting times, where the historical waiting time is the length of the time interval between the generation time and the download start time corresponding to the historical download task within the historical time period; After the parsing time corresponding to the first target email, the third time period is waited, and then the download tasks corresponding to the first target email are executed in parallel. The first target email is any of the target emails, and the parsing time is the time for parsing the email content included in the first target email.

[0007] As an optional implementation, in the first aspect of the embodiment of the present application, downloading the first data contained in the target folder indicated by each batch number from the server according to each download task, so as to obtain the target sequencing data according to the first data, includes: According to each of the download tasks, downloading from the server the first data contained in the target folder indicated by each of the batch numbers; Performing integrity check on the first data contained in each of the downloaded target folders to obtain an integrity check result; If the integrity check result indicates that the check is passed, obtaining the target sequencing data according to the first data contained in each of the target folders; The method further comprises: Perform bioinformatics analysis on the target sequencing data to obtain analysis results, and send the analysis results to the target mailbox.

[0008] As an optional implementation, in the first aspect of the embodiment of the present application, the target folder includes at least one sub-file and / or sub-folder; the performing integrity check on the first data contained in each of the target folders to obtain an integrity check result includes: In the process of downloading the first data contained in the first target folder, performing integrity check on each sub-file and / or sub-folder contained in the first target folder to obtain a first check result corresponding to the first target folder; the first target folder is any target folder; When the download of the first data contained in the one or more target folders is completed, performing integrity check on the one or more target folders to obtain a second check result; If the first verification result and the second verification result corresponding to each of the target folders are both passed, determining that the integrity verification result is a passed verification; If the first check result corresponding to any target folder is failed, and / or the second check result is failed, it is determined that the integrity check is failed.

[0009] As an optional implementation manner, in the first aspect of the embodiment of the present application, in the process of downloading the first data contained in the first target folder, performing integrity check on each subfile and / or subfolder contained in the first target folder to obtain a first check result corresponding to the first target folder includes: In the process of downloading the first data contained in the first target folder, if it is detected that the download of any sub-file or any sub-folder contained in the first target folder is completed, a hash check is performed on the sub-file or sub-folder that has been downloaded to determine whether the data contained in the sub-file or sub-folder that has been downloaded is complete; If the sub-files and / or data contained in the sub-folders contained in the first target folder are complete, determining that the first verification result corresponding to the first target folder is passed; If any sub-file exists in the first target folder or the data contained in any sub-folder is incomplete, it is determined that the first verification result corresponding to the first target folder is unacceptable.

[0010] As an optional implementation manner, in the first aspect of the embodiment of the present application, the performing a hash check on the downloaded sub-file or sub-folder to determine whether the data contained in the downloaded sub-file or sub-folder is complete includes: Performing a hash check on the downloaded subfile or subfolder according to the verification file corresponding to the first target folder to determine whether the data contained in the downloaded subfile or subfolder is complete; The method further comprises: If the data contained in the downloaded subfile or subfolder is incomplete, the download task corresponding to the subfile or subfolder with incomplete data is re-executed to re-download the data contained in the subfile or subfolder with incomplete data.

[0011] In a second aspect, an embodiment of the present application discloses a device for downloading sequencing data, comprising: A parsing module, used to parse the email content included in one or more target emails to obtain one or more batch numbers, wherein the one or more batch numbers are used to indicate one or more target folders where the target sequencing data to be downloaded is stored in the server; A generating module, configured to generate, according to the one or more batch numbers, a download task corresponding to each of the batch numbers; A download module is used to download the first data contained in the target folder indicated by each batch number from the server according to each download task, so as to obtain the target sequencing data according to the first data.

[0012] In a third aspect, an embodiment of the present application discloses an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor implements the method described in any of the above embodiments.

[0013] In a fourth aspect, an embodiment of the present application discloses a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any of the above embodiments is implemented.

[0014] The downloading method, device, electronic device and storage medium of sequencing data disclosed in the embodiment of the present application parse the email content included in one or more target emails to obtain one or more batch numbers, and the one or more batch numbers are used to indicate one or more target folders where the target sequencing data to be downloaded is stored in the server; according to the one or more batch numbers, a download task corresponding to each batch number is generated; according to each download task, the first data contained in the target folder indicated by each batch number is downloaded from the server to obtain the target sequencing data according to the first data. In the embodiment of the present application, the target email can be automatically parsed to obtain one or more batch numbers, and then the corresponding download task is generated according to the batch number, without manually extracting the batch number from the target email and then manually creating the download task, which can reduce the time-consuming manual download and save labor costs; and the download task can be automatically executed to automatically download the target sequencing data, thereby improving the download efficiency of the sequencing data, and avoiding download errors caused by manual downloading, thereby improving the accuracy of downloading sequencing data. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0016] Figure 1 An application scenario diagram of a method for downloading sequencing data in an embodiment; Figure 2 A flowchart of a method for downloading sequencing data in one embodiment; Figure 3 A flowchart of a method for downloading sequencing data in another embodiment; Figure 4A flowchart of a method for downloading sequencing data in another embodiment; Figure 5 A flowchart of a method for downloading sequencing data in another embodiment; Figure 6 A flowchart of a step in an embodiment of performing integrity check on first data contained in each target folder to obtain an integrity check result; Figure 7 A flowchart of a method for downloading sequencing data in one embodiment; Figure 8 A block diagram of a device for downloading sequencing data in one embodiment; Fig. 9 FIG. 4 is a structural block diagram of an electronic device in an embodiment. DETAILED DESCRIPTION

[0017] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0018] It should be noted that the terms "including" and "having" and any variations thereof in the embodiments of the present application and the accompanying drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.

[0019] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first duration may be referred to as a second duration, and similarly, a second duration may be referred to as a first duration. Both the first duration and the second duration are durations, but they refer to the same duration.

[0020] In related technologies, since sequencing data usually contain a large amount of DNA or RNA sequence information, laboratories mostly analyze sequencing data by downloading the sequencing data from a designated storage space, manually checking the integrity of the sequencing data, and ensuring that the sequencing data is completely downloaded before conducting the laboratory's bioinformatics analysis process, and then interpreting and issuing the report. The entire process requires repeated manual verification and communication, because the amount of sequencing data is huge, and the uploading and downloading of sequencing data is easily affected by network bandwidth, etc., and transmission interruptions may occur at any time. Therefore, the time from data upload to transmission completion is uncertain, which causes great difficulties for subsequent downloading, analysis and verification.

[0021] The embodiments of the present application disclose a method, device, electronic device and storage medium for downloading sequencing data, which can automatically download sequencing data and improve the download efficiency of sequencing data.

[0022] The method for downloading sequencing data provided in this application can be applied to Figure 1 In the electronic device 100 shown. Figure 1 As shown, the electronic device 100 can be connected to the server 140. The electronic device 100 can receive one or more target emails 130 sent by other electronic devices 110; wherein the electronic device 100 and other electronic devices 110 may include but are not limited to mobile phones, smart wearable devices, tablet computers, PCs (Personal Computers), computers, laptops, etc.; the server 140 may include but are not limited to cloud servers, virtual servers, server clusters, etc.; a communication connection can be established between the electronic device 100, other electronic devices 110 and the server 140; the available connection methods include but are not limited to data line connection, wireless local area network (Wireless Local Area Network, WLAN) connection, WiFi connection and other wired or wireless connection methods.

[0023] Other electronic devices 110 can upload sequencing data to the server 140, and the server 140 can be used to store the sequencing data uploaded by other electronic devices 110 in one or more folders; other electronic devices 110 can also send a target email 130 to the electronic device 100, and the electronic device 100 can download the data in the folder from the server 140 according to the target email 130.

[0024] In some embodiments, the collection staff of the hospital collects the specimens to be tested by the target user and transports the specimens to be tested to the testing agency, which is an agency for receiving specimens and sequencing the specimens through gene sequencing technology to obtain the sequencing data corresponding to the target user. The testing agency sequences the specimens to be tested to obtain the target sequencing data corresponding to the target user, and the target sequencing data contains a large amount of DNA or RNA sequence information; the testing agency uploads the target sequencing data to the server 140 through other electronic devices 110. The server 140 will store the target sequencing data in one or more target folders, determine the batch numbers corresponding to the one or more target folders, and feed back the batch numbers corresponding to the one or more target folders storing the target sequencing data to other electronic devices 110 of the testing agency. The other electronic devices 110 of the testing agency send the batch numbers corresponding to the one or more target folders and the user information of the target user corresponding to the target sequencing sequence to the electronic device 100 in the form of an email.

[0025] In some embodiments, the sequencing technology used by the testing agency to sequence the specimens to be tested may include but is not limited to first-generation sequencing (based on Sanger sequencing), second-generation sequencing (high-throughput sequencing, including Illumina's HiSeq, MiSeq series, Thermo Fisher's Ion Torrent series, etc.), third-generation sequencing (long-read sequencing, such as Pacific Biosciences' SMRT technology and Oxford Nanopore's MinION), single-molecule sequencing, etc.

[0026] The electronic device 100 receives one or more target emails 130 sent by other electronic devices 110 of the testing organization, parses the email content included in the one or more target emails 130, obtains one or more batch numbers, and generates corresponding download tasks according to the one or more batch numbers. The electronic device 100 can download the first data contained in the target folder indicated by each batch number from the server 140 according to the download task corresponding to each batch number, so that the target sequencing data corresponding to the target user can be extracted according to the first data contained in all target folders, so that the electronic device 100 can automatically download the target sequencing data corresponding to the target email after receiving the target email, so as to reduce the loss and errors of manual operation, thereby improving the download efficiency and accuracy of sequencing data.

[0027] like Figure 2 As shown, in one embodiment, a method for downloading sequencing data is provided, which can be applied to the above electronic device. The method may include the following steps 210 to 230.

[0028] Step 210: parse the email content included in one or more target emails to obtain one or more batch numbers.

[0029] The target email may refer to an email containing one or more batch numbers corresponding to the target sequencing data, the target sequencing data may refer to the sequencing data corresponding to the target user, one target user may correspond to one set of target sequencing data, one set of target sequencing data may correspond to one target email, one target email may include one or more batch numbers, and one batch number may correspond to one target folder. The batch number corresponding to the target sequencing data includes each batch number contained in the target email corresponding to the target sequencing data; the target sequencing data may be stored separately in the target folders corresponding to each batch number.

[0030] After receiving the target email sent by other electronic devices of the testing agency, the electronic device can extract the target sequencing data from the target email and store the corresponding batch number in the server, thereby obtaining the target sequencing data through the batch number. Among them, sequencing data refers to a large amount of DNA or RNA sequence information obtained through gene sequencing technology. Sequencing data can be of various types, such as genome sequence, protein structure, gene expression, protein-protein interaction, etc. Sequencing data may include raw sequencing data (Raw Sequencing Data), quality filtered data (Quality Filtered Data), assembled genome (Genome Assembly), variant detection data (Variant Detection), etc.

[0031] The email content included in the target email may include, but is not limited to, one or more of the email name, sender, recipient, email body content, etc. By parsing the email content included in the target email, sequencing information can be obtained, and the sequencing information may include, but is not limited to, one or more of the name or identifier of the testing agency, user information corresponding to the sequencing data, the upload time of the sequencing data, and one or more batch numbers corresponding to the target sequencing data. Among them, the name or identifier of the testing agency is used to indicate the testing agency that sequences the user's specimen to generate sequencing data; the upload time of the sequencing data is the time when the sequencing data starts to be uploaded to the server; the one or more batch numbers corresponding to the target sequencing data are used to indicate one or more target folders in the server where the target sequencing data to be downloaded is stored; optionally, the batch number may include the folder name, folder number, etc. of the target folder, but is not limited thereto. In the server, a copy of sequencing data may be stored in one or more folders. For example, the target sequencing data may be stored in three target folders, and the batch numbers corresponding to the three target folders in the server are batch number 1, batch number 2, and batch number 3, respectively. Therefore, by parsing the email content included in the target email, one or more batch numbers corresponding to the target sequencing data may be obtained as batch number 1, batch number 2, and batch number 3.

[0032] In some embodiments, since different testing agencies generate sequencing data and different testing agencies generate emails in different ways, the email formats corresponding to the target emails sent by different testing agencies received by the electronic device are different. Therefore, the electronic device needs to parse the email content included in the target email to extract one or more batch numbers from the email content. The email format refers to the expression form and arrangement of the email content, the template used by the testing agency to write the email, etc.

[0033] In some embodiments, the electronic device can identify the first sender of the first target email, determine the first email format corresponding to the first sender according to the preset correspondence between the sender and the email format, and parse the first target email according to the first email format to obtain one or more batch numbers corresponding to the first target email. The first target email is any target email, and the sender refers to the detection agency that sends the target email.

[0034] Optionally, the electronic device may convert the byte string corresponding to the email content included in the first target email into a common string and remove redundant strings; then parse the email content included in the first target email with the redundant strings removed to obtain one or more batch numbers. Among them, the byte string refers to the string used to process binary data, the common string refers to the text data used to process, and the redundant string refers to the space, line break, tab, etc. at the beginning or end of the string; converting the byte string into a common string and removing redundant strings can enhance the readability of the first target email, simplify the data, and avoid the different encodings of different target emails affecting the parsing of the email content, thereby improving the accuracy of the obtained batch number and the accuracy of the subsequent downloaded target sequencing data.

[0035] Optionally, the electronic device can use the Chardet library to detect the target encoding method corresponding to the email content contained in the target email; according to the target encoding method, the email content contained in the target email is parsed to obtain one or more batch numbers corresponding to the target email. The Chardet library can automatically detect the character encoding of the file, reduce manual inspection and conversion of the encoding method of the target email, and improve the efficiency of parsing the email content contained in the target email.

[0036] In some embodiments, other electronic devices of the testing agency will send the target email to a designated public mailbox; a public mailbox refers to an email mailbox that can be accessed and used by multiple people. Usually, in addition to the target email sent by the testing agency, the public mailbox also contains other emails sent by the testing agency, or other emails sent by other agencies, etc. Therefore, before parsing the target email, the electronic device can search all emails received by the public mailbox to find the target email containing the batch number from all the emails contained in the public mailbox.

[0037] Step 220: Generate download tasks corresponding to each batch number according to one or more batch numbers.

[0038] The download task may refer to a task in which the electronic device downloads the first data contained in the target folder from the server.

[0039] In some embodiments, the electronic device may fill each batch number into a preset task template to generate a download task. The task template may include but is not limited to a server identifier, a download instruction, etc. Specifically, assuming that it is agreed in advance with the testing agency that all sequencing data are stored in the designated server A, the electronic device only needs to obtain one or more batch numbers corresponding to the sequencing data to download the corresponding target folder from the designated server A; the one or more batch numbers corresponding to the target email are batch number 1, batch number 2, and batch number 3, respectively, and the generated download tasks are download task 1, download task 2, and download task 3, respectively, wherein download task 1 is used to instruct the electronic device to download the target folder corresponding to batch number 1 from server A; download task 2 is used to instruct the electronic device to download the target folder corresponding to batch number 2 from server A; download task 3 is used to instruct the electronic device to download the target folder corresponding to batch number 3 from server A.

[0040] In some embodiments, the electronic device may generate download tasks corresponding to each batch number according to the storage address of the target folder corresponding to each batch number in the server. For example, assuming that the storage address of the target folder corresponding to batch number 1 in server A is aaa\bbb\ccc, then download task 1 corresponding to batch number 1 is used to instruct the electronic device to download the folder with the storage address aaa\bbb\ccc in server A.

[0041] Step 230, according to each download task, download the first data contained in the target folder indicated by each batch number from the server to obtain the target sequencing data according to the first data.

[0042] Optionally, the target folder includes at least one sub-file and / or sub-folder. The sub-folder may also include at least one second-level sub-file and / or second-level sub-folder, and the second-level sub-folder may also include at least one third-level sub-file and / or third-level sub-folder, and so on, until the last-level sub-folder does not contain any next-level sub-folder.

[0043] In some embodiments, the first data contained in the target folder may include sequencing data obtained by sequencing the target specimen, and may also include other related data, such as primary bioinformatics analysis results, secondary bioinformatics analysis results, DNA or RNA sequence images, etc. Among them, the primary bioinformatics analysis results refer to the results of the preliminary analysis of the generated sequencing data by the testing agency; the secondary bioinformatics analysis refers to the results obtained by analyzing the sequencing data again in combination with the primary bioinformatics analysis results; the analysis objectives and analysis methods of the primary bioinformatics analysis results and the secondary bioinformatics analysis results may be different, for example, the primary bioinformatics analysis mainly refers to the process of converting fluorescent signals into base sequences and completing base recognition; the secondary bioinformatics analysis may involve the process of performing bioinformatics calculations on the base sequence data of the sequencing data and extracting useful biological information; the DNA or RNA sequence images include the original images generated by the sequencer, gel electrophoresis images, fluorescence in situ hybridization images, and other visual images related to DNA or RNA.

[0044] In some embodiments, the electronic device may download a target folder corresponding to the download task from the server by calling a specified API (Application Programming Interface).

[0045] In some embodiments, when the target sequencing data is uploaded to the server, the server may use different identifiers to name the subfile containing the target sequencing data and the subfile containing other related data. Therefore, the electronic device may select a subfile whose file name or file number conforms to the file naming format or file number format from at least one subfile contained in each target folder based on the file name or file number of at least one subfile contained in each target folder, based on the file naming format or file number format corresponding to the target sequencing data; the first data contained in each subfile is the target sequencing data. Specifically, the subfile containing the target sequencing data may be named A000, that is, the subfiles named starting with A are all subfiles containing the target sequencing data; the subfiles containing other related data may be named B000, that is, the subfiles named starting with B are all subfiles containing other related data; then the electronic device may extract the first data contained in the subfile named starting with A from each target folder to obtain the target sequencing data.

[0046] In the embodiment of the present application, the target email can be automatically parsed to obtain one or more batch numbers, and then the corresponding download task can be generated according to the batch number, without manually extracting the batch number from the target email and then manually creating the download task, which can reduce the time spent on manual downloading and save labor costs; and, the download task can be automatically executed to automatically download the target sequencing data, thereby improving the download efficiency of the sequencing data, avoiding download errors caused by manual downloading, and improving the accuracy of downloading sequencing data.

[0047] like Figure 3 As shown, in another embodiment, a method for downloading sequencing data is provided, which can be applied to the above electronic device. The method may include the following steps 302 to 308.

[0048] Step 302: Perform keyword search on each email received in the target mailbox within a second time period before the current time every a preset first time period.

[0049] Since the detection institutions that generate sequencing data are different, the target emails received by the electronic device have different email formats. Therefore, the electronic device can perform keyword searches on each email received in the target mailbox within a second time period before the current moment at a preset first time period to avoid missing the target email. Optionally, the target mailbox can be the public mailbox mentioned above.

[0050] The preset first duration is used to indicate the frequency with which the electronic device searches for emails contained in the target mailbox; within the same time period, the shorter the preset first duration, the higher the frequency with which the electronic device searches for emails contained in the target mailbox, that is, the shorter the time interval between two searches for emails contained in the target mailbox. The second duration before the current moment refers to the time span between the first email and the last email for which the electronic device searches for keywords in the target mailbox this time; and the second duration must be greater than the first duration, so that the electronic device can perform keyword searches for all emails received in the target mailbox before the current moment every preset first duration, to avoid missing some emails and not searching, resulting in the target email being missed.

[0051] Specifically, assuming that the preset first time length is 5 minutes and the second time length is 24 hours, the electronic device can perform a keyword search on each email received by the target mailbox within 24 hours before the current time every 5 minutes.

[0052] Optionally, the second time period is greater than the first time period, but not equal to the first time period, so that the electronic device can search again for some of the emails that were searched for keywords last time, thereby avoiding the situation where the target email is not retrieved due to an error in the last search, and avoiding the omission of target sequencing data; and, performing keyword search every preset first time period can enable the electronic device to automatically perform keyword search on the target mailbox in various time periods, especially at night or when the staff has not yet started work, so that the target email sent to the target mailbox at any time can be automatically retrieved by the electronic device, and after retrieving the target email containing the target keyword, the electronic device can automatically parse the target email, thereby downloading the target sequencing data corresponding to the target email, and there is no need for the staff to manually extract the batch number from the target email, thereby reducing the possibility of manual error and saving labor costs, and enabling each stage of downloading sequencing data to be carried out automatically and smoothly, thereby improving the download efficiency of sequencing data.

[0053] In some embodiments, the keyword search method that the electronic device can use may include but is not limited to using regular expression search, searching through a natural language processing model, etc., and the keywords that can be used include but are not limited to sequencing data, offline data, DNA sequence, etc., which are not limited here. Offline data refers to the original sequencing data directly obtained from the sequencing instrument.

[0054] Step 304: parse the email body content of the target email containing the target keyword to obtain one or more batch numbers corresponding to the target email.

[0055] In some embodiments, since the second duration is greater than the first duration, the second target email containing the target keyword retrieved by the electronic device last time may contain some of the same target emails as the third target email retrieved this time. Therefore, the electronic device can parse each second target email retrieved last time to obtain one or more batch numbers, and write the one or more batch numbers corresponding to each second target email into the designated document; then parse the third target email retrieved this time to obtain one or more batch numbers, and compare the one or more batch numbers corresponding to the third target email with the one or more batch numbers corresponding to each second target email. If the one or more batch numbers corresponding to the third target email are exactly the same as the one or more batch numbers corresponding to the second target email, the one or more batch numbers corresponding to the third target email will not be written into the designated document; optionally, when generating a download task based on the batch number, the electronic device can select one or more batch numbers corresponding to the target email with the earliest parsing time from the designated document to generate the corresponding download task.

[0056] Optionally, the electronic device may also perform consistency matching on the third target email obtained in this retrieval with each second target email obtained in the previous retrieval, and if there is a second target email that is completely consistent with the third target email, the third target email will not be parsed, thereby avoiding the situation of repeated downloading of target sequencing data.

[0057] The description of parsing the email body content of the target email containing the target keyword in step 304 can refer to the description of parsing the email content included in one or more target emails in the above step 210, which will not be repeated here.

[0058] Step 306: Generate download tasks corresponding to each batch number according to one or more batch numbers.

[0059] Step 308: According to each download task, the first data contained in the target folder indicated by each batch number is downloaded from the server to obtain target sequencing data according to the first data.

[0060] The description of steps 306 to 308 may refer to the relevant description of steps 220 to 230 in the above embodiment, and will not be repeated here.

[0061] In an embodiment of the present application, by performing a keyword search on each email received in the target mailbox within a second time period before the current moment at a preset first time period, omission of target sequencing data can be avoided, and the electronic device can automatically perform a keyword search on the target mailbox in each time period, especially at night or when the staff has not yet started work, so that the target email sent to the target mailbox at any time can be automatically retrieved by the electronic device, and after retrieving the target email containing the target keyword, the electronic device can automatically parse the target email, thereby downloading the target sequencing data corresponding to the target email, and there is no need for the staff to manually extract the batch number from the target email, thereby reducing the possibility of manual error and saving labor costs, and enabling each stage of downloading the sequencing data to be automatically and smoothly carried out, thereby improving the download efficiency of the sequencing data.

[0062] like Figure 4 As shown, in another embodiment, a method for downloading sequencing data is provided, which can be applied to the above electronic device. The method may include the following steps 402 to 410.

[0063] Step 402: parse the email content included in one or more target emails to obtain one or more batch numbers.

[0064] Step 404: Generate download tasks corresponding to each batch number according to one or more batch numbers.

[0065] The description of steps 402 to 404 may refer to the relevant description of steps 210 to 220 in the above embodiment, and will not be repeated here.

[0066] Step 406: Calculate a third duration based on multiple historical waiting times.

[0067] In some embodiments, since the amount of sequencing data is relatively large, it takes a certain amount of time for other electronic devices of the testing organization to upload the sequencing data to the server, and the time when other electronic devices send the target email to the electronic device may be before the sequencing data is uploaded to the server, during the uploading, or after the sequencing data is uploaded.

[0068] Optionally, if the target email is sent to the electronic device before the target sequencing data is uploaded to the server or while it is being uploaded, after the electronic device generates a corresponding download task based on one or more batch numbers parsed from the target email, because the target sequencing data in the server has not been uploaded, the electronic device cannot download the target sequencing data from the server according to the download task, and needs to wait for the target sequencing data to be uploaded before the electronic device can start downloading the target sequencing data. For example, if the target sequencing data still has 30 minutes to upload when the electronic device generates a download task, the electronic device cannot execute the download task within the 30 minutes, and needs to wait 30 minutes before it can download the target sequencing data from the server according to the download task.

[0069] The historical waiting time is the time interval between the generation time and the download start time of the historical download task in the historical time period. The third time length is used to represent the waiting time between the generation time and the download start time of the download task.

[0070] In some embodiments, the electronic device may calculate the average of multiple historical waiting times as the third duration. Optionally, the electronic device may also calculate a first average of the generation time corresponding to each historical download task within the historical time period, and a second average of the start download time corresponding to each historical download task, and use the difference between the first average and the second average as the third duration.

[0071] Step 408, waiting for a third time period after the parsing time corresponding to the first target email, and then executing the download tasks corresponding to the first target email in parallel.

[0072] The first target email is any target email, and the parsing time is the time when the email content included in the first target email is parsed.

[0073] Since under normal circumstances, the parsing time corresponding to the target email is close to the generation time of each download task corresponding to the target email, the electronic device can wait for a third period of time after the parsing time corresponding to the first target email, that is, wait for the target sequencing data corresponding to the first target email to be uploaded to the server, and then execute the various download tasks corresponding to the first target email.

[0074] Parallel execution of various download tasks means that various download tasks corresponding to the first target email are executed at the same time, that is, the first data contained in one or more target folders stored in the server of the target sequencing data are downloaded at the same time. Parallel execution of various download tasks corresponding to the first target email can speed up the download progress, and the downloads of various target folders do not interfere with each other, thereby ensuring the integrity of the first data contained in each target folder.

[0075] Step 410: According to each download task, first data contained in the target folder indicated by each batch number is downloaded from the server to obtain target sequencing data according to the first data.

[0076] The description of step 410 may refer to the related description of step 230 in the above embodiment, which will not be repeated here.

[0077] In the embodiment of the present application, each target email needs to wait for a third period of time after the corresponding parsing time, and then execute the corresponding download tasks in parallel, so that each target sequencing data can be completely uploaded to the server, and after the target sequencing data is uploaded, the electronic device can automatically execute the download task; and the download of the target sequencing data corresponding to each target email does not interfere with each other, and at the same time, the download tasks corresponding to the same target email do not interfere with each other; multi-threaded download of each target folder can greatly reduce the download time of the target sequencing data, thereby fully improving the download efficiency of the sequencing data.

[0078] like Figure 5 As shown, in another embodiment, a method for downloading sequencing data is provided, which can be applied to the above electronic device. The method may include the following steps 502 to 514.

[0079] Step 502: parse the email content included in one or more target emails to obtain one or more batch numbers.

[0080] Step 504: Generate download tasks corresponding to each batch number according to one or more batch numbers.

[0081] Step 506: Download the first data contained in the target folder indicated by each batch number from the server according to each download task.

[0082] The description of steps 502 to 506 may refer to the relevant description of steps 210 to 230 in the above embodiment, and will not be repeated here.

[0083] Step 508: Perform integrity check on the first data contained in each downloaded target folder to obtain an integrity check result.

[0084] Since the download of the target folder may be interrupted or fail due to various reasons during the download process, in order to ensure the complete download of the first data contained in the target folder, the electronic device may perform integrity check on the first data contained in each target folder during the download process of the first data contained in each target folder, and determine further operations according to the integrity check results. The further operations may include pausing the download, re-downloading, issuing a warning, etc.

[0085] In some embodiments, due to the large amount of sequencing data, the incomplete download of the first data contained in the target folder may be caused by the following reasons: the first data contained in the target folder has not been uploaded completely, the network is interrupted during the upload process of the first data contained in the target folder to the server, resulting in the loss of the first data, there is a problem with the first data contained in the target folder itself, the network of the electronic device is interrupted during the download process, and the first data contained in the target folder is automatically interrupted due to the large amount of data, etc.

[0086] In some embodiments, the integrity check methods available to the electronic device include, but are not limited to, parity check, BCC XOR check (Block Check Character), LRC check (Longitudinal Redundancy Check), CRC check (Cyclic Redundancy Check), etc., and are not limited here.

[0087] In some embodiments, Figure 6 As shown, the step performs integrity check on the first data contained in each target folder to obtain an integrity check result, which may include steps 602 to 610.

[0088] Step 602: During the process of downloading the first data contained in the first target folder, integrity check is performed on each sub-file and / or sub-folder contained in the first target folder to obtain a first check result corresponding to the first target folder.

[0089] The first target folder is any target folder. The first verification result is used to indicate whether the data contained in each sub-file and / or sub-folder contained in the first target folder is complete.

[0090] In some embodiments, during the process of downloading the first data contained in the first target folder, if the electronic device detects that the download of any subfile or any subfolder contained in the first target folder is completed, the electronic device may perform a hash check on the subfile or subfolder that has been downloaded to determine whether the data contained in the subfile or subfolder that has been downloaded is complete; if the data contained in each subfile and / or subfolder contained in the first target folder is complete, the first verification result corresponding to the first target folder is determined to be passed; if there is any subfile or any subfolder in the first target folder that contains incomplete data, the first verification result corresponding to the first target folder is determined to be failed.

[0091] In some specific embodiments, the electronic device may perform a hash check on the downloaded subfile or subfolder according to the verification file corresponding to the first target folder to determine whether the data contained in the downloaded subfile or subfolder is complete. The verification file corresponding to the first target folder may include the names of all subfiles or subfolders in the first target folder and their corresponding hash values.

[0092] In some embodiments, if the data contained in the subfile or subfolder whose download is completed is incomplete, the electronic device re-executes the download task corresponding to the subfile or subfolder whose data is incomplete, so as to re-download the data contained in the subfile or subfolder whose data is incomplete, until the data contained in each subfile and / or subfolder contained in the first target folder is completely downloaded, or the data contained in a subfile or subfolder contained in the first target folder cannot be completely downloaded.

[0093] Step 604: When the download of the first data contained in the one or more target folders is completed, an integrity check is performed on the one or more target folders to obtain a second check result.

[0094] In some embodiments, when the download of the first data contained in one or more target folders is completed, the electronic device performs an integrity check on the target folders corresponding to each batch number contained in the target email, determines whether the number of target folders and the number of sub-files and / or sub-folders in each target folder are consistent with the corresponding number in the server, and obtains a second check result.

[0095] Step 606, determine whether the first inspection result and the second inspection result corresponding to each target folder are both passed. If the first inspection result and the second inspection result corresponding to each target folder are both passed, execute step 608; if there is any target folder corresponding to the first inspection result is not passed, and / or the second inspection result is not passed, execute step 610.

[0096] Step 608: Determine if the integrity check result is passed.

[0097] In some embodiments, if the first check result and the second check result corresponding to each target folder are both passed, it means that the number of target folders, the number of sub-files and / or sub-folders in each target folder, and the contents of the sub-files and / or sub-folders in each target folder are complete, that is, the first data integrity check result contained in each target folder is passed, that is, all first data corresponding to the target email are downloaded.

[0098] Step 610: Determine whether the integrity check fails.

[0099] In some embodiments, if the electronic device detects that the first check result corresponding to any target folder is failed, and / or the second check result is failed, it is determined that the integrity check is failed.

[0100] By performing multi-dimensional integrity checks on the content and quantity of files and folders during the download process of sequencing data, the integrity of the sequencing data can be ensured. When the download of some files or folders is abnormally interrupted, the files or folders can be automatically re-downloaded or continued, reducing manual operations.

[0101] Step 510, determine whether the integrity check result indicates that the check has passed. If the integrity check result indicates that the check has passed, execute step 512; if the integrity check result indicates that the check has not passed, output a warning signal.

[0102] Optionally, if the integrity check result indicates that the check is passed, it may mean that the first data contained in each target folder is complete; if the integrity check result indicates that the check is failed, it may mean that the first data contained in the target folder may have abnormal conditions such as data loss.

[0103] In some embodiments, if the electronic device detects that the integrity check result corresponding to the first data contained in the first target folder indicates that the check fails, an early warning signal is output to remind the staff that there is a problem with the target sequencing data corresponding to the target email, and it cannot be automatically downloaded normally, and manual intervention is required. Optionally, the early warning signal may include but is not limited to the batch number corresponding to the target folder with the problem, the specific problem, etc.

[0104] In some embodiments, if the electronic device detects that the download time of the target sequencing data corresponding to the first target email is greater than a preset time threshold, it means that the download of the target sequencing data cannot be stopped or completed or the target sequencing data is too large, and the electronic device can output a warning signal.

[0105] Step 512: Obtain target sequencing data according to the first data contained in each target folder.

[0106] Since the first data contained in each target folder may include other related data in addition to the target sequencing data, when the integrity check result corresponding to the first data contained in each target folder indicates that the check has passed, the electronic device may screen the first data contained in each target folder to obtain the target sequencing data.

[0107] Optionally, the electronic device may identify the file names or subfolder names corresponding to the subfiles and / or subfolders contained in the target folder, thereby finding the target sequencing data.

[0108] Step 514, perform bioinformatics analysis on the target sequencing data, obtain analysis results, and send the analysis results to the target mailbox.

[0109] Bioinformatics analysis, also known as bioinformatics analysis, is a method that uses computer science and biological principles to process, analyze and interpret biological data; the main goal of bioinformatics analysis is to extract valuable information about biological problems from huge sequencing data. Optionally, the main methods for bioinformatics analysis of target sequencing data may include but are not limited to sequence alignment, gene prediction, protein structure and function prediction, gene expression profile analysis, etc.

[0110] In some embodiments, the electronic device may also generate a result email together with the analysis results corresponding to the target program data and other data in the first data contained in each target folder, except the target sequencing data, and send it to the target mailbox for analysts to observe and analyze it uniformly with other data and analysis results.

[0111] In the embodiment of the present application, the electronic device can monitor the target mailbox so that once a target email containing a keyword is detected, the target email can be parsed to obtain one or more batch numbers, and a corresponding download task can be generated according to each batch number, so as to automatically parse the target email and automatically identify the download task, so that the electronic device can download the sequencing data in time; and, by automatically downloading multiple sequencing data with different batch numbers at the same time after a specified time interval, during and after the download of the sequencing data, a multi-dimensional integrity check is performed on the content and quantity of the sub-files and / or sub-folders contained in each target folder to ensure the integrity of the sequencing data, and when the download of some sub-files or sub-folders is abnormally interrupted, the sub-files or sub-folders can be automatically re-downloaded or continued to be downloaded to reduce manual operations; after the sequencing data is downloaded, the electronic device can also automatically start the bioinformatics analysis without manually starting the analysis program; that is, the electronic device can realize real-time monitoring and automatic execution of the target sequencing data from email parsing to downloading and then to analysis through an automated process, which greatly improves the download efficiency and accuracy of the sequencing data and greatly saves labor costs.

[0112] In a specific embodiment, Figure 7 As shown, assuming that the preset first time length is 5 minutes, the second time length is 24 hours, and the third time length is 2 hours, the specific process of downloading sequencing data may include: Every 5 minutes, the electronic device performs a keyword search on each email received in the target mailbox within 24 hours before the current moment, and obtains a target email a containing the target keyword; then the email body content of the target email a is parsed to obtain three batch numbers corresponding to the target email a, which are batch number 1, batch number 2 and batch number 3; based on the three batch numbers, download tasks corresponding to each batch number are generated, which are download task 1, download task 2 and download task 3; wait for 2 hours after the parsing time corresponding to the target email a, and then execute download task 1, download task 2 and download task 3 in parallel; based on each download task, determine the target folder 1 indicated by batch number 1, the target folder 2 indicated by batch number 2, and the target folder 3 indicated by batch number 3; download the first data contained in the target folder 1, the target folder 2 and the target folder 3 from server A respectively, so as to obtain the target sequencing data corresponding to the target email a according to the first data corresponding to the three target folders.

[0113] Assume that the target folder 1 contains two sub-files, namely the first sub-file and the second sub-file; in the process of downloading the first data contained in the target folder 1, if it is detected that the downloading of the first sub-file and the second sub-file is completed, a hash check is performed on the first sub-file and the second sub-file according to the verification file corresponding to the target folder 1 to determine whether the data contained in the first sub-file and the second sub-file that have been downloaded are complete; if the data contained in the first sub-file and the second sub-file are both complete, the first verification result corresponding to the target folder 1 is determined to be passed; if the data contained in the first sub-file that has been downloaded is incomplete, the download task corresponding to the first sub-file is re-executed to re-download the data contained in the first sub-file; if the data contained in the first sub-file or the second sub-file in the target folder 1 is incomplete, the first verification result corresponding to the target folder 1 is determined to be failed. When the first data respectively contained in the target folder 1, the target folder 2 and the target folder 3 are downloaded, the target folder 1, the target folder 2 and the target folder 3 are subjected to integrity check to obtain the second check result; if the first check result and the second check result respectively corresponding to the target folder 1, the target folder 3 and the target folder 3 are passed, the integrity check result corresponding to the target email a is determined to be passed; if the first check result corresponding to the target folder 1 or the target folder 2 or the target folder 3 is not passed, and / or the second check result is not passed, the integrity check corresponding to the target email a is determined to be not passed. If the integrity check result indicates that the check is passed, the target sequencing data is obtained according to the first data respectively contained in the target folder 1, the target folder 2 and the target folder 3; the target sequencing data is subjected to bioinformatics analysis to obtain the analysis result, and the analysis result is sent to the target mailbox.

[0114] In an embodiment of the present application, the electronic device can monitor the target mailbox so that once a target email containing a keyword is detected, the target email can be parsed to obtain one or more batch numbers, and a corresponding download task can be generated according to each batch number, so as to automatically parse the target email and automatically identify the download task, and download the sequencing data in a timely manner; and, by automatically downloading sequencing data of multiple different batch numbers at the same time after a specified time interval, a multi-dimensional integrity check is performed on the content and quantity of files and folders during the download of the sequencing data to ensure the integrity of the sequencing data, and when the download of some files or folders is abnormally interrupted, the file or folder can be automatically re-downloaded or continued, reducing manual operations; after the sequencing data is downloaded, the bioinformatics analysis can also be automatically started without manually starting the analysis program; that is, the electronic device can realize real-time monitoring and automatic execution of sequencing data from email parsing to downloading and then to analysis through an automated process, which greatly improves the download efficiency and accuracy of the sequencing data and greatly saves labor costs.

[0115] like Figure 8 As shown, in one embodiment, a sequencing data downloading device 800 is provided, which can be applied to the above electronic device. The sequencing data downloading device 800 can include a parsing module 810, a generating module 820 and a downloading module 830.

[0116] The parsing module 810 is used to parse the email content included in one or more target emails to obtain one or more batch numbers, and the one or more batch numbers are used to indicate one or more target folders where the target sequencing data to be downloaded is stored in the server.

[0117] The generating module 820 is used to generate download tasks corresponding to each batch number according to one or more batch numbers.

[0118] The download module 830 is used to download the first data contained in the target folder indicated by each batch number from the server according to each download task, so as to obtain the target sequencing data according to the first data.

[0119] As an optional implementation, the sequencing data downloading device 800 may further include a retrieval module, a waiting execution module, a verification module and an analysis module.

[0120] The search module is used to perform keyword search on each email received in the target mailbox within a second time period before the current time every a preset first time period.

[0121] Optionally, the parsing module 810 is further configured to parse the email body content of the target email containing the target keyword to obtain one or more batch numbers corresponding to the target email.

[0122] The waiting execution module is used to calculate the third duration based on multiple historical waiting times, where the historical waiting time is the time interval between the generation time and the download start time corresponding to the historical download task within the historical time period; wait for the third duration after the parsing time corresponding to the first target email, and then execute the download tasks corresponding to the first target email in parallel, where the first target email is any target email, and the parsing time is the time for parsing the email content included in the first target email.

[0123] The download module 830 is also used to download the first data contained in each target folder indicated by the batch number from the server according to each download task; perform integrity check on the first data contained in each downloaded target folder to obtain an integrity check result; if the integrity check result indicates that the check is passed, obtain the target sequencing data according to the first data contained in each target folder.

[0124] The analysis module is used to perform bioinformatics analysis on the target sequencing data, obtain the analysis results, and send the analysis results to the target mailbox.

[0125] Optionally, the target folder includes at least one sub-file and / or sub-folder.

[0126] A verification module is used to perform integrity verification on each sub-file and / or sub-folder contained in a first target folder during the process of downloading the first data contained in the first target folder, and obtain a first verification result corresponding to the first target folder; the first target folder is any target folder; when the download of the first data contained in one or more target folders is completed, perform integrity verification on one or more target folders to obtain a second verification result; if the first verification result and the second verification result corresponding to each target folder are both passed, then determine that the integrity verification result is a passed verification; if there is any target folder whose first verification result is failed and / or the second verification result is failed, then determine that the integrity verification is a failed verification.

[0127] Optionally, the verification module is also used to, during the process of downloading the first data contained in the first target folder, if it is detected that the download of any subfile or any subfolder contained in the first target folder is completed, perform a hash check on the subfile or subfolder that has been downloaded to determine whether the data contained in the subfile or subfolder that has been downloaded is complete; if the data contained in each subfile and / or subfolder contained in the first target folder is complete, determine that the first verification result corresponding to the first target folder is passed; if there is any subfile or any subfolder in the first target folder that contains incomplete data, determine that the first verification result corresponding to the first target folder is failed.

[0128] Optionally, the verification module is further used to perform a hash check on the downloaded sub-file or sub-folder according to the verification file corresponding to the first target folder to determine whether the data contained in the downloaded sub-file or sub-folder is complete.

[0129] In some embodiments, the download module 830 is also used to re-execute the download task corresponding to the sub-file or sub-folder with incomplete data if the data contained in the sub-file or sub-folder whose download is completed is incomplete, so as to re-download the data contained in the sub-file or sub-folder with incomplete data.

[0130] In the embodiment of the present application, the target email can be automatically parsed to obtain one or more batch numbers, and then the corresponding download task can be generated according to the batch number, without manually extracting the batch number from the target email and then manually creating the download task, which can reduce the time spent on manual downloading and save labor costs; and, the download task can be automatically executed to automatically download the target sequencing data, thereby improving the download efficiency of the sequencing data, avoiding download errors caused by manual downloading, and improving the accuracy of downloading sequencing data.

[0131] Fig. 9 FIG. 1 is a block diagram of an electronic device in an embodiment. The electronic device may be a mobile phone, a tablet computer, a smart wearable device, etc. Fig. 9 As shown, the electronic device 900 may include one or more of the following components: a processor 910, and a memory 920 coupled to the processor 910, wherein the memory 920 may store one or more computer programs, and the one or more computer programs may be configured to implement the methods described in the above embodiments when executed by one or more processors 910.

[0132] The processor 910 may include one or more processing cores. The processor 910 uses various interfaces and lines to connect various parts of the entire electronic device 900, and executes various functions and processes data of the electronic device 900 by running or executing instructions, programs, code sets or instruction sets stored in the memory 920, and calling data stored in the memory 920. Optionally, the processor 910 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 910 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 910, but may be implemented separately through a communication chip.

[0133] The memory 920 may include a random access memory (RAM) or a read-only memory (ROM). The memory 920 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 920 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc. The data storage area may also store data created by the electronic device 900 during use, etc.

[0134] It is understandable that the electronic device 900 may include more or fewer structural elements than those in the above structural block diagram, for example, including a power supply, input buttons, a camera, a speaker, a screen, an RF (Radio Frequency) circuit, a Wi-Fi (Wireless Fidelity) module, a Bluetooth module, a sensor, etc., and no limitation is made here.

[0135] An embodiment of the present application discloses a storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the method described in the above embodiments.

[0136] The embodiments of the present application disclose a computer program product, including a computer program, and the computer program can be executed by a processor to implement the methods described in the above embodiments.

[0137] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM), etc.

[0138] Any reference to memory, storage, database or other medium as used herein may include non-volatile and / or volatile memory. Suitable non-volatile memory may include ROM, programmable ROM (Programmable ROM, PROM), erasable PROM (Erasable PROM, EPROM), electrically erasable PROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM), which is used as an external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), memory bus direct RAM (RDRAM) and direct memory bus dynamic RAM (DRDRAM).

[0139] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. Those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required for the present application.

[0140] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the above-mentioned processes does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0141] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0142] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0143] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0144] If the above-mentioned integrated unit 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-accessible memory. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for a computer device (which can be a personal computer, server or network device, etc., specifically a processor in a computer device) to perform some or all of the steps of the above-mentioned methods of various embodiments of the present application.

[0145] The above is a detailed introduction to a method, device, electronic device and storage medium for downloading sequencing data disclosed in the embodiments of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. At the same time, for those of ordinary skill in the art, according to the idea of ​​the present application, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as limiting the present application.

Claims

1. A method for downloading sequencing data, characterized in that: The method comprises: Parsing email contents included in one or more target emails to obtain one or more batch numbers, wherein the one or more batch numbers are used to indicate one or more target folders where the target sequencing data to be downloaded is stored in the server; According to the one or more batch numbers, generating download tasks corresponding to each of the batch numbers; According to each of the download tasks, the first data contained in the target folder indicated by each of the batch numbers is downloaded from the server to obtain the target sequencing data according to the first data.

2. The method according to claim 1, characterized in that The parsing of the email contents included in the one or more target emails to obtain one or more batch numbers includes: At every first preset time interval, keyword search is performed on each email received in the target mailbox within a second time interval before the current time; Parse the email body content of the target email containing the target keyword to obtain one or more batch numbers corresponding to the target email.

3. The method according to claim 1, characterized in that Before downloading the first data contained in the target folders indicated by the batch numbers from the server according to the download tasks, the method further includes: Calculate a third duration based on multiple historical waiting times, where the historical waiting time is the length of the time interval between the generation time and the download start time corresponding to the historical download task within the historical time period; After the parsing time corresponding to the first target email, the third time period is waited, and then the download tasks corresponding to the first target email are executed in parallel. The first target email is any of the target emails, and the parsing time is the time for parsing the email content included in the first target email.

4. The method according to claim 1, characterized in that: The step of downloading the first data contained in the target folder indicated by each batch number from the server according to each download task, so as to obtain the target sequencing data according to the first data, comprises: According to each of the download tasks, downloading from the server the first data contained in the target folder indicated by each of the batch numbers; Performing integrity check on the first data contained in each of the downloaded target folders to obtain an integrity check result; If the integrity check result indicates that the check is passed, obtaining the target sequencing data according to the first data contained in each of the target folders; The method further comprises: Perform bioinformatics analysis on the target sequencing data to obtain analysis results, and send the analysis results to the target mailbox.

5. The method according to claim 4, characterized in that The target folder includes at least one sub-file and / or sub-folder; the integrity check is performed on the first data included in each of the target folders to obtain an integrity check result, including: In the process of downloading the first data contained in the first target folder, performing integrity check on each sub-file and / or sub-folder contained in the first target folder to obtain a first check result corresponding to the first target folder; the first target folder is any target folder; When the download of the first data contained in the one or more target folders is completed, performing integrity check on the one or more target folders to obtain a second check result; If the first verification result and the second verification result corresponding to each of the target folders are both passed, determining that the integrity verification result is a passed verification; If the first check result corresponding to any target folder is failed, and / or the second check result is failed, it is determined that the integrity check is failed.

6. The method according to claim 5, characterized in that In the process of downloading the first data contained in the first target folder, performing integrity check on each sub-file and / or sub-folder contained in the first target folder to obtain a first check result corresponding to the first target folder includes: In the process of downloading the first data contained in the first target folder, if it is detected that the download of any sub-file or any sub-folder contained in the first target folder is completed, a hash check is performed on the sub-file or sub-folder that has been downloaded to determine whether the data contained in the sub-file or sub-folder that has been downloaded is complete; If the sub-files and / or data contained in the sub-folders contained in the first target folder are complete, determining that the first verification result corresponding to the first target folder is passed; If any sub-file exists in the first target folder or the data contained in any sub-folder is incomplete, it is determined that the first verification result corresponding to the first target folder is failed.

7. The method according to claim 6, characterized in that The performing of a hash check on the downloaded sub-file or sub-folder to determine whether the data contained in the downloaded sub-file or sub-folder is complete includes: Performing a hash check on the downloaded subfile or subfolder according to the verification file corresponding to the first target folder to determine whether the data contained in the downloaded subfile or subfolder is complete; The method further comprises: If the data contained in the downloaded subfile or subfolder is incomplete, the download task corresponding to the subfile or subfolder with incomplete data is re-executed to re-download the data contained in the subfile or subfolder with incomplete data.

8. A device for downloading sequencing data, characterized in that: The device comprises: A parsing module, used to parse the email content included in one or more target emails to obtain one or more batch numbers, wherein the one or more batch numbers are used to indicate one or more target folders where the target sequencing data to be downloaded is stored in the server; A generating module, configured to generate, according to the one or more batch numbers, a download task corresponding to each of the batch numbers; A download module is used to download the first data contained in the target folder indicated by each batch number from the server according to each download task, so as to obtain the target sequencing data according to the first data.

9. An electronic device, characterized in that: The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor implements the method according to any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.