Index: head/biology/Makefile =================================================================== --- head/biology/Makefile (revision 486501) +++ head/biology/Makefile (revision 486502) @@ -1,149 +1,150 @@ # $FreeBSD$ # COMMENT = Biology SUBDIR += artemis SUBDIR += avida SUBDIR += babel SUBDIR += bamtools SUBDIR += bcftools SUBDIR += bedtools SUBDIR += biococoa SUBDIR += bowtie SUBDIR += bowtie2 SUBDIR += bwa SUBDIR += canu SUBDIR += cd-hit SUBDIR += cdbfasta SUBDIR += chemeq SUBDIR += clustal-omega SUBDIR += clustalw SUBDIR += clustalx SUBDIR += consed SUBDIR += cytoscape SUBDIR += ddocent SUBDIR += diamond SUBDIR += emboss SUBDIR += exonerate SUBDIR += fasta SUBDIR += fasta3 SUBDIR += fastahack SUBDIR += fastdnaml SUBDIR += fastool SUBDIR += fastqc SUBDIR += fasttree SUBDIR += fastx-toolkit SUBDIR += fluctuate SUBDIR += freebayes SUBDIR += garlic + SUBDIR += gatk SUBDIR += gff2ps SUBDIR += gmap SUBDIR += gperiodic SUBDIR += grappa SUBDIR += hmmer SUBDIR += htslib SUBDIR += hyphy SUBDIR += igv SUBDIR += infernal SUBDIR += iolib SUBDIR += iqtree SUBDIR += jalview SUBDIR += jellyfish SUBDIR += kallisto SUBDIR += lagan SUBDIR += lamarc SUBDIR += libgtextutils SUBDIR += libsbml SUBDIR += linux-foldingathome SUBDIR += mafft SUBDIR += mapm3 SUBDIR += migrate SUBDIR += molden SUBDIR += mopac SUBDIR += mrbayes SUBDIR += mummer SUBDIR += muscle SUBDIR += ncbi-blast+ SUBDIR += ncbi-cxx-toolkit SUBDIR += ncbi-toolkit SUBDIR += ngs-sdk SUBDIR += njplot SUBDIR += p5-AcePerl SUBDIR += p5-Bio-ASN1-EntrezGene SUBDIR += p5-Bio-Coordinate SUBDIR += p5-Bio-Das SUBDIR += p5-Bio-Das-Lite SUBDIR += p5-Bio-FeatureIO SUBDIR += p5-Bio-GFF3 SUBDIR += p5-Bio-Glite SUBDIR += p5-Bio-Graphics SUBDIR += p5-Bio-MAGETAB SUBDIR += p5-Bio-NEXUS SUBDIR += p5-Bio-Phylo SUBDIR += p5-Bio-SCF SUBDIR += p5-BioPerl SUBDIR += p5-BioPerl-Run SUBDIR += p5-TrimGalore SUBDIR += p5-transdecoder SUBDIR += paml SUBDIR += pbbam SUBDIR += pbcopper SUBDIR += pbseqan SUBDIR += pear-merger SUBDIR += phrap SUBDIR += phred SUBDIR += phylip SUBDIR += phyml SUBDIR += plinkseq SUBDIR += primer3 SUBDIR += protomol SUBDIR += psi88 SUBDIR += py-Genesis-PyAPI SUBDIR += py-biom-format SUBDIR += py-biopython SUBDIR += py-bx-python SUBDIR += py-cutadapt SUBDIR += py-gffutils SUBDIR += py-gtfparse SUBDIR += py-loompy SUBDIR += py-macs2 SUBDIR += py-orange3-bioinformatics SUBDIR += py-orange3-single-cell SUBDIR += py-pyfaidx SUBDIR += py-pysam SUBDIR += pycogent SUBDIR += pyfasta SUBDIR += python-nexus SUBDIR += rainbow SUBDIR += recombine SUBDIR += ruby-bio SUBDIR += rubygem-bio SUBDIR += samtools SUBDIR += seaview SUBDIR += seqan SUBDIR += seqan-apps SUBDIR += seqan1 SUBDIR += seqio SUBDIR += seqtk SUBDIR += seqtools SUBDIR += sim4 SUBDIR += slclust SUBDIR += smithwaterman SUBDIR += stacks SUBDIR += stringtie SUBDIR += tRNAscan-SE SUBDIR += t_coffee SUBDIR += tabixpp SUBDIR += treepuzzle SUBDIR += trimadap SUBDIR += trimmomatic SUBDIR += ugene SUBDIR += unanimity SUBDIR += vcflib SUBDIR += vcftools SUBDIR += velvet SUBDIR += wise SUBDIR += xmolwt .include Index: head/biology/gatk/Makefile =================================================================== --- head/biology/gatk/Makefile (nonexistent) +++ head/biology/gatk/Makefile (revision 486502) @@ -0,0 +1,45 @@ +# $FreeBSD$ + +PORTNAME= gatk +DISTVERSION= 4.0.11.0 +CATEGORIES= biology java +MASTER_SITES= LOCAL/yuri/:deps +DISTFILES= ${PORTNAME}-${DISTVERSION}-deps${EXTRACT_SUFX}:deps +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Variant discovery in high-throughput sequencing data + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.TXT + +BUILD_DEPENDS= gradle4:devel/gradle4 + +USES= gettext-runtime +USE_GITHUB= yes +GH_ACCOUNT= broadinstitute +USE_JAVA= yes + +SUB_FILES= ${PORTNAME}.sh +SUB_LIST= PORTVERSION=${PORTVERSION} JAVA=${JAVA} + +NO_ARCH= yes + +DEPS_CACHE_DIR= /tmp # should be ${WRKDIR}, but workaround for the gradle bug that dependency cache is not relocable: https://github.com/gradle/gradle/issues/1338 + +PLIST_FILES= bin/${PORTNAME} \ + ${JAVAJARDIR}/GenomeAnalysisTK-${PORTVERSION}.jar + +post-patch: # to rebuild the deps archive: 1. remove post-patch: 2. remove --offline 3. build 4. package ${DEPS_CACHE_DIR}/gradle-${PORTNAME} into the deps archive + @cd ${DEPS_CACHE_DIR} && ${TAR} xzf ${DISTDIR}/${PORTNAME}-${DISTVERSION}-deps${EXTRACT_SUFX} + +do-build: + @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} gradle4 \ + --gradle-user-home ${DEPS_CACHE_DIR}/gradle-${PORTNAME} --project-cache-dir ${DEPS_CACHE_DIR}/gradle-${PORTNAME} \ + --offline --build-cache localJar + +do-install: + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/build/libs/gatk-package-1.0-SNAPSHOT-local.jar ${STAGEDIR}${JAVAJARDIR}/GenomeAnalysisTK-${PORTVERSION}.jar + +.include Property changes on: head/biology/gatk/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/biology/gatk/distinfo =================================================================== --- head/biology/gatk/distinfo (nonexistent) +++ head/biology/gatk/distinfo (revision 486502) @@ -0,0 +1,5 @@ +TIMESTAMP = 1543823410 +SHA256 (gatk-4.0.11.0-deps.tar.gz) = 457ed3bf756a673daa2d123fef1d8525e57f20708f134c9b897946ea49561a36 +SIZE (gatk-4.0.11.0-deps.tar.gz) = 225800131 +SHA256 (broadinstitute-gatk-4.0.11.0_GH0.tar.gz) = ba4cc922bae2cdec728984518644bb0a12be2b6916297e2eb3b862cb42841039 +SIZE (broadinstitute-gatk-4.0.11.0_GH0.tar.gz) = 74603782 Property changes on: head/biology/gatk/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/biology/gatk/files/gatk.sh.in =================================================================== --- head/biology/gatk/files/gatk.sh.in (nonexistent) +++ head/biology/gatk/files/gatk.sh.in (revision 486502) @@ -0,0 +1,25 @@ +#!/bin/sh + +export LC_ALL=en_US.UTF-8 + +MEM_OPTS_SET_BY_USER="no" +for o in $@; do + case $o in + -X* ) + MEM_OPTS_SET_BY_USER="yes" + ;; + esac +done + +if [ $MEM_OPTS_SET_BY_USER = "no" ]; then + # memory options + physmem_b=$(sysctl -n hw.physmem) + physmem_mb=$((physmem_b/1024/1024)) + physmem_mb=$((physmem_mb*3/4)) # allow 3/4 of the memory + # -Xms set initial Java heap size + # -Xmx set maximum Java heap size + MEM_OPTS="-Xms512m -Xmx${physmem_mb}m" +fi + +# execute the command +%%JAVA%% $MEM_OPTS -jar %%JAVAJARDIR%%/GenomeAnalysisTK-%%PORTVERSION%%.jar "$@" Property changes on: head/biology/gatk/files/gatk.sh.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/biology/gatk/files/patch-build.gradle =================================================================== --- head/biology/gatk/files/patch-build.gradle (nonexistent) +++ head/biology/gatk/files/patch-build.gradle (revision 486502) @@ -0,0 +1,29 @@ +--- build.gradle.orig 2018-10-23 15:15:16 UTC ++++ build.gradle +@@ -115,7 +115,7 @@ def resolveLargeResourceStubFiles(largeR + } + + // check for stub files, try to pull once if there are any, then check again +- if (checkForLFSStubFiles(largeResourcesFolder)) { ++ if (false && checkForLFSStubFiles(largeResourcesFolder)) { + final gitLFSPullLargeResources = "git lfs pull --include $largeResourcesFolder" + execGitLFSCommand(gitLFSPullLargeResources) + if (checkForLFSStubFiles(largeResourcesFolder)) { +@@ -135,7 +135,7 @@ def ensureBuildPrerequisites(requiredJav + "The ClassLoader obtained from the Java ToolProvider is null. " + + "A Java $requiredJavaVersion JDK must be installed. $buildPrerequisitesMessage") + } +- if (!file(".git").isDirectory()) { ++ if (false && !file(".git").isDirectory()) { + throw new GradleException("The GATK Github repository must be cloned using \"git clone\" to run the build. " + + "$buildPrerequisitesMessage") + } +@@ -366,7 +366,7 @@ def createGatkSymlinks(destinationDir, a + } + + final isRelease = Boolean.getBoolean("release") +-version = (isRelease ? gitVersion() : gitVersion() + "-SNAPSHOT").replaceAll(".dirty", "") ++version = (isRelease ? "1.0" : "1.0" + "-SNAPSHOT").replaceAll(".dirty", "") + + logger.info("build for version:" + version) + group = 'org.broadinstitute' Property changes on: head/biology/gatk/files/patch-build.gradle ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/biology/gatk/pkg-descr =================================================================== --- head/biology/gatk/pkg-descr (nonexistent) +++ head/biology/gatk/pkg-descr (revision 486502) @@ -0,0 +1,13 @@ +GATK, pronounced "Gee Ay Tee Kay" (not "Gat-Kay"), stands for +GenomeAnalysisToolkit. It is a collection of command-line tools for analyzing +high-throughput sequencing data with a primary focus on variant discovery. The +tools can be used individually or chained together into complete workflows. +end-to-end workflows are provided, called GATK Best Practices, tailored for +specific use cases. + +Developed in the Data Sciences Platform at the Broad Institute, the toolkit +offers a wide variety of tools with a primary focus on variant discovery and +genotyping. Its powerful processing engine and high-performance computing +features make it capable of taking on projects of any size. + +WWW: https://software.broadinstitute.org/gatk/ Property changes on: head/biology/gatk/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property