Skip to content

Commit 666894c

Browse files
committed
v0.2.2 - running pre release script
1 parent 9c5fe00 commit 666894c

File tree

2 files changed

+123
-70
lines changed

2 files changed

+123
-70
lines changed

scripts/pre_release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
# Define the expected version
4-
EXPECTED_VERSION="0.2.1"
4+
EXPECTED_VERSION="0.2.2"
55

66
# Function to extract the version from Cargo.toml
77
get_cargo_version() {

test_results_versions/0.2.2

Lines changed: 122 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,113 @@
11

22
running 0 tests
33

4+
successes:
5+
6+
successes:
7+
48
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
59

610

711
running 0 tests
812

13+
successes:
14+
15+
successes:
16+
917
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
1018

1119

1220
running 4 tests
13-
test fast_show_degenerate_inputs ... [00:00:00.000] (7f9350a12480) INFO /home/jshaw/software/skani/target/debug/skani dist file_that_doesn't_exist file_that_doesn't_exist
14-
[00:00:00.000] (7f9350a12480) WARN file_that_doesn't_exist is not a valid fasta/fastq file; skipping.
15-
[00:00:00.000] (7f9350a12480) WARN file_that_doesn't_exist is not a valid fasta/fastq file; skipping.
16-
[00:00:00.000] (7f9350a12480) ERROR No reference sketches/genomes or query sketches/genomes found.
17-
18-
[00:00:00.000] (7f1c7513f480) INFO /home/jshaw/software/skani/target/debug/skani dist ./test_files/query_list.txt ./test_files/viruses.fna
19-
[00:00:00.000] (7f1c7513f480) WARN ./test_files/query_list.txt is not a valid fasta/fastq file; skipping.
20-
[00:00:00.000] (7f1c7513f480) ERROR No reference sketches/genomes or query sketches/genomes found.
21-
22-
[00:00:00.000] (7fdb7118d480) INFO /home/jshaw/software/skani/target/debug/skani dist ./test_files/query_list.txt list.txt
23-
[00:00:00.000] (7fdb7118d480) WARN list.txt is not a valid fasta/fastq file; skipping.
24-
[00:00:00.000] (7fdb7118d480) WARN ./test_files/query_list.txt is not a valid fasta/fastq file; skipping.
25-
[00:00:00.000] (7fdb7118d480) ERROR No reference sketches/genomes or query sketches/genomes found.
26-
27-
[00:00:00.000] (7f267177a480) INFO /home/jshaw/software/skani/target/debug/skani dist ./test_files/empty_fasta.fa ./test_files/empty_fasta.fa
28-
[00:00:00.000] (7f267177a480) WARN File ./test_files/empty_fasta.fa consists of only contigs < 500 bp. Skipping this file.
29-
[00:00:00.000] (7f267177a480) WARN File ./test_files/empty_fasta.fa consists of only contigs < 500 bp. Skipping this file.
30-
[00:00:00.000] (7f267177a480) ERROR No reference sketches/genomes or query sketches/genomes found.
31-
32-
[00:00:00.000] (7fb007e27480) INFO /home/jshaw/software/skani/target/debug/skani dist --qi --ri ./test_files/empty_fasta.fa ./test_files/empty_fasta.fa
33-
[00:00:00.000] (7fb007e27480) WARN At least one sequence in file ./test_files/empty_fasta.fa has < 500 bp. These sequences will be skipped.
34-
[00:00:00.000] (7fb007e27480) WARN At least one sequence in file ./test_files/empty_fasta.fa has < 500 bp. These sequences will be skipped.
35-
[00:00:00.000] (7fb007e27480) ERROR No reference sketches/genomes or query sketches/genomes found.
36-
37-
[00:00:00.000] (7f758d2cd480) INFO /home/jshaw/software/skani/target/debug/skani dist ./test_files/all_ns.fa ./test_files/all_ns.fa
38-
[00:00:00.001] (7f758d2cd480) INFO Learned ANI mode detected. ANI may be adjusted according to a regression model trained on MAGs.
39-
[00:00:00.001] (7f758d2cd480) INFO Generating sketch time: 0.001056513
40-
[00:00:00.001] (7f758d2cd480) INFO ANI calculation time: 0.000024224
41-
42-
ok
43-
test fast_test_screen ... rescue small heuristic with screen 345
21+
test test_diag_triangle ... ok
22+
test fast_show_degenerate_inputs ... ok
23+
test fast_test_small_genomes ... ok
24+
test fast_test_screen ... ok
25+
26+
successes:
27+
28+
---- fast_show_degenerate_inputs stdout ----
29+
[00:00:00.000] (7f9faee12480) INFO /home/jshaw/software/skani/target/debug/skani dist file_that_doesn't_exist file_that_doesn't_exist
30+
[00:00:00.000] (7f9faee12480) WARN file_that_doesn't_exist is not a valid fasta/fastq file; skipping.
31+
[00:00:00.000] (7f9faee12480) WARN file_that_doesn't_exist is not a valid fasta/fastq file; skipping.
32+
[00:00:00.000] (7f9faee12480) ERROR No reference sketches/genomes or query sketches/genomes found.
33+
34+
[00:00:00.000] (7f83fe9df480) INFO /home/jshaw/software/skani/target/debug/skani dist ./test_files/query_list.txt ./test_files/viruses.fna
35+
[00:00:00.000] (7f83fe9df480) WARN ./test_files/query_list.txt is not a valid fasta/fastq file; skipping.
36+
[00:00:00.002] (7f83fe9df480) ERROR No reference sketches/genomes or query sketches/genomes found.
37+
38+
[00:00:00.000] (7f7c2dcdd480) INFO /home/jshaw/software/skani/target/debug/skani dist ./test_files/query_list.txt list.txt
39+
[00:00:00.000] (7f7c2dcdd480) WARN list.txt is not a valid fasta/fastq file; skipping.
40+
[00:00:00.000] (7f7c2dcdd480) WARN ./test_files/query_list.txt is not a valid fasta/fastq file; skipping.
41+
[00:00:00.000] (7f7c2dcdd480) ERROR No reference sketches/genomes or query sketches/genomes found.
42+
43+
[00:00:00.000] (7fc29a04a480) INFO /home/jshaw/software/skani/target/debug/skani dist ./test_files/empty_fasta.fa ./test_files/empty_fasta.fa
44+
[00:00:00.000] (7fc29a04a480) WARN File ./test_files/empty_fasta.fa consists of only contigs < 500 bp. Skipping this file.
45+
[00:00:00.000] (7fc29a04a480) WARN File ./test_files/empty_fasta.fa consists of only contigs < 500 bp. Skipping this file.
46+
[00:00:00.000] (7fc29a04a480) ERROR No reference sketches/genomes or query sketches/genomes found.
47+
48+
[00:00:00.000] (7efcef71c480) INFO /home/jshaw/software/skani/target/debug/skani dist --qi --ri ./test_files/empty_fasta.fa ./test_files/empty_fasta.fa
49+
[00:00:00.000] (7efcef71c480) WARN At least one sequence in file ./test_files/empty_fasta.fa has < 500 bp. These sequences will be skipped.
50+
[00:00:00.000] (7efcef71c480) WARN At least one sequence in file ./test_files/empty_fasta.fa has < 500 bp. These sequences will be skipped.
51+
[00:00:00.000] (7efcef71c480) ERROR No reference sketches/genomes or query sketches/genomes found.
52+
53+
[00:00:00.000] (7f79630d4480) INFO /home/jshaw/software/skani/target/debug/skani dist ./test_files/all_ns.fa ./test_files/all_ns.fa
54+
[00:00:00.001] (7f79630d4480) INFO Learned ANI mode detected. ANI may be adjusted according to a regression model trained on MAGs.
55+
[00:00:00.001] (7f79630d4480) INFO Generating sketch time: 0.001046916
56+
[00:00:00.001] (7f79630d4480) INFO ANI calculation time: 0.000008017
57+
58+
59+
---- fast_test_small_genomes stdout ----
60+
o157_reads, number of results without faster-small: 270
61+
o157_reads, number of results WITH faster-small: 154
62+
63+
---- fast_test_screen stdout ----
64+
rescue small heuristic with screen 345
4465
rescue small heuristic no screen 345
4566
dist no rescue, no screen 175
4667
dist rescue, no screen 269
4768
no rescue, screen 87
4869
no rescue, screen, 0 markers 0
49-
ok
50-
test fast_test_small_genomes ... o157_reads, number of results without faster-small: 270
51-
o157_reads, number of results WITH faster-small: 154
52-
ok
53-
test test_diag_triangle ... ok
5470

55-
test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.76s
71+
72+
successes:
73+
fast_show_degenerate_inputs
74+
fast_test_screen
75+
fast_test_small_genomes
76+
test_diag_triangle
77+
78+
test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s
5679

5780

5881
running 3 tests
59-
test full_test_dist ... AAI E.coli test
82+
test full_test_triangle ... ok
83+
test full_test_dist ... ok
84+
test full_test_sketch_and_search ... ok
85+
86+
successes:
87+
88+
---- full_test_triangle stdout ----
89+
4
90+
./test_files/GCF_005706655.1_ASM570665v1_genomic.fna
91+
./test_files/e.coli-EC590.fasta 0.00
92+
./test_files/e.coli-W.fasta.gz 0.00 98.58
93+
./test_files/o157_reads.fastq 0.00 92.81 93.15
94+
95+
[00:00:00.000] (7eff20db7480) INFO /home/jshaw/software/skani/target/debug/skani triangle -l ./test_files/query_list.txt
96+
[00:00:00.073] (7eff20db7480) INFO Learned ANI mode detected. ANI may be adjusted according to a regression model trained on MAGs.
97+
[00:00:00.090] (7eff20db7480) INFO Aligned fraction matrix written to skani_matrix.af
98+
[00:00:00.090] (7eff20db7480) INFO ANI triangle time: 0.09080148
99+
100+
--faster-small TEST
101+
102+
4
103+
./test_files/GCF_005706655.1_ASM570665v1_genomic.fna 100.00 0.00 0.00 0.00
104+
./test_files/e.coli-EC590.fasta 0.00 100.00 98.58 92.81
105+
./test_files/e.coli-W.fasta.gz 0.00 98.58 100.00 93.15
106+
./test_files/o157_reads.fastq 0.00 92.81 93.15 100.00
107+
108+
109+
---- full_test_dist stdout ----
110+
AAI E.coli test
60111
Ref_file Query_file AAI Align_fraction_ref Align_fraction_query Ref_name Query_name
61112
./test_files/e.coli-K12.fasta ./test_files/e.coli-EC590.fasta 98.74 98.25 98.86 NC_007779.1 Escherichia coli str. K-12 substr. W3110, complete sequence NZ_CP016182.2 Escherichia coli strain EC590 chromosome, complete genome
62113

@@ -73,14 +124,15 @@ ANI E.coli-klebsiella test
73124
Ref_file Query_file ANI Align_fraction_ref Align_fraction_query Ref_name Query_name
74125
./test_files/MN-03.fa ./test_files/e.coli-K12.fasta 79.68 26.21 29.59 NZ_CP081897.1 Klebsiella pneumoniae strain MN-03 chromosome, complete genome NC_007779.1 Escherichia coli str. K-12 substr. W3110, complete sequence
75126

76-
ok
77-
test full_test_sketch_and_search ... ANI search test
127+
128+
---- full_test_sketch_and_search stdout ----
129+
ANI search test
78130
Ref_file Query_file ANI Align_fraction_ref Align_fraction_query Ref_name Query_name
79131
test_files/o157_plasmid.fasta ./test_files/e.coli-o157.fasta 100.00 99.84 1.68 NZ_CP017439.1 Escherichia coli O157:H7 strain 2159 plasmid pO157, complete sequence NZ_CP017438.1 Escherichia coli O157:H7 strain 2159 chromosome, complete genome
80132
test_files/e.coli-o157.fasta ./test_files/e.coli-o157.fasta 100.00 100.00 100.00 NZ_CP017438.1 Escherichia coli O157:H7 strain 2159 chromosome, complete genome NZ_CP017438.1 Escherichia coli O157:H7 strain 2159 chromosome, complete genome
81133
test_files/e.coli-EC590.fasta ./test_files/e.coli-o157.fasta 98.44 87.84 73.62 NZ_CP016182.2 Escherichia coli strain EC590 chromosome, complete genome NZ_CP017438.1 Escherichia coli O157:H7 strain 2159 chromosome, complete genome
82134
test_files/e.coli-K12.fasta ./test_files/e.coli-o157.fasta 98.42 88.04 74.25 NC_007779.1 Escherichia coli str. K-12 substr. W3110, complete sequence NZ_CP017438.1 Escherichia coli O157:H7 strain 2159 chromosome, complete genome
83-
test_files/e.coli-W.fasta.gz ./test_files/e.coli-o157.fasta 98.39 85.46 75.97 NC_017664.1 Escherichia coli W, complete sequence NZ_CP017438.1 Escherichia coli O157:H7 strain 2159 chromosome, complete genome
135+
test_files/e.coli-W.fasta ./test_files/e.coli-o157.fasta 98.39 85.46 75.97 NC_017664.1 Escherichia coli W, complete sequence NZ_CP017438.1 Escherichia coli O157:H7 strain 2159 chromosome, complete genome
84136

85137
ANI search test learned
86138
Ref_file Query_file ANI Align_fraction_ref Align_fraction_query Ref_name Query_name
@@ -90,11 +142,11 @@ test_files/e.coli-EC590.fasta ./test_files/e.coli-o157.fasta 98.44 87.84 73.62 N
90142
test_files/e.coli-K12.fasta ./test_files/e.coli-o157.fasta 98.42 88.04 74.25 NC_007779.1 Escherichia coli str. K-12 substr. W3110, complete sequence NZ_CP017438.1 Escherichia coli O157:H7 strain 2159 chromosome, complete genome
91143
test_files/e.coli-W.fasta ./test_files/e.coli-o157.fasta 98.39 85.46 75.97 NC_017664.1 Escherichia coli W, complete sequence NZ_CP017438.1 Escherichia coli O157:H7 strain 2159 chromosome, complete genome
92144

93-
[00:00:00.000] (7fcd35c99480) INFO /home/jshaw/software/skani/target/debug/skani search -d ./tests/results/test_sketch_dir/ ./tests/results/test_sketch_dir/markers.bin ./tests/results/test_sketch_dir/e.coli-EC590.fasta.sketch
94-
[00:00:00.000] (7fcd35c99480) INFO Searching...
95-
[00:00:00.001] (7fcd35c99480) INFO Learned ANI mode detected. ANI may be adjusted according to a regression model trained on MAGs.
96-
[00:00:00.001] (7fcd35c99480) INFO Loading markers time: 0.001559318
97-
[00:00:00.055] (7fcd35c99480) INFO Searching time: 0.054292697
145+
[00:00:00.000] (7f6e247a9480) INFO /home/jshaw/software/skani/target/debug/skani search -d ./tests/results/test_sketch_dir/ ./tests/results/test_sketch_dir/markers.bin ./tests/results/test_sketch_dir/e.coli-EC590.fasta.sketch
146+
[00:00:00.000] (7f6e247a9480) INFO Searching...
147+
[00:00:00.001] (7f6e247a9480) INFO Learned ANI mode detected. ANI may be adjusted according to a regression model trained on MAGs.
148+
[00:00:00.001] (7f6e247a9480) INFO Loading markers time: 0.001559018
149+
[00:00:00.059] (7f6e247a9480) INFO Searching time: 0.058213696
98150

99151
AAI search test
100152
Ref_file Query_file AAI Align_fraction_ref Align_fraction_query Ref_name Query_name
@@ -375,43 +427,44 @@ Ref_file Query_file ANI Align_fraction_ref Align_fraction_query Ref_name Query_n
375427
./test_files/e.coli-EC590.fasta ./test_files/o157_reads.fastq 93.88 0.37 96.78 NZ_CP016182.2 Escherichia coli strain EC590 chromosome, complete genome fe0cd2ea-fe40-cf0f-d7ab-d0a699dffa0b NZ_CP017438.1,+strand,1378797-1396517 length=17722 error-free_length=17720 read_identity=94.32%
376428
./test_files/e.coli-EC590.fasta ./test_files/o157_reads.fastq 97.90 0.25 94.27 NZ_CP016182.2 Escherichia coli strain EC590 chromosome, complete genome ff0d321f-c9cf-0f8f-e518-538b3ab0e53b NZ_CP017438.1,-strand,1803091-1815087 length=12009 error-free_length=11996 read_identity=99.30%
377429

378-
ok
379-
test full_test_triangle ... 4
380-
./test_files/GCF_005706655.1_ASM570665v1_genomic.fna
381-
./test_files/e.coli-EC590.fasta 0.00
382-
./test_files/e.coli-W.fasta.gz 0.00 98.58
383-
./test_files/o157_reads.fastq 0.00 92.81 93.15
384430

385-
[00:00:00.000] (7eff99792480) INFO /home/jshaw/software/skani/target/debug/skani triangle -l ./test_files/query_list.txt
386-
[00:00:00.052] (7eff99792480) INFO Learned ANI mode detected. ANI may be adjusted according to a regression model trained on MAGs.
387-
[00:00:00.065] (7eff99792480) INFO Aligned fraction matrix written to skani_matrix.af
388-
[00:00:00.065] (7eff99792480) INFO ANI triangle time: 0.065410115
389431

390-
--faster-small TEST
391-
392-
4
393-
./test_files/GCF_005706655.1_ASM570665v1_genomic.fna 100.00 0.00 0.00 0.00
394-
./test_files/e.coli-EC590.fasta 0.00 100.00 98.58 92.81
395-
./test_files/e.coli-W.fasta.gz 0.00 98.58 100.00 93.15
396-
./test_files/o157_reads.fastq 0.00 92.81 93.15 100.00
432+
successes:
433+
full_test_dist
434+
full_test_sketch_and_search
435+
full_test_triangle
397436

398-
ok
399-
400-
test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 7.82s
437+
test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.62s
401438

402439

403440
running 5 tests
404441
test fast_NNN_test_code ... ok
405442
test fast_avx2_vs_normal_code ... ok
406443
test fast_ecoli_plasmid_test ... ok
407444
test fast_ecoli_test_simple ... ok
408-
test fast_eukaryote_test ... AniEstResult { ani: 0.9898663, align_fraction_query: 0.60535073, align_fraction_ref: 0.74593395, ref_file: "./test_files/TOPAZ_IOD1_E001.fna.gz", query_file: "./test_files/TOPAZ_RSS1_E007.fna.gz", query_contig: "RS-all-SRF-0-8-5-00_k119_3692", ref_contig: "IO-all-DCM-0-8-5-00_k119_2678", ci_upper: 0.9900135, ci_lower: 0.9897283, aai: false, quant_90_contig_len_q: 9095.0, quant_90_contig_len_r: 7016.0, quant_50_contig_len_q: 4276.0, quant_50_contig_len_r: 3761.0, quant_10_contig_len_q: 2759.0, quant_10_contig_len_r: 2688.0, std: 0.007433527, num_contigs_q: 8559, num_contigs_r: 8377, avg_chain_int_len: 3187, total_bases_covered: 27655368 }
409-
ok
445+
test fast_eukaryote_test ... ok
446+
447+
successes:
448+
449+
---- fast_eukaryote_test stdout ----
450+
AniEstResult { ani: 0.9898663, align_fraction_query: 0.60535073, align_fraction_ref: 0.74593395, ref_file: "./test_files/TOPAZ_IOD1_E001.fna.gz", query_file: "./test_files/TOPAZ_RSS1_E007.fna.gz", query_contig: "RS-all-SRF-0-8-5-00_k119_3692", ref_contig: "IO-all-DCM-0-8-5-00_k119_2678", ci_upper: 0.9900135, ci_lower: 0.9897283, aai: false, quant_90_contig_len_q: 9095.0, quant_90_contig_len_r: 7016.0, quant_50_contig_len_q: 4276.0, quant_50_contig_len_r: 3761.0, quant_10_contig_len_q: 2759.0, quant_10_contig_len_r: 2688.0, std: 0.007433527, num_contigs_q: 8559, num_contigs_r: 8377, avg_chain_int_len: 3187, total_bases_covered: 27655368 }
451+
410452

411-
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.17s
453+
successes:
454+
fast_NNN_test_code
455+
fast_avx2_vs_normal_code
456+
fast_ecoli_plasmid_test
457+
fast_ecoli_test_simple
458+
fast_eukaryote_test
459+
460+
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.09s
412461

413462

414463
running 0 tests
415464

465+
successes:
466+
467+
successes:
468+
416469
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
417470

0 commit comments

Comments
 (0)