Equivalent of linux comm for VCF
Usage: vcfcomm [options] Files
Options:
-h, --help
print help and exit
--helpFormat
What kind of help. One of [usage,markdown,xml].
--maxRecordsInRam
When writing files that need to be sorted, this will specify the number
of records stored in RAM before spilling to disk. Increasing this number
reduces the number of file handles needed to sort a file, and increases
the amount of RAM needed
Default: 50000
-norm, --normalize
normalize chromosomes names (remove chr prefix, chrM -> MT)
Default: false
-o, --output
Output file. Optional . Default: stdout
--tmpDir
tmp working directory. Default: java.io.tmpDir
Default: []
--version
print version and exit
-A
only print variations present in ALL files
Default: false
-a
ignore variations present in ALL files
Default: false
${PATH}
. Setting JAVA_HOME is not enough : (e.g: https://github.com/lindenb/jvarkit/issues/23 )$ git clone "https://github.com/lindenb/jvarkit.git"
$ cd jvarkit
$ ./gradlew vcfcomm
The java jar file will be installed in the dist
directory.
The project is licensed under the MIT license.
Should you cite vcfcomm ? 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
```bash $ java -jar dist/vcfcomm.jar < in.vcf > out.vcf ``