[2024-01-24 12:06:13,887] [INFO] DFAST_QC pipeline started.
[2024-01-24 12:06:13,890] [INFO] DFAST_QC version: 0.5.7
[2024-01-24 12:06:13,890] [INFO] DQC Reference Directory: /var/lib/cwl/stgcd603333-e940-4aeb-a3c7-a4942d2201b6/dqc_reference
[2024-01-24 12:06:15,268] [INFO] ===== Start taxonomy check using ANI =====
[2024-01-24 12:06:15,268] [INFO] Task started: Prodigal
[2024-01-24 12:06:15,269] [INFO] Running command: gunzip -c /var/lib/cwl/stg5a7b8469-1dd0-42de-a1df-f9fbf5bb2982/GCF_001049755.1_BRSU_AN4859_03_genomic.fna.gz | prodigal -d GCF_001049755.1_BRSU_AN4859_03_genomic.fna/cds.fna -a GCF_001049755.1_BRSU_AN4859_03_genomic.fna/protein.faa -g 11 -q > /dev/null
[2024-01-24 12:06:20,347] [INFO] Task succeeded: Prodigal
[2024-01-24 12:06:20,347] [INFO] Task started: HMMsearch
[2024-01-24 12:06:20,347] [INFO] Running command: hmmsearch --tblout GCF_001049755.1_BRSU_AN4859_03_genomic.fna/hmmer_result.tsv -E 1E-50 /var/lib/cwl/stgcd603333-e940-4aeb-a3c7-a4942d2201b6/dqc_reference/reference_markers.hmm GCF_001049755.1_BRSU_AN4859_03_genomic.fna/protein.faa > /dev/null
[2024-01-24 12:06:20,707] [INFO] Task succeeded: HMMsearch
[2024-01-24 12:06:20,708] [INFO] Found 6/6 markers.
[2024-01-24 12:06:20,742] [INFO] Query marker FASTA was written to GCF_001049755.1_BRSU_AN4859_03_genomic.fna/markers.fasta
[2024-01-24 12:06:20,743] [INFO] Task started: Blastn
[2024-01-24 12:06:20,743] [INFO] Running command: blastn -query GCF_001049755.1_BRSU_AN4859_03_genomic.fna/markers.fasta -db /var/lib/cwl/stgcd603333-e940-4aeb-a3c7-a4942d2201b6/dqc_reference/reference_markers.fasta -out GCF_001049755.1_BRSU_AN4859_03_genomic.fna/blast.markers.tsv -outfmt 6 -max_hsps 1 -num_alignments 5
[2024-01-24 12:06:21,820] [INFO] Task succeeded: Blastn
[2024-01-24 12:06:21,823] [INFO] Selected 5 target genomes.
[2024-01-24 12:06:21,824] [INFO] Target genome list was writen to GCF_001049755.1_BRSU_AN4859_03_genomic.fna/target_genomes.txt
[2024-01-24 12:06:21,835] [INFO] Task started: fastANI
[2024-01-24 12:06:21,835] [INFO] Running command: fastANI --query /var/lib/cwl/stg5a7b8469-1dd0-42de-a1df-f9fbf5bb2982/GCF_001049755.1_BRSU_AN4859_03_genomic.fna.gz --refList GCF_001049755.1_BRSU_AN4859_03_genomic.fna/target_genomes.txt --output GCF_001049755.1_BRSU_AN4859_03_genomic.fna/fastani_result.tsv --threads 1
[2024-01-24 12:06:28,203] [INFO] Task succeeded: fastANI
[2024-01-24 12:06:28,203] [INFO] Loading species specific ANI threshold from /var/lib/cwl/stgcd603333-e940-4aeb-a3c7-a4942d2201b6/dqc_reference/prokaryote_ANI_species_specific_threshold.txt
[2024-01-24 12:06:28,203] [WARNING] Species-specific ANI threshold file not found. Will use the default threshold for all species. [/var/lib/cwl/stgcd603333-e940-4aeb-a3c7-a4942d2201b6/dqc_reference/prokaryote_ANI_species_specific_threshold.txt]
[2024-01-24 12:06:28,210] [INFO] Found 5 fastANI hits (1 hits with ANI > threshold)
[2024-01-24 12:06:28,211] [INFO] The taxonomy check result is classified as 'conclusive'.
[2024-01-24 12:06:28,211] [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
Brachyspira suanatina	strain=AN4859/03	GCA_001049755.1	381802	381802	type	True	100.0	1072	1073	95	conclusive
Brachyspira intermedia	strain=PWS/A	GCA_000223215.1	84377	84377	type	True	93.1541	924	1073	95	below_threshold
Brachyspira hyodysenteriae	strain=B-78	GCA_001676785.2	159	159	type	True	92.8169	933	1073	95	below_threshold
Brachyspira hyodysenteriae	strain=B78	GCA_001013005.1	159	159	type	True	92.7567	916	1073	95	below_threshold
Brachyspira hyodysenteriae	strain=B78	GCA_000383255.1	159	159	type	True	92.7163	931	1073	95	below_threshold
--------------------------------------------------------------------------------
[2024-01-24 12:06:28,212] [INFO] DFAST Taxonomy check result was written to GCF_001049755.1_BRSU_AN4859_03_genomic.fna/tc_result.tsv
[2024-01-24 12:06:28,213] [INFO] ===== Taxonomy check completed =====
[2024-01-24 12:06:28,213] [INFO] ===== Start completeness check using CheckM =====
[2024-01-24 12:06:28,213] [INFO] Setting CHECKM_DATA_PATH to /var/lib/cwl/stgcd603333-e940-4aeb-a3c7-a4942d2201b6/dqc_reference/checkm_data
[2024-01-24 12:06:28,214] [INFO] Selected 'Prokaryote' markers (life, taxid=0) for CheckM
[2024-01-24 12:06:28,252] [INFO] Task started: CheckM
[2024-01-24 12:06:28,253] [INFO] Running command: checkm taxonomy_wf --tab_table -f GCF_001049755.1_BRSU_AN4859_03_genomic.fna/cc_result.tsv -t 1 life "Prokaryote" GCF_001049755.1_BRSU_AN4859_03_genomic.fna/checkm_input GCF_001049755.1_BRSU_AN4859_03_genomic.fna/checkm_result
[2024-01-24 12:06:52,977] [INFO] Task succeeded: CheckM
[2024-01-24 12:06:52,979] [INFO] Completeness check finished.
--------------------------------------------------------------------------------
Completeness: 100.00%
Contamintation: 0.00%
Strain heterogeneity: 0.00%
--------------------------------------------------------------------------------
[2024-01-24 12:06:53,007] [INFO] ===== Completeness check finished =====
[2024-01-24 12:06:53,007] [INFO] ===== Start GTDB Search =====
[2024-01-24 12:06:53,008] [INFO] Query marker FASTA already exists. Will reuse it. (GCF_001049755.1_BRSU_AN4859_03_genomic.fna/markers.fasta)
[2024-01-24 12:06:53,008] [INFO] Task started: Blastn
[2024-01-24 12:06:53,008] [INFO] Running command: blastn -query GCF_001049755.1_BRSU_AN4859_03_genomic.fna/markers.fasta -db /var/lib/cwl/stgcd603333-e940-4aeb-a3c7-a4942d2201b6/dqc_reference/reference_markers_gtdb.fasta -out GCF_001049755.1_BRSU_AN4859_03_genomic.fna/blast.markers.gtdb.tsv -outfmt 6 -max_hsps 1 -num_alignments 5
[2024-01-24 12:06:53,809] [INFO] Task succeeded: Blastn
[2024-01-24 12:06:53,816] [INFO] Selected 6 target genomes.
[2024-01-24 12:06:53,816] [INFO] Target genome list was writen to GCF_001049755.1_BRSU_AN4859_03_genomic.fna/target_genomes_gtdb.txt
[2024-01-24 12:06:53,873] [INFO] Task started: fastANI
[2024-01-24 12:06:53,873] [INFO] Running command: fastANI --query /var/lib/cwl/stg5a7b8469-1dd0-42de-a1df-f9fbf5bb2982/GCF_001049755.1_BRSU_AN4859_03_genomic.fna.gz --refList GCF_001049755.1_BRSU_AN4859_03_genomic.fna/target_genomes_gtdb.txt --output GCF_001049755.1_BRSU_AN4859_03_genomic.fna/fastani_result_gtdb.tsv --threads 1
[2024-01-24 12:07:01,255] [INFO] Task succeeded: fastANI
[2024-01-24 12:07:01,263] [INFO] Found 6 fastANI hits (1 hits with ANI > circumscription radius)
[2024-01-24 12:07:01,264] [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_001049755.1	s__Brachyspira suanatina	100.0	1072	1073	d__Bacteria;p__Spirochaetota;c__Brachyspirae;o__Brachyspirales;f__Brachyspiraceae;g__Brachyspira	95.0	N/A	N/A	N/A	N/A	1	conclusive
GCF_000223215.1	s__Brachyspira intermedia	93.1541	924	1073	d__Bacteria;p__Spirochaetota;c__Brachyspirae;o__Brachyspirales;f__Brachyspiraceae;g__Brachyspira	95.0	N/A	N/A	N/A	N/A	1	-
GCF_001676785.2	s__Brachyspira hyodysenteriae	92.8169	933	1073	d__Bacteria;p__Spirochaetota;c__Brachyspirae;o__Brachyspirales;f__Brachyspiraceae;g__Brachyspira	95.0	99.16	98.93	0.98	0.95	58	-
GCF_002214805.1	s__Brachyspira hampsonii	88.4431	898	1073	d__Bacteria;p__Spirochaetota;c__Brachyspirae;o__Brachyspirales;f__Brachyspiraceae;g__Brachyspira	95.0	99.94	99.90	1.00	1.00	3	-
GCF_001746205.1	s__Brachyspira hampsonii_B	88.1577	871	1073	d__Bacteria;p__Spirochaetota;c__Brachyspirae;o__Brachyspirales;f__Brachyspiraceae;g__Brachyspira	95.0	N/A	N/A	N/A	N/A	1	-
GCF_000316195.1	s__Brachyspira hampsonii_C	87.7971	857	1073	d__Bacteria;p__Spirochaetota;c__Brachyspirae;o__Brachyspirales;f__Brachyspiraceae;g__Brachyspira	95.0	98.70	97.44	0.97	0.94	3	-
--------------------------------------------------------------------------------
[2024-01-24 12:07:01,284] [INFO] GTDB search result was written to GCF_001049755.1_BRSU_AN4859_03_genomic.fna/result_gtdb.tsv
[2024-01-24 12:07:01,286] [INFO] ===== GTDB Search completed =====
[2024-01-24 12:07:01,290] [INFO] DFAST_QC result json was written to GCF_001049755.1_BRSU_AN4859_03_genomic.fna/dqc_result.json
[2024-01-24 12:07:01,290] [INFO] DFAST_QC completed!
[2024-01-24 12:07:01,290] [INFO] Total running time: 0h0m47s
