[2023-06-18 13:19:10,306] [INFO] DFAST_QC pipeline started.
[2023-06-18 13:19:10,308] [INFO] DFAST_QC version: 0.5.7
[2023-06-18 13:19:10,308] [INFO] DQC Reference Directory: /var/lib/cwl/stg23663c4c-fb66-4b09-834c-068822bd14bc/dqc_reference
[2023-06-18 13:19:11,542] [INFO] ===== Start taxonomy check using ANI =====
[2023-06-18 13:19:11,543] [INFO] Task started: Prodigal
[2023-06-18 13:19:11,543] [INFO] Running command: gunzip -c /var/lib/cwl/stga8f10c27-bc15-4f96-8e30-40be3ca903e3/GCA_018377175.1_ASM1837717v1_genomic.fna.gz | prodigal -d GCA_018377175.1_ASM1837717v1_genomic.fna/cds.fna -a GCA_018377175.1_ASM1837717v1_genomic.fna/protein.faa -g 11 -q > /dev/null
[2023-06-18 13:19:15,632] [INFO] Task succeeded: Prodigal
[2023-06-18 13:19:15,633] [INFO] Task started: HMMsearch
[2023-06-18 13:19:15,633] [INFO] Running command: hmmsearch --tblout GCA_018377175.1_ASM1837717v1_genomic.fna/hmmer_result.tsv -E 1E-50 /var/lib/cwl/stg23663c4c-fb66-4b09-834c-068822bd14bc/dqc_reference/reference_markers.hmm GCA_018377175.1_ASM1837717v1_genomic.fna/protein.faa > /dev/null
[2023-06-18 13:19:15,834] [INFO] Task succeeded: HMMsearch
[2023-06-18 13:19:15,837] [INFO] Found 6/6 markers.
[2023-06-18 13:19:15,865] [INFO] Query marker FASTA was written to GCA_018377175.1_ASM1837717v1_genomic.fna/markers.fasta
[2023-06-18 13:19:15,865] [INFO] Task started: Blastn
[2023-06-18 13:19:15,865] [INFO] Running command: blastn -query GCA_018377175.1_ASM1837717v1_genomic.fna/markers.fasta -db /var/lib/cwl/stg23663c4c-fb66-4b09-834c-068822bd14bc/dqc_reference/reference_markers.fasta -out GCA_018377175.1_ASM1837717v1_genomic.fna/blast.markers.tsv -outfmt 6 -max_hsps 1 -num_alignments 5
[2023-06-18 13:19:17,630] [INFO] Task succeeded: Blastn
[2023-06-18 13:19:17,635] [INFO] Selected 9 target genomes.
[2023-06-18 13:19:17,636] [INFO] Target genome list was writen to GCA_018377175.1_ASM1837717v1_genomic.fna/target_genomes.txt
[2023-06-18 13:19:17,663] [INFO] Task started: fastANI
[2023-06-18 13:19:17,663] [INFO] Running command: fastANI --query /var/lib/cwl/stga8f10c27-bc15-4f96-8e30-40be3ca903e3/GCA_018377175.1_ASM1837717v1_genomic.fna.gz --refList GCA_018377175.1_ASM1837717v1_genomic.fna/target_genomes.txt --output GCA_018377175.1_ASM1837717v1_genomic.fna/fastani_result.tsv --threads 1
[2023-06-18 13:19:21,984] [INFO] Task succeeded: fastANI
[2023-06-18 13:19:21,984] [INFO] Loading species specific ANI threshold from /var/lib/cwl/stg23663c4c-fb66-4b09-834c-068822bd14bc/dqc_reference/prokaryote_ANI_species_specific_threshold.txt
[2023-06-18 13:19:21,984] [WARNING] Species-specific ANI threshold file not found. Will use the default threshold for all species. [/var/lib/cwl/stg23663c4c-fb66-4b09-834c-068822bd14bc/dqc_reference/prokaryote_ANI_species_specific_threshold.txt]
[2023-06-18 13:19:21,991] [INFO] Found 8 fastANI hits (6 hits with ANI > threshold)
[2023-06-18 13:19:21,992] [INFO] The taxonomy check result is classified as 'conclusive'.
[2023-06-18 13:19:21,992] [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=DSM 20231	GCA_000330825.2	1280	1280	type	True	97.787	605	633	95	conclusive
Staphylococcus aureus	strain=DSM 20231	GCA_001027105.1	1280	1280	type	True	97.766	600	633	95	conclusive
Staphylococcus aureus	strain=NBRC 100910	GCA_001544175.1	1280	1280	type	True	97.7205	606	633	95	conclusive
Staphylococcus aureus	strain=NCTC 08532	GCA_002902205.1	1280	1280	type	True	97.7154	605	633	95	conclusive
Staphylococcus aureus	strain=FDAARGOS_773	GCA_006364675.1	1280	1280	type	True	97.7056	607	633	95	conclusive
Staphylococcus aureus	strain=PartF-Saureus-RM8376	GCA_022869625.1	1280	1280	type	True	97.6944	610	633	95	conclusive
Staphylococcus taiwanensis	strain=NTUH-S172	GCA_020544305.1	2750012	2750012	type	True	79.1227	229	633	95	below_threshold
Macrococcus armenti	strain=JEK37	GCA_020097135.1	2875764	2875764	type	True	77.178	67	633	95	below_threshold
--------------------------------------------------------------------------------
[2023-06-18 13:19:21,993] [INFO] DFAST Taxonomy check result was written to GCA_018377175.1_ASM1837717v1_genomic.fna/tc_result.tsv
[2023-06-18 13:19:21,995] [INFO] ===== Taxonomy check completed =====
[2023-06-18 13:19:21,996] [INFO] ===== Start completeness check using CheckM =====
[2023-06-18 13:19:21,996] [INFO] Setting CHECKM_DATA_PATH to /var/lib/cwl/stg23663c4c-fb66-4b09-834c-068822bd14bc/dqc_reference/checkm_data
[2023-06-18 13:19:21,997] [INFO] Selected 'Prokaryote' markers (life, taxid=0) for CheckM
[2023-06-18 13:19:22,025] [INFO] Task started: CheckM
[2023-06-18 13:19:22,025] [INFO] Running command: checkm taxonomy_wf --tab_table -f GCA_018377175.1_ASM1837717v1_genomic.fna/cc_result.tsv -t 1 life "Prokaryote" GCA_018377175.1_ASM1837717v1_genomic.fna/checkm_input GCA_018377175.1_ASM1837717v1_genomic.fna/checkm_result
[2023-06-18 13:19:40,532] [INFO] Task succeeded: CheckM
[2023-06-18 13:19:40,533] [INFO] Completeness check finished.
--------------------------------------------------------------------------------
Completeness: 92.47%
Contamintation: 0.00%
Strain heterogeneity: 0.00%
--------------------------------------------------------------------------------
[2023-06-18 13:19:40,570] [INFO] ===== Completeness check finished =====
[2023-06-18 13:19:40,570] [INFO] ===== Start GTDB Search =====
[2023-06-18 13:19:40,571] [INFO] Query marker FASTA already exists. Will reuse it. (GCA_018377175.1_ASM1837717v1_genomic.fna/markers.fasta)
[2023-06-18 13:19:40,571] [INFO] Task started: Blastn
[2023-06-18 13:19:40,571] [INFO] Running command: blastn -query GCA_018377175.1_ASM1837717v1_genomic.fna/markers.fasta -db /var/lib/cwl/stg23663c4c-fb66-4b09-834c-068822bd14bc/dqc_reference/reference_markers_gtdb.fasta -out GCA_018377175.1_ASM1837717v1_genomic.fna/blast.markers.gtdb.tsv -outfmt 6 -max_hsps 1 -num_alignments 5
[2023-06-18 13:19:41,346] [INFO] Task succeeded: Blastn
[2023-06-18 13:19:41,352] [INFO] Selected 7 target genomes.
[2023-06-18 13:19:41,352] [INFO] Target genome list was writen to GCA_018377175.1_ASM1837717v1_genomic.fna/target_genomes_gtdb.txt
[2023-06-18 13:19:41,357] [INFO] Task started: fastANI
[2023-06-18 13:19:41,357] [INFO] Running command: fastANI --query /var/lib/cwl/stga8f10c27-bc15-4f96-8e30-40be3ca903e3/GCA_018377175.1_ASM1837717v1_genomic.fna.gz --refList GCA_018377175.1_ASM1837717v1_genomic.fna/target_genomes_gtdb.txt --output GCA_018377175.1_ASM1837717v1_genomic.fna/fastani_result_gtdb.tsv --threads 1
[2023-06-18 13:19:45,490] [INFO] Task succeeded: fastANI
[2023-06-18 13:19:45,500] [INFO] Found 7 fastANI hits (1 hits with ANI > circumscription radius)
[2023-06-18 13:19:45,501] [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.766	600	633	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.9815	584	633	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.6491	583	633	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.5524	590	633	d__Bacteria;p__Firmicutes;c__Bacilli;o__Staphylococcales;f__Staphylococcaceae;g__Staphylococcus	95.0	99.00	98.60	0.96	0.90	171	-
GCF_002902085.1	s__Staphylococcus simiae	80.5288	370	633	d__Bacteria;p__Firmicutes;c__Bacilli;o__Staphylococcales;f__Staphylococcaceae;g__Staphylococcus	95.0	99.97	99.96	0.98	0.96	3	-
GCF_017357005.1	s__Staphylococcus simiae_A	80.4563	381	633	d__Bacteria;p__Firmicutes;c__Bacilli;o__Staphylococcales;f__Staphylococcaceae;g__Staphylococcus	95.0	99.94	99.91	0.98	0.98	6	-
GCF_001224225.1	s__Staphylococcus borealis	78.8875	239	633	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-18 13:19:45,503] [INFO] GTDB search result was written to GCA_018377175.1_ASM1837717v1_genomic.fna/result_gtdb.tsv
[2023-06-18 13:19:45,506] [INFO] ===== GTDB Search completed =====
[2023-06-18 13:19:45,510] [INFO] DFAST_QC result json was written to GCA_018377175.1_ASM1837717v1_genomic.fna/dqc_result.json
[2023-06-18 13:19:45,510] [INFO] DFAST_QC completed!
[2023-06-18 13:19:45,510] [INFO] Total running time: 0h0m35s
