Skip to content
forked from samtools/htsjdk

A Java API for high-throughput sequencing data (HTS) formats.

Notifications You must be signed in to change notification settings

zimmerlab/htsjdk

This branch is 10 commits ahead of, 19 commits behind samtools/htsjdk:master.

Folders and files

NameName
Last commit message
Last commit date
Sep 30, 2024
Dec 18, 2023
Mar 5, 2024
Oct 5, 2024
Feb 21, 2017
Nov 23, 2022
May 11, 2021
Jun 24, 2019
Sep 30, 2024
Sep 17, 2024
Oct 5, 2024
May 16, 2016
Dec 18, 2023
Jun 21, 2019
Jun 21, 2019
Dec 14, 2016

Repository files navigation

A Java API for high-throughput sequencing data (HTS) formats.

Custom fork that is modified to allow access to private datastructures not available in the default repo.

How to use the Jar in a maven project

Option 1: Add to local maven repo:

  1. Build the Jar:
./gradlew

Jar location:

build/libs/htsjdk-<VERSION>.jar
  1. Install the Jar to the local maven repo:

Replace VERSION with the version of the previously built Jar.

mvn install:install-file \
   -Dfile=htsjdk-<version>.jar \
   -DgroupId=com.github.samtools \
   -DartifactId=htsjdk \
   -Dversion=VERSION \
   -Dpackaging=jar \
   -DgeneratePom=true

Option 2: Use remote maven repo:

  1. Configure maven authentication for github:

Add this to your ~/.m2/settings.xml file and replace USERNAME with your github username and TOKEN with a personal github access token:

<settings>
    <servers>
        <server>
            <id>github-zimmerlab-htsjdk</id>
            <username>USERNAME</username>
            <password>TOKEN</password>
        </server>
    </servers>
</settings>
  1. Add the github package repository to the maven project:

Add this to the pom.xml file in the projects root directory:

<repositories>
    <repository>
        <id>github-zimmerlab-htsjdk</id>
        <url>https://maven.pkg.github.com/zimmerlab/htsjdk</url>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </repository>
</repositories>
  1. Add the dependency to the pom.xml file in the projects root directory:

Replace VERSION with the version of the jar you want to use (see releases).

<dependency>
    <groupId>com.github.zimmerlab</groupId>
    <artifactId>htsjdk</artifactId>
    <version>VERSION</version>
</dependency>

About

A Java API for high-throughput sequencing data (HTS) formats.

Resources

Code of conduct

Stars

Watchers

Forks

Languages

  • Java 99.8%
  • Other 0.2%