Skip to content

Version number not reported #5

Description

@peterjc

I have just downloaded the latest code from GitHub as of commit d1fbc73 (tag v1.56) and compiled locally on 64-bit Linux:

$ sh make.sh
Start Time :
Fri 21 Aug 10:18:37 BST 2026
Try compiling with: -O3 -march=native
compile with multi-thread compile [recommand for sample number> 1k]
g++ -g -O3 -march=native -fopenmp src/VCF2Dis.cpp -lz -L src/zlib/ -o bin/VCF2Dis_multi
g++ -g -O3 -march=native src/VCF2Dis.cpp -lz -L src/zlib/ -o bin/VCF2Dis_single
End Time :
Fri 21 Aug 10:18:47 BST 2026

The tool runs, and with no arguments gives basic help:

$ bin/VCF2Dis

        Usage: VCF2Dis -InPut  <in.vcf>  -OutPut  <p_dis.mat>

                -InPut     <str>     Input one or muti GATK VCF genotype File
                -OutPut    <str>     OutPut Sample p-Distance matrix

                -InList    <str>     Input GATK muti-chr VCF Path List
                -SubPop    <str>     SubGroup SampleList of VCFFile [ALLsample]
                -Rand      <float>   Probability (0-1] for each site to join Calculation [1]

                -help                Show more help [hewm2008 v1.56s]
        Citation doi :    https://doi.org/10.1093/gigascience/giaf032

With -h or -help there is more:

$ bin/VCF2Dis -h



        Usage: VCF2Dis -i <in.vcf>  -o  <p_dis.mat>
                  -InFormat      <str>   Input File is [VCF/FA/PHY] Format,defaut[VCF]
                  -InSampleGroup <str>   InFile of sample Group info,format(sample groupA)
                  -TreeMethod    <int>   Construct Tree Method,1:NJ-tree 2:UPGMA-tree [1]
                  -KeepMF                Keep the Middle File diff & Use matrix

                  #1.0) Parameters can used as short letter
                          Such as : [-i] short for [-InPut], [-o] for [-OutPut],[-s] for [-SubPop], [-k] for [-KeepMF]

                  #2.1) To new all the sample p_distance matrix based VCF, run VCF2Dis directly
                           ./bin/VCF2Dis        -i      in.vcf.gz  -o p_dis.mat

                  #2.2) To new sub group sample p_distance matrix ; Put their sample name into File sample.list
                         ./bin/VCF2Dis  -InPut  chr1.vcf.gz chr2.vcf.gz  -OutPut p_dis.mat  -SubPop  sample.list

                  #3.0) Default use all site to join the Calculation. To run the bootstrap tree , can run muti-time with using part of site, Para [-Rand]
                         ./bin/VCF2Dis  -InPut  in.vcf.gz  -OutPut p_dis.mat   -Rand  0.25
                  #4.0) see the web readme for more. hewm2008@gmail.com / hewm2008@qq.com /join the QQ Group : 125293663
                  #5.0) Citation : https://doi.org/10.1093/gigascience/giaf032

Neither reports the version number (here v1.56), nor is -v or -version or similar suggested.

Please add the version number to the default output shown above, and consider adding a -version switch to report just the version number (very useful for logging as part of a pipeline). Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions