Skip to content

Commit 8b55695

Browse files
committed
Update README in anticipation of Bioconda
1 parent 42949e3 commit 8b55695

1 file changed

Lines changed: 21 additions & 15 deletions

File tree

README.md

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# vartovcf
22

3+
[![Install with bioconda](https://img.shields.io/badge/Install%20with-bioconda-brightgreen.svg)](http://bioconda.github.io/recipes/vartovcf/README.html)
4+
[![Anaconda Version](https://anaconda.org/bioconda/vartovcf/badges/version.svg)](http://bioconda.github.io/recipes/vartovcf/README.html)
35
[![Build Status](https://github.com/clintval/vartovcf/actions/workflows/rust.yml/badge.svg?branch=main)](https://github.com/clintval/vartovcf/actions/workflows/rust.yml)
46
[![Coverage Status](https://coveralls.io/repos/github/clintval/vartovcf/badge.svg?branch=main)](https://coveralls.io/github/clintval/vartovcf?branch=main)
57
[![Language](https://img.shields.io/badge/language-rust-a72144.svg)](https://www.rust-lang.org/)
@@ -9,14 +11,14 @@ Convert variants from VarDict/VarDictJava into VCF v4.2 format.
911
![The Pacific Northwest - Fish Lake](.github/img/cover.jpg)
1012

1113
```bash
12-
VarDictJava/build/install/VarDict/bin/VarDict \
14+
vardict-java \
1315
-b input.bam \
14-
-G /references/hg38.fa \
16+
-G hg38.fa \
1517
-N dna00001 \
1618
-c1 -S2 -E3 -g4 -f0.05 \
1719
--fisher \
1820
calling-intervals.bed \
19-
| vartovcf -r /references/hg38.fa -s dna00001 \
21+
| vartovcf --reference hg38.fa --sample dna00001 \
2022
| bcftools sort -Oz > variants.vcf.gz
2123
```
2224

@@ -31,20 +33,24 @@ Convert variants from VarDict/VarDictJava into VCF v4.2 format.
3133
#### Benchmarks
3234

3335
```bash
34-
❯ vartovcf -r /references/hs38DH.fa -s dna00001 < test.var > /dev/null
35-
[2021-01-31T03:45:12Z INFO vartovcf] Input stream: STDIN
36-
[2021-01-31T03:45:12Z INFO vartovcf] Output stream: STDOUT
37-
[2021-01-31T03:45:12Z INFO vartovcflib::progress_logger] Logging records started at: 2021-01-30 22:45:12.
38-
[2021-01-31T03:45:17Z INFO vartovcflib::progress_logger] Processed 100000 variant records. Elapsed time: 00:00:05. Time of last 100000 variant records: 00:00:05
39-
[2021-01-31T03:45:21Z INFO vartovcflib::progress_logger] Processed 156471 variant records. Elapsed time: 00:00:08. Time of last 56471 variant records: 00:00:03
40-
41-
❯ hyperfine --warmup 5 'vartovcf -r /references/hs38DH.fa -s dna00001 < test.var > /dev/null'
36+
❯ vartovcf --reference hs38DH.fa --sample dna00001 < test.var > /dev/null
37+
[2025-10-21T01:16:49Z INFO vartovcf] Input stream: STDIN
38+
[2025-10-21T01:16:49Z INFO vartovcf] Output stream: STDOUT
39+
[2025-10-21T01:16:49Z INFO proglog] [main] Processed 10000 variant records
40+
[2025-10-21T01:16:49Z INFO proglog] [main] Processed 20000 variant records
41+
[2025-10-21T01:16:49Z INFO proglog] [main] Processed 30000 variant records
42+
[2025-10-21T01:16:49Z INFO proglog] [main] Processed 40000 variant records
43+
[2025-10-21T01:16:49Z INFO proglog] [main] Processed 50000 variant records
44+
[2025-10-21T01:16:49Z INFO proglog] [main] Processed 60000 variant records
45+
[2025-10-21T01:16:49Z INFO proglog] [main] Processed 60181 variant records
46+
47+
❯ hyperfine --warmup 5 'vartovcf -r hs38DH.fa -s dna00001 < test.var > /dev/null'
4248
Benchmark #1: vartovcf -r /references/hs38DH.fa -s dna00001 < test.var > /dev/null
43-
Time (mean ± σ): 1.565 s ± 0.043 s [User: 1.543 s, System: 0.019 s]
44-
Range (min … max): 1.528 s 1.679 s 10 runs
49+
Time (mean ± σ): 174.7 ms ± 1.5 ms [User: 165.7 ms, System: 8.0 ms]
50+
Range (min … max): 173.2 ms178.2 ms 16 runs
4551

4652
❯ hyperfine --warmup 5 'var2vcf_valid.pl -N dna00001 -f 0.0 -E < test.var > /dev/null'
4753
Benchmark #1: var2vcf_valid.pl -N dna00001 -f 0.0 -E < test.var > /dev/null
48-
Time (mean ± σ): 1.815 s ± 0.021 s [User: 1.680 s, System: 0.128 s]
49-
Range (min … max): 1.789 s 1.848 s 10 runs
54+
Time (mean ± σ): 359.4 ms ± 2.5 ms [User: 329.2 ms, System: 25.8 ms]
55+
Range (min … max): 356.1 ms363.6 ms 10 runs
5056
```

0 commit comments

Comments
 (0)