[2024-01-24 13:01:13,106] [INFO] DFAST_QC pipeline started.
[2024-01-24 13:01:13,108] [INFO] DFAST_QC version: 0.5.7
[2024-01-24 13:01:13,108] [INFO] DQC Reference Directory: /var/lib/cwl/stgf714e360-fff9-4a43-8b49-92dad45ac0a9/dqc_reference
[2024-01-24 13:01:14,329] [INFO] ===== Start taxonomy check using ANI =====
[2024-01-24 13:01:14,330] [INFO] Task started: Prodigal
[2024-01-24 13:01:14,330] [INFO] Running command: gunzip -c /var/lib/cwl/stgc473dcc2-8354-4b02-baf3-70cb21b79a30/GCF_000243815.2_gls454062v02_genomic.fna.gz | prodigal -d GCF_000243815.2_gls454062v02_genomic.fna/cds.fna -a GCF_000243815.2_gls454062v02_genomic.fna/protein.faa -g 11 -q > /dev/null
[2024-01-24 13:01:23,134] [INFO] Task succeeded: Prodigal
[2024-01-24 13:01:23,134] [INFO] Task started: HMMsearch
[2024-01-24 13:01:23,134] [INFO] Running command: hmmsearch --tblout GCF_000243815.2_gls454062v02_genomic.fna/hmmer_result.tsv -E 1E-50 /var/lib/cwl/stgf714e360-fff9-4a43-8b49-92dad45ac0a9/dqc_reference/reference_markers.hmm GCF_000243815.2_gls454062v02_genomic.fna/protein.faa > /dev/null
[2024-01-24 13:01:23,489] [INFO] Task succeeded: HMMsearch
[2024-01-24 13:01:23,493] [INFO] Found 6/6 markers.
[2024-01-24 13:01:23,540] [INFO] Query marker FASTA was written to GCF_000243815.2_gls454062v02_genomic.fna/markers.fasta
[2024-01-24 13:01:23,541] [INFO] Task started: Blastn
[2024-01-24 13:01:23,541] [INFO] Running command: blastn -query GCF_000243815.2_gls454062v02_genomic.fna/markers.fasta -db /var/lib/cwl/stgf714e360-fff9-4a43-8b49-92dad45ac0a9/dqc_reference/reference_markers.fasta -out GCF_000243815.2_gls454062v02_genomic.fna/blast.markers.tsv -outfmt 6 -max_hsps 1 -num_alignments 5
[2024-01-24 13:01:24,109] [INFO] Task succeeded: Blastn
[2024-01-24 13:01:24,113] [INFO] Selected 6 target genomes.
[2024-01-24 13:01:24,114] [INFO] Target genome list was writen to GCF_000243815.2_gls454062v02_genomic.fna/target_genomes.txt
[2024-01-24 13:01:24,117] [INFO] Task started: fastANI
[2024-01-24 13:01:24,117] [INFO] Running command: fastANI --query /var/lib/cwl/stgc473dcc2-8354-4b02-baf3-70cb21b79a30/GCF_000243815.2_gls454062v02_genomic.fna.gz --refList GCF_000243815.2_gls454062v02_genomic.fna/target_genomes.txt --output GCF_000243815.2_gls454062v02_genomic.fna/fastani_result.tsv --threads 1
[2024-01-24 13:01:35,051] [INFO] Task succeeded: fastANI
[2024-01-24 13:01:35,052] [INFO] Loading species specific ANI threshold from /var/lib/cwl/stgf714e360-fff9-4a43-8b49-92dad45ac0a9/dqc_reference/prokaryote_ANI_species_specific_threshold.txt
[2024-01-24 13:01:35,052] [WARNING] Species-specific ANI threshold file not found. Will use the default threshold for all species. [/var/lib/cwl/stgf714e360-fff9-4a43-8b49-92dad45ac0a9/dqc_reference/prokaryote_ANI_species_specific_threshold.txt]
[2024-01-24 13:01:35,059] [INFO] Found 6 fastANI hits (1 hits with ANI > threshold)
[2024-01-24 13:01:35,059] [INFO] The taxonomy check result is classified as 'conclusive'.
[2024-01-24 13:01:35,059] [INFO] DFAST Taxonomy check final result
--------------------------------------------------------------------------------
organism_name	strain	accession	taxid	species_taxid	relation_to_type	validated	ani	matched_fragments	total_fragments	ani_threshold	status
Leptospira alexanderi	strain=L 60	GCA_000243815.3	100053	100053	type	True	100.0	1372	1377	95	conclusive
Leptospira mayottensis	strain=200901116	GCA_000306675.3	1137606	1137606	type	True	91.792	1146	1377	95	below_threshold
Leptospira borgpetersenii	strain=DSM 21538	GCA_003046425.1	174	174	type	True	91.1821	1115	1377	95	below_threshold
Leptospira santarosai	strain=LT 821	GCA_000313175.2	28183	28183	type	True	87.333	1061	1377	95	below_threshold
Leptospira alstonii	strain=79601	GCA_000347175.1	28452	28452	type	True	83.9113	1026	1377	95	below_threshold
Leptospira kirschneri	strain=3522 CT	GCA_000243695.3	29507	29507	type	True	80.3429	861	1377	95	below_threshold
--------------------------------------------------------------------------------
[2024-01-24 13:01:35,061] [INFO] DFAST Taxonomy check result was written to GCF_000243815.2_gls454062v02_genomic.fna/tc_result.tsv
[2024-01-24 13:01:35,062] [INFO] ===== Taxonomy check completed =====
[2024-01-24 13:01:35,062] [INFO] ===== Start completeness check using CheckM =====
[2024-01-24 13:01:35,063] [INFO] Setting CHECKM_DATA_PATH to /var/lib/cwl/stgf714e360-fff9-4a43-8b49-92dad45ac0a9/dqc_reference/checkm_data
[2024-01-24 13:01:35,064] [INFO] Selected 'Prokaryote' markers (life, taxid=0) for CheckM
[2024-01-24 13:01:35,116] [INFO] Task started: CheckM
[2024-01-24 13:01:35,117] [INFO] Running command: checkm taxonomy_wf --tab_table -f GCF_000243815.2_gls454062v02_genomic.fna/cc_result.tsv -t 1 life "Prokaryote" GCF_000243815.2_gls454062v02_genomic.fna/checkm_input GCF_000243815.2_gls454062v02_genomic.fna/checkm_result
[2024-01-24 13:02:06,706] [INFO] Task succeeded: CheckM
[2024-01-24 13:02:06,707] [INFO] Completeness check finished.
--------------------------------------------------------------------------------
Completeness: 91.67%
Contamintation: 0.00%
Strain heterogeneity: 0.00%
--------------------------------------------------------------------------------
[2024-01-24 13:02:06,728] [INFO] ===== Completeness check finished =====
[2024-01-24 13:02:06,728] [INFO] ===== Start GTDB Search =====
[2024-01-24 13:02:06,728] [INFO] Query marker FASTA already exists. Will reuse it. (GCF_000243815.2_gls454062v02_genomic.fna/markers.fasta)
[2024-01-24 13:02:06,728] [INFO] Task started: Blastn
[2024-01-24 13:02:06,728] [INFO] Running command: blastn -query GCF_000243815.2_gls454062v02_genomic.fna/markers.fasta -db /var/lib/cwl/stgf714e360-fff9-4a43-8b49-92dad45ac0a9/dqc_reference/reference_markers_gtdb.fasta -out GCF_000243815.2_gls454062v02_genomic.fna/blast.markers.gtdb.tsv -outfmt 6 -max_hsps 1 -num_alignments 5
[2024-01-24 13:02:07,504] [INFO] Task succeeded: Blastn
[2024-01-24 13:02:07,508] [INFO] Selected 7 target genomes.
[2024-01-24 13:02:07,508] [INFO] Target genome list was writen to GCF_000243815.2_gls454062v02_genomic.fna/target_genomes_gtdb.txt
[2024-01-24 13:02:07,515] [INFO] Task started: fastANI
[2024-01-24 13:02:07,515] [INFO] Running command: fastANI --query /var/lib/cwl/stgc473dcc2-8354-4b02-baf3-70cb21b79a30/GCF_000243815.2_gls454062v02_genomic.fna.gz --refList GCF_000243815.2_gls454062v02_genomic.fna/target_genomes_gtdb.txt --output GCF_000243815.2_gls454062v02_genomic.fna/fastani_result_gtdb.tsv --threads 1
[2024-01-24 13:02:19,674] [INFO] Task succeeded: fastANI
[2024-01-24 13:02:19,684] [INFO] Found 7 fastANI hits (1 hits with ANI > circumscription radius)
[2024-01-24 13:02:19,684] [INFO] GTDB search result
--------------------------------------------------------------------------------
accession	gtdb_species	ani	matched_fragments	total_fragments	gtdb_taxonomy	ani_circumscription_radius	mean_intra_species_ani	min_intra_species_ani	mean_intra_species_af	min_intra_species_af	num_clustered_genomes	status
GCF_000243815.2	s__Leptospira alexanderi	100.0	1372	1377	d__Bacteria;p__Spirochaetota;c__Leptospirae;o__Leptospirales;f__Leptospiraceae;g__Leptospira	95.0	99.22	97.61	0.97	0.93	6	conclusive
GCF_000244815.1	s__Leptospira weilii	93.5835	1162	1377	d__Bacteria;p__Spirochaetota;c__Leptospirae;o__Leptospirales;f__Leptospiraceae;g__Leptospira	95.0	95.50	95.12	0.87	0.84	20	-
GCF_000306675.2	s__Leptospira mayottensis	91.8038	1144	1377	d__Bacteria;p__Spirochaetota;c__Leptospirae;o__Leptospirales;f__Leptospiraceae;g__Leptospira	95.0	99.59	98.88	0.95	0.90	6	-
GCF_003046425.1	s__Leptospira borgpetersenii	91.2288	1112	1377	d__Bacteria;p__Spirochaetota;c__Leptospirae;o__Leptospirales;f__Leptospiraceae;g__Leptospira	95.0	99.13	97.82	0.96	0.92	148	-
GCF_000313175.2	s__Leptospira santarosai	87.352	1059	1377	d__Bacteria;p__Spirochaetota;c__Leptospirae;o__Leptospirales;f__Leptospiraceae;g__Leptospira	95.0	98.62	96.47	0.92	0.90	43	-
GCF_000347175.1	s__Leptospira alstonii	83.8911	1029	1377	d__Bacteria;p__Spirochaetota;c__Leptospirae;o__Leptospirales;f__Leptospiraceae;g__Leptospira	95.0	99.79	99.25	0.97	0.95	5	-
GCF_000332415.1	s__Leptospira weilii_A	83.4879	1001	1377	d__Bacteria;p__Spirochaetota;c__Leptospirae;o__Leptospirales;f__Leptospiraceae;g__Leptospira	95.0	N/A	N/A	N/A	N/A	1	-
--------------------------------------------------------------------------------
[2024-01-24 13:02:19,688] [INFO] GTDB search result was written to GCF_000243815.2_gls454062v02_genomic.fna/result_gtdb.tsv
[2024-01-24 13:02:19,689] [INFO] ===== GTDB Search completed =====
[2024-01-24 13:02:19,692] [INFO] DFAST_QC result json was written to GCF_000243815.2_gls454062v02_genomic.fna/dqc_result.json
[2024-01-24 13:02:19,693] [INFO] DFAST_QC completed!
[2024-01-24 13:02:19,693] [INFO] Total running time: 0h1m7s
