How to access the picard and htsjdk repository (containing samtools-jdk, tribble, and variant)

droazendroazen Posts: 51GATK Developer mod
edited June 2014 in Developer Zone

The picard repository on github contains all picard public tools. Libraries live under the htsjdk, which includes the samtools-jdk, tribble, and variant packages (which includes VariantContext and associated classes as well as the VCF/BCF codecs).

If you just need to check out the sources and don't need to make any commits into the picard repository, the command is:

git clone

Then within the picard directory, clone the htsjdk.

cd picard
git clone

Then you can attach the picard/src/java and picard/htsjdk/src/java directories in IntelliJ as a source directory (File -> Project Structure -> Libraries -> Click the plus sign -> "Attach Files or Directories" in the latest IntelliJ).

To build picard and the htsjdk all at once, type ant from within the picard directory. To run tests, type ant test

If you do need to make commits into the picard repository, first you'll need to create a github account, fork picard or htsjdk, make your changes, and then issue a pull request. For more info on pull requests, see:

Post edited by kshakir on


  • tguchtguch BostonPosts: 3Member

    I was actually able to find the VCF files in this path GenomeAnalysisTK-2.6-5\GenomeAnalysisTK-2.6-5-gba531bd\GenomeAnalysisTK\org\broadinstitute\variant\vcf and I changed the path location in the code, but it still can't seem to find or recognize it. Do you happen to know why this is and how to fix it?


Sign In or Register to comment.