Commit b4a980d5 authored by MARIJON Pierre's avatar MARIJON Pierre

If we didn't have assembly_len skip the assembly

parent 25967ec9
......@@ -86,6 +86,10 @@ def finish(args):
run_id, assembly_len = get_info_about_ERS(ERS_accession)
logging.info("end of get information for "+accession)
if not assembly_len:
logging.error("We didn't find any assembly len, we skip this !")
continue
data_path = args["data"] / accession
data_path.mkdir(parents=True, exist_ok=True)
......@@ -162,6 +166,10 @@ def select(args):
download_extract_merge(data_path, accession)
logging.info("end of download data for "+accession)
if not assembly_len:
logging.error("We didn't find any assembly len, we skip this !")
continue
# compute coverage
logging.info("begin of compute canu parametre for "+accession)
fastq_files, *canu_parameters = compute_canu_parameter(data_path, assembly_len)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment