[2023-06-28 20:27:07,959] [INFO] DFAST_QC pipeline started.
[2023-06-28 20:27:07,964] [INFO] DFAST_QC version: 0.5.7
[2023-06-28 20:27:07,964] [INFO] DQC Reference Directory: /var/lib/cwl/stg01d745f3-9794-417f-8d58-18721eb21c09/dqc_reference
[2023-06-28 20:27:09,833] [INFO] ===== Start taxonomy check using ANI =====
[2023-06-28 20:27:09,834] [INFO] Task started: Prodigal
[2023-06-28 20:27:09,834] [INFO] Running command: gunzip -c /var/lib/cwl/stgcaacca38-ce32-4b10-904f-81f959ea7335/GCA_020093035.1_ASM2009303v1_genomic.fna.gz | prodigal -d GCA_020093035.1_ASM2009303v1_genomic.fna/cds.fna -a GCA_020093035.1_ASM2009303v1_genomic.fna/protein.faa -g 11 -q > /dev/null
[2023-06-28 20:27:14,306] [INFO] Task succeeded: Prodigal
[2023-06-28 20:27:14,306] [INFO] Task started: HMMsearch
[2023-06-28 20:27:14,306] [INFO] Running command: hmmsearch --tblout GCA_020093035.1_ASM2009303v1_genomic.fna/hmmer_result.tsv -E 1E-50 /var/lib/cwl/stg01d745f3-9794-417f-8d58-18721eb21c09/dqc_reference/reference_markers.hmm GCA_020093035.1_ASM2009303v1_genomic.fna/protein.faa > /dev/null
[2023-06-28 20:27:14,697] [INFO] Task succeeded: HMMsearch
[2023-06-28 20:27:14,698] [INFO] Found 6/6 markers.
[2023-06-28 20:27:14,724] [INFO] Query marker FASTA was written to GCA_020093035.1_ASM2009303v1_genomic.fna/markers.fasta
[2023-06-28 20:27:14,725] [INFO] Task started: Blastn
[2023-06-28 20:27:14,725] [INFO] Running command: blastn -query GCA_020093035.1_ASM2009303v1_genomic.fna/markers.fasta -db /var/lib/cwl/stg01d745f3-9794-417f-8d58-18721eb21c09/dqc_reference/reference_markers.fasta -out GCA_020093035.1_ASM2009303v1_genomic.fna/blast.markers.tsv -outfmt 6 -max_hsps 1 -num_alignments 5
[2023-06-28 20:27:16,498] [INFO] Task succeeded: Blastn
[2023-06-28 20:27:16,501] [INFO] Selected 9 target genomes.
[2023-06-28 20:27:16,502] [INFO] Target genome list was writen to GCA_020093035.1_ASM2009303v1_genomic.fna/target_genomes.txt
[2023-06-28 20:27:16,514] [INFO] Task started: fastANI
[2023-06-28 20:27:16,514] [INFO] Running command: fastANI --query /var/lib/cwl/stgcaacca38-ce32-4b10-904f-81f959ea7335/GCA_020093035.1_ASM2009303v1_genomic.fna.gz --refList GCA_020093035.1_ASM2009303v1_genomic.fna/target_genomes.txt --output GCA_020093035.1_ASM2009303v1_genomic.fna/fastani_result.tsv --threads 1
[2023-06-28 20:27:21,603] [INFO] Task succeeded: fastANI
[2023-06-28 20:27:21,604] [INFO] Loading species specific ANI threshold from /var/lib/cwl/stg01d745f3-9794-417f-8d58-18721eb21c09/dqc_reference/prokaryote_ANI_species_specific_threshold.txt
[2023-06-28 20:27:21,604] [WARNING] Species-specific ANI threshold file not found. Will use the default threshold for all species. [/var/lib/cwl/stg01d745f3-9794-417f-8d58-18721eb21c09/dqc_reference/prokaryote_ANI_species_specific_threshold.txt]
[2023-06-28 20:27:21,613] [INFO] Found 8 fastANI hits (6 hits with ANI > threshold)
[2023-06-28 20:27:21,613] [INFO] The taxonomy check result is classified as 'conclusive'.
[2023-06-28 20:27:21,613] [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
Staphylococcus aureus	strain=NBRC 100910	GCA_001544175.1	1280	1280	type	True	97.495	709	750	95	conclusive
Staphylococcus aureus	strain=PartF-Saureus-RM8376	GCA_022869625.1	1280	1280	type	True	97.466	708	750	95	conclusive
Staphylococcus aureus	strain=DSM 20231	GCA_001027105.1	1280	1280	type	True	97.4355	714	750	95	conclusive
Staphylococcus aureus	strain=FDAARGOS_773	GCA_006364675.1	1280	1280	type	True	97.435	717	750	95	conclusive
Staphylococcus aureus	strain=DSM 20231	GCA_000330825.2	1280	1280	type	True	97.4293	715	750	95	conclusive
Staphylococcus aureus	strain=NCTC 08532	GCA_002902205.1	1280	1280	type	True	97.3903	718	750	95	conclusive
Staphylococcus taiwanensis	strain=NTUH-S172	GCA_020544305.1	2750012	2750012	type	True	79.1183	276	750	95	below_threshold
Macrococcus armenti	strain=JEK37	GCA_020097135.1	2875764	2875764	type	True	77.4502	87	750	95	below_threshold
--------------------------------------------------------------------------------
[2023-06-28 20:27:21,616] [INFO] DFAST Taxonomy check result was written to GCA_020093035.1_ASM2009303v1_genomic.fna/tc_result.tsv
[2023-06-28 20:27:21,617] [INFO] ===== Taxonomy check completed =====
[2023-06-28 20:27:21,617] [INFO] ===== Start completeness check using CheckM =====
[2023-06-28 20:27:21,618] [INFO] Setting CHECKM_DATA_PATH to /var/lib/cwl/stg01d745f3-9794-417f-8d58-18721eb21c09/dqc_reference/checkm_data
[2023-06-28 20:27:21,619] [INFO] Selected 'Prokaryote' markers (life, taxid=0) for CheckM
[2023-06-28 20:27:21,658] [INFO] Task started: CheckM
[2023-06-28 20:27:21,658] [INFO] Running command: checkm taxonomy_wf --tab_table -f GCA_020093035.1_ASM2009303v1_genomic.fna/cc_result.tsv -t 1 life "Prokaryote" GCA_020093035.1_ASM2009303v1_genomic.fna/checkm_input GCA_020093035.1_ASM2009303v1_genomic.fna/checkm_result
[2023-06-28 20:27:43,484] [INFO] Task succeeded: CheckM
[2023-06-28 20:27:43,486] [INFO] Completeness check finished.
--------------------------------------------------------------------------------
Completeness: 95.83%
Contamintation: 0.00%
Strain heterogeneity: 0.00%
--------------------------------------------------------------------------------
[2023-06-28 20:27:43,517] [INFO] ===== Completeness check finished =====
[2023-06-28 20:27:43,517] [INFO] ===== Start GTDB Search =====
[2023-06-28 20:27:43,518] [INFO] Query marker FASTA already exists. Will reuse it. (GCA_020093035.1_ASM2009303v1_genomic.fna/markers.fasta)
[2023-06-28 20:27:43,518] [INFO] Task started: Blastn
[2023-06-28 20:27:43,518] [INFO] Running command: blastn -query GCA_020093035.1_ASM2009303v1_genomic.fna/markers.fasta -db /var/lib/cwl/stg01d745f3-9794-417f-8d58-18721eb21c09/dqc_reference/reference_markers_gtdb.fasta -out GCA_020093035.1_ASM2009303v1_genomic.fna/blast.markers.gtdb.tsv -outfmt 6 -max_hsps 1 -num_alignments 5
[2023-06-28 20:27:44,408] [INFO] Task succeeded: Blastn
[2023-06-28 20:27:44,414] [INFO] Selected 7 target genomes.
[2023-06-28 20:27:44,414] [INFO] Target genome list was writen to GCA_020093035.1_ASM2009303v1_genomic.fna/target_genomes_gtdb.txt
[2023-06-28 20:27:44,420] [INFO] Task started: fastANI
[2023-06-28 20:27:44,420] [INFO] Running command: fastANI --query /var/lib/cwl/stgcaacca38-ce32-4b10-904f-81f959ea7335/GCA_020093035.1_ASM2009303v1_genomic.fna.gz --refList GCA_020093035.1_ASM2009303v1_genomic.fna/target_genomes_gtdb.txt --output GCA_020093035.1_ASM2009303v1_genomic.fna/fastani_result_gtdb.tsv --threads 1
[2023-06-28 20:27:48,834] [INFO] Task succeeded: fastANI
[2023-06-28 20:27:48,843] [INFO] Found 7 fastANI hits (1 hits with ANI > circumscription radius)
[2023-06-28 20:27:48,843] [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_001027105.1	s__Staphylococcus aureus	97.4355	714	750	d__Bacteria;p__Firmicutes;c__Bacilli;o__Staphylococcales;f__Staphylococcaceae;g__Staphylococcus	95.0	98.78	97.08	0.95	0.88	13059	conclusive
GCF_002902405.1	s__Staphylococcus schweitzeri	89.9737	685	750	d__Bacteria;p__Firmicutes;c__Bacilli;o__Staphylococcales;f__Staphylococcaceae;g__Staphylococcus	95.0	99.10	98.12	0.97	0.94	9	-
GCF_015025035.1	s__Staphylococcus sp015025035	88.8557	670	750	d__Bacteria;p__Firmicutes;c__Bacilli;o__Staphylococcales;f__Staphylococcaceae;g__Staphylococcus	95.0	98.24	97.61	0.95	0.93	11	-
GCF_000236925.1	s__Staphylococcus argenteus	88.5946	697	750	d__Bacteria;p__Firmicutes;c__Bacilli;o__Staphylococcales;f__Staphylococcaceae;g__Staphylococcus	95.0	99.00	98.60	0.96	0.90	171	-
GCF_017357005.1	s__Staphylococcus simiae_A	80.8587	415	750	d__Bacteria;p__Firmicutes;c__Bacilli;o__Staphylococcales;f__Staphylococcaceae;g__Staphylococcus	95.0	99.94	99.91	0.98	0.98	6	-
GCF_002902085.1	s__Staphylococcus simiae	80.7557	420	750	d__Bacteria;p__Firmicutes;c__Bacilli;o__Staphylococcales;f__Staphylococcaceae;g__Staphylococcus	95.0	99.97	99.96	0.98	0.96	3	-
GCF_001224225.1	s__Staphylococcus borealis	79.157	277	750	d__Bacteria;p__Firmicutes;c__Bacilli;o__Staphylococcales;f__Staphylococcaceae;g__Staphylococcus	95.0	98.37	97.44	0.93	0.89	22	-
--------------------------------------------------------------------------------
[2023-06-28 20:27:48,845] [INFO] GTDB search result was written to GCA_020093035.1_ASM2009303v1_genomic.fna/result_gtdb.tsv
[2023-06-28 20:27:48,845] [INFO] ===== GTDB Search completed =====
[2023-06-28 20:27:48,848] [INFO] DFAST_QC result json was written to GCA_020093035.1_ASM2009303v1_genomic.fna/dqc_result.json
[2023-06-28 20:27:48,848] [INFO] DFAST_QC completed!
[2023-06-28 20:27:48,849] [INFO] Total running time: 0h0m41s
