jvarkit

VcfOptimizePedForSkat

Last commit

Optimize ped file for SKAT

Usage

Usage: vcfoptimizeped4skat [options] Files
  Options:
    --bootstrap
      bootstrap samples. Multiple list of sample separated with space, comma 
      or semicolons
    -h, --help
      print help and exit
    --helpFormat
      What kind of help. One of [usage,markdown,xml].
    --max-iter
      max number of iterations. -1 == infinite
      Default: -1
    --max-results
      max number of results.
      Default: 10
    -o, --output
      Output file. Optional . Default: stdout
    -ped, --pedigree
      A pedigree is a text file delimited with tabs. No header. Columns are 
      (1) Family (2) Individual-ID (3) Father Id or '0' (4) Mother Id or '0' 
      (5) Sex : 1 male/2 female / 0 unknown (6) Status : 0 unaffected, 1 
      affected,-9 unknown  If not defined, I will try to extract the pedigree 
      from  the VCFheader.
    -n, --remove
      max number of samples to remove
      Default: 1
    -seed, --seed
      random seed; -1=currentTimeMillis
      Default: 0
    --skat-accept-filtered
      accept variants FILTER-ed
      Default: false
    --skat-adjusted
      SKAT adjusted
      Default: false
    --skat-num-retry
      compute n-times the p-value
      Default: 1
    --skat-optimized
      SKAT optimized (SKATO)/ davies method.
      Default: false
    --skat-random-seed
      Rstats value for `set.seed`. -1 == use random
      Default: -1
    --version
      print version and exit

Keywords

Compilation

Requirements / Dependencies

Download and Compile

$ git clone "https://github.com/lindenb/jvarkit.git"
$ cd jvarkit
$ ./gradlew vcfoptimizeped4skat

The java jar file will be installed in the dist directory.

Source code

https://github.com/lindenb/jvarkit/tree/master/src/main/java/com/github/lindenb/jvarkit/tools/skat/VcfOptimizePedForSkat.java

Contribute

License

The project is licensed under the MIT license.

Citing

Should you cite vcfoptimizeped4skat ? https://github.com/mr-c/shouldacite/blob/master/should-I-cite-this-software.md

The current reference is:

http://dx.doi.org/10.6084/m9.figshare.1425030

Lindenbaum, Pierre (2015): JVarkit: java-based utilities for Bioinformatics. figshare. http://dx.doi.org/10.6084/m9.figshare.1425030