Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
Choose a Base Repository
samtools/htsjdk
AlexanderSenf/htsjdk
AlexanderVeselov/htsjdk
AlexanderVi/htsjdk
AlpenDitrix/htsjdk
AndreSchumacher/htsjdk
AnomeGAP/htsjdk
BGI-flexlab/htsjdk
BeatWolf/htsjdk
DevFactory/htsjdk
EduardoCandeal/htsjdk
EgorBobrov/htsjdk
EpamLifeSciencesTeam/htsjdk
Evegen55/htsjdk
GuttmanLab/htsjdk
HadoopGenomics/htsjdk
IamAfli/htsjdk
Intel-HSS/htsjdk
JeShiuHuang/htsjdk
JonasGiek/htsjdk
Kentalot/htsjdk
KolesovAlexandr/htsjdk.original
Lenbok/htsjdk
Leo-Scream/htsjdk
MicrosoftGenomics/htsjdk
NovelBioCloud/htsjdk
RS-BIO/htsjdk
Razorr1996/htsjdk
SHuang-Broad/htsjdk
SilinPavel/htsjdk
SvichkarevAnatoly/htsjdk
ThordurKristjansson/htsjdk
Tmacme/htsjdk
WhiteSymmetry/htsjdk
YanushAleks/htsjdk
ZLyanov/htsjdk
a-nikitiuk/htsjdk
alenzhao/htsjdk
allenday/htsjdk
amilamanoj/htsjdk
ashwinkalbhor/htsjdk
austindoupnik/htsjdk
azymer/htsjdk
baradist/htsjdk
bayolau/htsjdk
bbimber/htsjdk
bfulton/htsjdk
binalabs/htsjdk
bkenn/htsjdk
bpow/htsjdk
brendanofallon/htsjdk
broadinstitute/htsjdk
callsobing/htsjdk
chendijun2010/htsjdk
christear/htsjdk
cmnbroad/htsjdk
cwhelan/htsjdk
d-cameron/htsjdk
delocalizer/htsjdk
dfsurdyk/htsjdk
dmyersturnbull/htsjdk
dnikolaeva/htsjdk
edwardkw/htsjdk
eitanbanks/htsjdk
epeck/htsjdk
espre05/htsjdk
evolvedmicrobe/htsjdk
fjolidon/htsjdk
fnothaft/htsjdk
genestack/htsjdk
georgetzavelas/htsjdk
gitter-badger/htsjdk
gotolino/htsjdk
gsc0107/htsjdk
gspowley/htsjdk
heuermh/htsjdk
hwangy/htsjdk
iliat/htsjdk
jakeakopp/htsjdk
james-d/htsjdk
jamesemery/htsjdk
jean-philippe-martin/htsjdk
jessicacambry/htsjdk
jimclauwaert/htsjdk
jmafofo/htsjdk
jmarshall/htsjdk
jmchung/htsjdk
jn7163/htsjdk
johnwallace123/htsjdk
jpritt/htsjdk
jsilter/htsjdk
k-i-t-e/htsjdk
kasont/htsjdk
kcibul/htsjdk
labkey-bpatel/htsjdk
laserson/htsjdk
lbergelson/htsjdk
lequynhnhu/htsjdk
lessc0de/htsjdk
lh3/htsjdk
limbus-medtec/htsjdk
lindenb/htsjdk
lletourn/htsjdk
lvaruzza/htsjdk
lybird300/htsjdk
maarten-k/htsjdk
magicDGS/htsjdk
marc-flesch/htsjdk
mbreese/htsjdk
meganshand/htsjdk
melonistic/htsjdk
melop/htsjdk
mnter/htsjdk
monkollek/htsjdk
mp15/htsjdk
mremmert/htsjdk
mrferreira/htsjdk
nagyist/htsjdk
nagyistoce/htsjdk
nathanhaigh/htsjdk
nebiolabs/htsjdk
nh13/htsjdk
nikolaikopernik/htsjdk
nirmalyab/htsjdk
nkarulin/htsjdk
nnordborg/htsjdk
noamBarkai/htsjdk
pabarcgar/htsjdk
pamelarussell/htsjdk
pdexheimer/htsjdk
pfxuan/htsjdk
pityka/htsjdk
pryvkingh/htsjdk
ramzanzan/htsjdk
readbio/htsjdk
rithy8/htsjdk
ronlevine/htsjdk
ryan-williams/htsjdk
s70c3/htsjdk
saarwexler/htsjdk
shenkers/htsjdk
skashin/htsjdk
sonicyyouth/htsjdk
sooheelee/htsjdk
superbobry/htsjdk
tomwhite/htsjdk
twelvesummer/htsjdk-cram
typekpb/htsjdk
u4s5/htsjdk
vadimzalunin/htsjdk
vdanjean/htsjdk
vreuter/htsjdk
wanggl2017/htsjdk
wangwl/htsjdk
weincody/htsjdk
yfarjoun/htsjdk
zengfengbo/htsjdk
zyywmy/htsjdk
Nothing to show
...
Choose a Head Repository
samtools/htsjdk
AlexanderSenf/htsjdk
AlexanderVeselov/htsjdk
AlexanderVi/htsjdk
AlpenDitrix/htsjdk
AndreSchumacher/htsjdk
AnomeGAP/htsjdk
BGI-flexlab/htsjdk
BeatWolf/htsjdk
DevFactory/htsjdk
EduardoCandeal/htsjdk
EgorBobrov/htsjdk
EpamLifeSciencesTeam/htsjdk
Evegen55/htsjdk
GuttmanLab/htsjdk
HadoopGenomics/htsjdk
IamAfli/htsjdk
Intel-HSS/htsjdk
JeShiuHuang/htsjdk
JonasGiek/htsjdk
Kentalot/htsjdk
KolesovAlexandr/htsjdk.original
Lenbok/htsjdk
Leo-Scream/htsjdk
MicrosoftGenomics/htsjdk
NovelBioCloud/htsjdk
RS-BIO/htsjdk
Razorr1996/htsjdk
SHuang-Broad/htsjdk
SilinPavel/htsjdk
SvichkarevAnatoly/htsjdk
ThordurKristjansson/htsjdk
Tmacme/htsjdk
WhiteSymmetry/htsjdk
YanushAleks/htsjdk
ZLyanov/htsjdk
a-nikitiuk/htsjdk
alenzhao/htsjdk
allenday/htsjdk
amilamanoj/htsjdk
ashwinkalbhor/htsjdk
austindoupnik/htsjdk
azymer/htsjdk
baradist/htsjdk
bayolau/htsjdk
bbimber/htsjdk
bfulton/htsjdk
binalabs/htsjdk
bkenn/htsjdk
bpow/htsjdk
brendanofallon/htsjdk
broadinstitute/htsjdk
callsobing/htsjdk
chendijun2010/htsjdk
christear/htsjdk
cmnbroad/htsjdk
cwhelan/htsjdk
d-cameron/htsjdk
delocalizer/htsjdk
dfsurdyk/htsjdk
dmyersturnbull/htsjdk
dnikolaeva/htsjdk
edwardkw/htsjdk
eitanbanks/htsjdk
epeck/htsjdk
espre05/htsjdk
evolvedmicrobe/htsjdk
fjolidon/htsjdk
fnothaft/htsjdk
genestack/htsjdk
georgetzavelas/htsjdk
gitter-badger/htsjdk
gotolino/htsjdk
gsc0107/htsjdk
gspowley/htsjdk
heuermh/htsjdk
hwangy/htsjdk
iliat/htsjdk
jakeakopp/htsjdk
james-d/htsjdk
jamesemery/htsjdk
jean-philippe-martin/htsjdk
jessicacambry/htsjdk
jimclauwaert/htsjdk
jmafofo/htsjdk
jmarshall/htsjdk
jmchung/htsjdk
jn7163/htsjdk
johnwallace123/htsjdk
jpritt/htsjdk
jsilter/htsjdk
k-i-t-e/htsjdk
kasont/htsjdk
kcibul/htsjdk
labkey-bpatel/htsjdk
laserson/htsjdk
lbergelson/htsjdk
lequynhnhu/htsjdk
lessc0de/htsjdk
lh3/htsjdk
limbus-medtec/htsjdk
lindenb/htsjdk
lletourn/htsjdk
lvaruzza/htsjdk
lybird300/htsjdk
maarten-k/htsjdk
magicDGS/htsjdk
marc-flesch/htsjdk
mbreese/htsjdk
meganshand/htsjdk
melonistic/htsjdk
melop/htsjdk
mnter/htsjdk
monkollek/htsjdk
mp15/htsjdk
mremmert/htsjdk
mrferreira/htsjdk
nagyist/htsjdk
nagyistoce/htsjdk
nathanhaigh/htsjdk
nebiolabs/htsjdk
nh13/htsjdk
nikolaikopernik/htsjdk
nirmalyab/htsjdk
nkarulin/htsjdk
nnordborg/htsjdk
noamBarkai/htsjdk
pabarcgar/htsjdk
pamelarussell/htsjdk
pdexheimer/htsjdk
pfxuan/htsjdk
pityka/htsjdk
pryvkingh/htsjdk
ramzanzan/htsjdk
readbio/htsjdk
rithy8/htsjdk
ronlevine/htsjdk
ryan-williams/htsjdk
s70c3/htsjdk
saarwexler/htsjdk
shenkers/htsjdk
skashin/htsjdk
sonicyyouth/htsjdk
sooheelee/htsjdk
superbobry/htsjdk
tomwhite/htsjdk
twelvesummer/htsjdk-cram
typekpb/htsjdk
u4s5/htsjdk
vadimzalunin/htsjdk
vdanjean/htsjdk
vreuter/htsjdk
wanggl2017/htsjdk
wangwl/htsjdk
weincody/htsjdk
yfarjoun/htsjdk
zengfengbo/htsjdk
zyywmy/htsjdk
Nothing to show
Commits on Jul 29, 2016
@Lenbok Lenbok Fix self-suppression problem with exception handling in AbstractAsync…
…Writer

An exception thrown during synchronousWrite() by the underlying thread
is typically picked up during write()'s invocation of checkAndRethrow().
Subsequent calling of close() (e.g. by try-with-resources) would result
in an attempt to throw the same exception instance.

This commit ensures that the underlying exception is only thrown once,
by clearing the AtomicReference to the Throwable before throwing.

Includes a unit test which demonstrates the problem.
ea80585
Commits on Aug 03, 2016
@droazen droazen Add mention of test.single to README
c872049
@lbergelson lbergelson Merge pull request #676 from samtools/dr_readme_testsingle
Add mention of test.single to README
fa12f1f
Commits on Aug 09, 2016
@droazen droazen Merge pull request #646 from Lenbok/async_self_suppression
Fix self-suppression problem with exception handling in AbstractAsyncWriter
8ef565a
Commits on Aug 10, 2016
@magicDGS @yfarjoun magicDGS + yfarjoun FeatureCodec.getTabixFormat() to encapsulate tabix formatting (#669)
* added getTabixFormat method to FeatureCodec interface to index files with tabix when the format is defined in implementors

* changed as a default method in FeatureCodec

* added javadoc param description

* added tests and final getTabixFormat for binary codecs

* addressed comments
fba4637
@magicDGS @yfarjoun magicDGS + yfarjoun Fix #653 (#672)
* added checking for AbstractFeatureReader.BLOCK_COMPRESSED_EXTENSIONS in TribbleIndexedFeatureReader

* fixing WFIterator checking of compressed file

* isGZIPPath deprecation

* added test for new functionality

* fixing URL encoding

* added no-remote test file with spaces
c8202f2
Commits on Aug 18, 2016
@cmnbroad cmnbroad Normalize CRAM reference bases and throw on MD5 validation failure.
a781afa
Commits on Aug 19, 2016
@tfenne tfenne Added a "RANDOM" duplicate scoring strategy. (#688)
0e17e07
@cmnbroad @lbergelson cmnbroad + lbergelson Remove unreferenced test files. (#687)
removing unused test files
b81d036
Commits on Aug 23, 2016
@cmnbroad @lbergelson cmnbroad + lbergelson Throw on unrecognized CRAM encoding tag. (#593)
0d0da87
@cmnbroad cmnbroad Merge pull request #671 from cmnbroad/cn_validate_cram_md5
Normalize CRAM reference bases and throw on MD5 validation failure.
a31f6c8
Commits on Aug 24, 2016
@cmnbroad @lbergelson cmnbroad + lbergelson Removed unused .bcf test files. (#691)
remove 2 unreferenced and possibly invalid BCF files
275cfe0
Commits on Aug 25, 2016
@lindenb @lbergelson lindenb + lbergelson added function to extract SA tag and return a list of supplementary a…
…lignments (#685)

added a new function SAMUtils.getOtherCanonicalAlignments 
This function is used to extract the 'SA' tag of a SAMRecord as a List<SAMRecord>of supplementary alignments.
c3d5a88
Commits on Sep 05, 2016
@lindenb lindenb svtype dc21085
@lindenb lindenb typo get
01f913e
Commits on Sep 13, 2016
@magicDGS @lbergelson magicDGS + lbergelson Fix BEDCodec.canDecode() to handle block-compressed extensions (#704)
fix BEDCodec.canDecode to handle block-compressed extensions
fb1ba06
@SHuang-Broad @lbergelson SHuang-Broad + lbergelson Fix JexlMap and GenotypeJEXLContext NullPtrException (#668)
fixes NullPointerException in GenotypeJEXLContext.get() 
added tests for VariantJexlContext and GenotypeJexlContext
21d8865
@tfenne tfenne Added a secondary constructor to IntervalList that takes a dict. (#703)
7886768
Commits on Sep 14, 2016
@lbergelson lbergelson annotating deprecated methods with @Deprecated (#698)
some methods that were documented as deprecated were not also annotated with @Deprecated
annotating them as deprecated allows tools to warn when these methods are accidentally used

also updating documentation of deprecated methods to point to the replacement method with a valid {@link}
255e41a
Commits on Sep 15, 2016
@jamesemery @lbergelson jamesemery + lbergelson Added support for an empty NM tag in SA tag fields using '*' character (
#693)

previously an empty NM tag would result in a 0 in the SA field, this was deceptive since having no mismatches is not the same as having an unknown number of mismatches.  
Now a null NM tag results in * to match other null fields.
0e6edc7
Commits on Sep 16, 2016
@magicDGS @lbergelson magicDGS + lbergelson adding additional write method to Index, fixes #430 (#683)
Adding Index.write(file) to the index interface.  

This is a breaking change which will affect anyone who implements Index or calls TabixFile.write.

This fixes an issue where IndexFactory.writeIndex was incorrectly failing to compress tabix index files.  
(fix #430 )

TabixIndex.write(file) now throws IOException instead of TribbleException.  This makes it consistent with the write(stream) methods.  Call sites must now catch or throw IOException.

deprecated IndexFactory.writeIndex(index, file) because it is now redundant, replace with index.write(file)
fbba536
Commits on Sep 19, 2016
@yfarjoun yfarjoun fixed the text codec to enable empty strings TA:Z:"" as per latest h…
…ts-spec

* Added a test to show that htsJDK can handle empty strings as tag values.

* - fixed the text codec to enable empty strings
- testing that we can code and decode into various formats

- Enables the reading and writing of sam/bam/cram records with empty string tags as required by samtools/hts-specs#135
b5fd3c0
Commits on Sep 20, 2016
@fleharty @lbergelson fleharty + lbergelson adding Hamming Distance functions to StringUtil (#690)
adding hammingDistance and isWithinHammingDistance functions to StringUtils
hamming distance is the number of mismatches between equal length strings
224cfc1
@magicDGS @cmnbroad magicDGS + cmnbroad IndexingVariantContextWriter cleanup (#706)
* extract PositionalOutputStream
  * extract setIndexSequenceDictionary to IndexCreator with no-op default and TribbleIndexCreator implementation
88b6719
Commits on Oct 24, 2016
@lbergelson lbergelson deleting SAMFileReader and SAMTruncatedFileReader (#699)
these long deprecated classes were intended to be deleted in #602 but were accidentally resurrected
  updated documentation to point to SamReader instead of SAMFileReader

renamed SAMFileReaderTest to the more accurate SamReaderTest
7ab2531
@magicDGS @lbergelson magicDGS + lbergelson preventing non-deterministic test failure in RelativeIso8601DateTest #…
…578 (#710)

adding a delta to the asserts in RelativeIso8601DateTest to fix #578
b497630
@yfarjoun @yfarjoun yfarjoun + yfarjoun - tests added showing that the two codes for calculating NM do not ag…
…ree with each other (on lowercase bases in the reference and reads)
812d752
@yfarjoun @yfarjoun yfarjoun + yfarjoun - case-sensitivity of NM fixed. now tests pass. also refactored code …
…so that variables have meaningful names.
17fb671
@yfarjoun @yfarjoun yfarjoun + yfarjoun updated javadoc
58f4154
Commits on Oct 27, 2016
@meganshand @yfarjoun meganshand + yfarjoun Includes broken test for reverseComplementing without a deep copy 02c0ff2
@meganshand @yfarjoun meganshand + yfarjoun Fixes test a88e898
@meganshand @yfarjoun meganshand + yfarjoun Addressing most comments 799b06a
@meganshand @yfarjoun meganshand + yfarjoun Refactor reverseComplement to SAMRecord and make default copy attributes 5ea1b22
@meganshand @yfarjoun meganshand + yfarjoun Addressing new comments 119fd14
@meganshand @yfarjoun meganshand + yfarjoun latest comments
4031fac
@dnikolaeva @cmnbroad dnikolaeva + cmnbroad Fix for Issue 574: CRAM index (#716)
6f0512b
@yfarjoun @yfarjoun yfarjoun + yfarjoun Add a mergeDictionary utility to SAMSequenceDictionary to be used by …
…picard in MergeBamAlignment
0808588
@yfarjoun @yfarjoun yfarjoun + yfarjoun tests (found a bug!) d3cabf4
@yfarjoun @yfarjoun yfarjoun + yfarjoun more reviewer comments now incorporated 76818d6
@yfarjoun @yfarjoun yfarjoun + yfarjoun - responding to review comments
45ee380
Commits on Nov 01, 2016
@droazen droazen Merge pull request #696 from lindenb/svtype
new enum htsjdk.variant.variantcontext.StructuralVariantType describing the SV types
1c66107
Commits on Nov 08, 2016
@ronlevine ronlevine Change default logging level to INFO
2e6643b
Commits on Nov 10, 2016
@ronlevine ronlevine Merge pull request #740 from samtools/rhl_log_info_739
Change default logging level to INFO
70783fc
Commits on Nov 19, 2016
@mzueva @yfarjoun mzueva + yfarjoun Missing license header added to the following classes: SamInputResour…
…ce, SamReader, SamReaderFactory, ByteArraySeekableStream (#742)
8e7fe7a
@ekazachkova @yfarjoun ekazachkova + yfarjoun test coverage for SamFileValidator (#743)
398c0ee
Commits on Nov 20, 2016
@magicDGS @yfarjoun magicDGS + yfarjoun More getters for VariantContext (#712)
* fixes #371
* removed unused imports
* unit tests + solved bug in getAttributesAsList with primitive arrays
* added documentation about primitive arrays
5ddddde
Commits on Nov 21, 2016
@yfarjoun yfarjoun fixes VariantContext throws exception on getAltAlleleWithHighestAllel…
…eCount() (when no alt alleles)

- fixes broadinstitute/picard#519
- Added test
55c0ca8
Commits on Nov 22, 2016
@lindenb @lbergelson lindenb + lbergelson Added getDescription() in VCFFilterHeaderLine (#726)
* Added getDescription() in VCFFilterHeaderLine
4558e37
@magicDGS @lbergelson magicDGS + lbergelson make CustomGzipOutputStream public to be able to set compression level (
24c65a1
Commits on Nov 23, 2016
@ronlevine ronlevine Add file name to exception messages
a1e31b5
@ronlevine ronlevine Merge pull request #750 from samtools/rhl_truncated_file_name_747
Add file name to exception messages
de27f18
Commits on Nov 24, 2016
@SilinPavel @yfarjoun SilinPavel + yfarjoun Fix for issue #432 in Picard Tools. CreateSequenceDictionary stalls i…
…ndefinitely with large genomes (#744)

* preparation for fix issue  broadinstitute/picard#432 
* added a codec for SAMSequenceDictionary 
* added an option to encode each Sequence individually, rather than having to old the entire Dictionary in memory (for cases were there are many sequences, the source of trouble).
* add tests
6e4e875
Commits on Nov 30, 2016
@magicDGS @lbergelson magicDGS + lbergelson Clean some deprecated classes/methods usages in htsjdk (#707)
* clean Feature.getChr()

* deprecating SAMPairUtil.setMateInfo methods with a SAMFileHeader

* remove SRAAccession.isSupported() usages

* adding deprecated javadoc new usage in CollectionUtil

* adding deprecated javadoc to IntervalList

* add javadoc link in deprecated static IOUtils.STANDARD_BUFFER_SIZE

* addressing comments in SamPairUtil

* removing commented lines in CountRecords
6469969
Commits on Dec 05, 2016
@ZLyanov @yfarjoun ZLyanov + yfarjoun new algorithm for locus iteration and Picard's CollectWgsMetrics (#637)
* new algorithm for locus iteration and Picard's CollectWgsMetrics
class SamLocusIterator was split into AbstractLocusIterator(common interface) and SamLocusIterator
* implementation of a new algorithm - classes ReadEndsIterator and TypedRecordAndOffset added
* AbstractLocusInfo class extracted from SamLocusIterator.LocusInfo
* AbstractRecordAndOffset class extracted from SamLocusIterator.RecordAndOffset
* Unit tests for all new classes
* Tests for SamLocusIterator and ReadEndsIterator united by a common super class AbstractLocusIteratorTestTemplate
b46ea31
@jean-philippe-martin @droazen jean-philippe-martin + droazen Path index (#762)
* Support index as Path

Includes passing test that accesses an indexed BAM from Google Cloud
Storage. Sample output:

[TestNG] Running:
  /usr/local/google/home/jpmartin/.IdeaIC2016.2/system/temp-testng-customsuite.xml
Count is: 916

===============================================
Default Suite
Total tests run: 1, Failures: 0, Skips: 0
===============================================

Process finished with exit code 0

* Remove temp test so I can remove its dependency

* Bugfix handing of input type and null combinations

* Simplify code

Simplified "if" logic, removed unused code,
set mIsSeekable in all constructors consistently.
a5ee55b
Commits on Dec 06, 2016
@kcibul @droazen kcibul + droazen Fixed bug disallowing file-based index and seekable path based source (
…#769)

* Added support for use case where index is a file, and the source stream is a seekable path (e.g. a GCS location)
4d0070b
Commits on Dec 07, 2016
@ronlevine ronlevine Validate VariantContext AC and AF without genotypes
7e91886
@ronlevine ronlevine Merge pull request #759 from samtools/rhl_validate_ac_af_no_gt_757
Validate VariantContext AC and AF without genotypes
e69aff0
Commits on Dec 09, 2016
@lbergelson lbergelson adding fine control over jexl expression behavior with missing values (
…#772)

* adding JexlMissingValueTreatment to control how values in a jexl expression that are missing in the evaluated context are treated
* adding overloads to VariantContextUtils.match to allow control of missing value behavior
* minor refactoring in JEXLMap

* making enum method package private

* responding to comments

* updated tests

* moving JexlMissingValueTreatment to top level

* fixing typo
5a2d7a7
Commits on Dec 13, 2016
@magicDGS @droazen magicDGS + droazen removed VariantContextWriterFactory (#756)
2386a6e
Commits on Dec 14, 2016
@lbergelson lbergelson updating the gradle version from 2.13 to 3.2.1 (#727)
updating the gradle version from 2.13 to 3.2.1
adding a settings.gradle file to define the project name

these changes make it possible to use htsjdk in a composite gradle build with other projects
c795101
Commits on Dec 28, 2016
@magicDGS @yfarjoun magicDGS + yfarjoun Methods for default sequence dictionary name (#774)
* added new methdos to ReferenceSequenceFileFactory

* using the methods to simplify code

* address comments
0e91c4b
Commits on Jan 04, 2017
@superbobry @lbergelson superbobry + lbergelson replacing uses of getRecordAndPositions with getRecordAndOffsets (#715)
AbstractLocusInfo.getRecordAndPositions was deprecated in #637 but still had uses in the code base
replacing those instances with getRecordAndOffsets
1dd11be
Commits on Jan 05, 2017
@lbergelson lbergelson switching coverage reporting from coveralls to codecov (#764)
* switching from coveralls.io to codecov.io for code coverage reporting on
* updating README.md and adding codecov.yml
* running SRA tests before regular tests so that they end up included in the coverage report

Codecov understands partially covered lines, which means that our our total coverage will appear lower than under coveralls which counted any coverage on a line as full coverage.
This looks worse but gives us more accurate information.
ffca259
Commits on Jan 06, 2017
@jean-philippe-martin @lbergelson jean-philippe-martin + lbergelson adding new method SamReaderFactory.setPathWrapper(#775)
java.nio.Paths from plugin FileSystem providers may have different performance characteristics than local file system paths (like high latency for a file remote filesystem).

SamReaderFactory.setPathWrapper allows adding a wrapper function that will be used by SamReaders created from Paths.  This can be used to provide customizable caching or prefetching for specific inputs.

Also added new overload of SamInputResource.of() that takes a wrapper.
2acb88b
Commits on Jan 09, 2017
@d-cameron @droazen d-cameron + droazen Async BAM decompression (#576)
* Added async BAM decompression

* Added BlockCompressedInputStream test coverage
7dbe733
Commits on Jan 10, 2017
@yfarjoun yfarjoun Discounts reads that are non-filter-passing in DuplicateScoringStrate…
…gy (#745)

* Discounting the score for records that do not pass filters. This will mean that failing records are very un-likely to be
chosen as the representative read in a set.

* caping score to guarantee that discount works
fd71c45
@magicDGS @droazen magicDGS + droazen removing unused package-specific (visible for testing) deprecated met…
…hod (#752)
ed15dc0
@magicDGS @droazen magicDGS + droazen removed gelitext package and usages (#753)
9c5cbf6
@magicDGS @droazen magicDGS + droazen removed deprecated LineReaderUtil (#754)
0007937
@lbergelson lbergelson refactoring Lazy to take a Supplier() (#780)
it previously accepted a custom interface called LazyInitializer which is redundant with Supplier since java 8

made LazyInitializer extend Supplier
changed the constructor to take generic Supplier instead of only LazyInitializers
dc179c1
Commits on Jan 11, 2017
@magicDGS @yfarjoun magicDGS + yfarjoun fixed unmappable character for encoding ASCII (#784)
5a9d819
Commits on Jan 20, 2017
@tomwhite @lbergelson tomwhite + lbergelson Support use of Path in ParsingUtils, SeekableStreamFactory, AbstractV…
…CFCodec. (#724)

Added support for java.util.nio.Path for some more code pathways.
6738286
@yfarjoun @lbergelson yfarjoun + lbergelson Increase Test Coverage, fix tiny bug in Node class (regarding OVERLAP…
…S) (#779)

* added tests to the most egregious classes (regarding test coverage) I could find.
* fixed a few minor bugs in the logic of overlaps in the Node class.
52c8210
@sooheelee @lbergelson sooheelee + lbergelson improve ambiguous documentation in SAMRecord.getAlignmentStart() (#782)
* improved documentation for  SAMRecord.getAlignmentStart, setAlignmentStart and getAlignmentEnd to remove ambiguity
e015d1e
@jean-philippe-martin @droazen jean-philippe-martin + droazen wrap both path and index (#785)
Add optional wrapper in PathInputResource for the underlying SeekableByteChannel

This allows users to provide their own buffering or prefetching, without
them having to change htsjdk.

* Index wrapper code

* Add tests and javadoc

Tested this version with GATK's ReadsDataSourceUnitTest, and it passes.
19bd848
Commits on Jan 25, 2017
@magicDGS @lbergelson magicDGS + lbergelson Add getters for defaults SAMFileWriterFactory fields (#791)
4231660
Commits on Jan 31, 2017
@ekazachkova ekazachkova fixes for issue #547
1259ac5
Commits on Feb 01, 2017
@gspowley @droazen gspowley + droazen add inflater factory (#771)
Add the ability to provide a custom inflater factory when reading BAMs.
173bccd
@droazen droazen Small patches to custom InflaterFactory support left over from code r…
…eview (#794)

A few remaining tweaks to the custom InflaterFactory support from the
final review round of #771
34440b7
@droazen droazen Don't set a custom default InflaterFactory when testing passing in an…
… explicit InflaterFactory (#795)

Otherwise, the tests for passing in an explicit factory are not valid.
991a8e4
Commits on Feb 03, 2017
@lbergelson lbergelson updating tribble to support path wrappers (#796)
supporting NIO wrappers in tribble

adding an overload of AbstractFeatureReader.getFeatureReader() that takes wrappers for gcs prefetching
this required adding matching overloads in a number of other places

removed an unused Field from SamReaderFactory

updating BCF2Codec.canDecode() to deal with NIO paths
b05d1f2
Commits on Feb 08, 2017
@cmnbroad cmnbroad Add/improve CRAM roundtripping tests. (#720)
7ef0a84
Commits on Feb 10, 2017
@magicDGS @lbergelson magicDGS + lbergelson Make constructors public in CustomGzipOutputStream (#798)
18508d4
@tfenne tfenne Changed parameter names and doc to be consistent in use of "offset" a…
…nd "position".
8b9d5d5
Commits on Feb 17, 2017
@tomwhite @droazen tomwhite + droazen Make BAMFileReader and some related classes public, and expose (#786)
methods for iterating over a part of a BAM file (needed for Hadoop-BAM,
which processes BAM files in parallel).

Also, add BAMFileSpan#removeContentsAfter method to mirror
removeContentsBefore.
55bf01b
Commits on Feb 21, 2017
@lbergelson lbergelson add a coverage drop threshold to limit codecov failure spam (#803)
* add a coverage drop threshold to limit codecov failure spam
* making codcov.yml a hidden file
cabe78f
@lbergelson lbergelson automatically adding @Override annotations (#729)
added the @Override annotation everywhere it was missing using autoinspection
912c28b
Commits on Feb 27, 2017
@magicDGS @lbergelson magicDGS + lbergelson Refactoring FastqRecord (#572)
* updating FastqRecord, deprecating some of the existing getters and adding new ones with names that are more consistent with SamRecord.
* adding FastqEncoder which has methods for writing FastqRecords and converters for FastqRecord <-> SamRecord.
c1227d8
Commits on Mar 02, 2017
@tfenne tfenne Fixed bug where calling IntervalList.uniqued(false) would fail if the…
… interval names were null. (#815)
c677380
Commits on Mar 03, 2017
@magicDGS @lbergelson magicDGS + lbergelson support Path in Md5CalculatingOutputStream(#814)
* added new Md5CalculatingOutputStream constructor that takes Path instead of File
737ceec
Commits on Mar 07, 2017
@vadimzalunin vadimzalunin Merge pull request #736 from EpamLifeSciencesTeam/epam-ls_CRAMFileRea…
…der_impl_assert_sorted

Fix for issue #547
cbcd718
@lbergelson lbergelson fixing vararg warnings on test compilation (#809)
* fix <> on VariantContextUnitTest
* fixing ambiguous varargs call warnings in VariantContextUnitTest
      explicitly casting null values to resolve warnings
* adding a test case that seems to been accidentally missed
9ab5518
@ekazachkova @yfarjoun ekazachkova + yfarjoun Fix for issue #513: NPE in ValidateSamFile with CRAM (#735)
* resolve issue #513 NPE when validating a CRAM file with a .fasta reference with no .dict file
6d22658
Commits on Mar 10, 2017
@magicDGS @lbergelson magicDGS + lbergelson Tribble/Tabix index path support (#810)
* Path support for tribble/tabix index 
It is now possible to write / read tribble and tabix indexes from arbitrary `Paths` as well as files

This is not a backwards compatible change.   Anyone who implemented tribbles `Index` will need to update their implementations by implementing 2 new methods.  
* `write( Path)`
* `writeBasedOnFeaturePath()`
The original file based versions of these methods have been reimplemented as default methods delegating to the new `Path` based methods and in most cases can be removed.
* several protected fields have changed in the Index related classes have changed to use Paths instead Files
0c282b8
@magicDGS @droazen magicDGS + droazen Update javadoc for Feature (#818)
* Update javadoc for Feature
8c97c99
Commits on Mar 24, 2017
@Lenbok @lbergelson Lenbok + lbergelson Adding getSAMString to AbstractSAMHeaderRecord (#827)
* Added getSAMString as abstract method to AbstractSAMHeaderRecord
  this returns a String that represents the SAM format encoding of the header record
* new methods on SAMTextHeaderCodec to encode SamHeaderRecords as Strings
* BREAKING CHANGE: any subclasses of AbstractSAMHeaderRecord in downstream projects will have to implement getSAMString()
bbab32d
Commits on Mar 30, 2017
@ronlevine @lbergelson ronlevine + lbergelson Make exception message informative in SAMUtils.charToCompressedBase (#…
…836)

* Make exception message informative
* Add read name where accessible to the exception message
9d343e7
Commits on Apr 04, 2017
@Lenbok @droazen Lenbok + droazen Fix DateParserTest unit tests that were failing in my locale. (#832)
The tests were failing due to use of the deprecated Date.parse()
method. Replaced Date.parse() calls in this test with equivalent
tests. Tests now pass.
476adb2
Commits on Apr 08, 2017
@ronlevine ronlevine Maintain ordering of header
31b761b
@ronlevine ronlevine Merge pull request #848 from samtools/rhl_keep_header_ordering_847
Maintain ordering of header
3a75d02
Commits on Apr 15, 2017
@tfenne tfenne Enabling writing and running of tests with scalatest. (#789)
656dc24
Commits on Apr 16, 2017
@kamyshova @yfarjoun kamyshova + yfarjoun replace method getRefPos() into abstract class EdgingRecordAndOffset …
…and delete constructor in AbstractRecordAndOffset (#849)
e1a37cf
@SHuang-Broad @yfarjoun SHuang-Broad + yfarjoun check for negative length in CigarElement ctor (#839)
* added check for negative length in CigarElement ctor

* added test
8c090ce
@tfenne tfenne Expose a couple of protected methods and replace hard coded strings w…
…ith an enum. (#854)
a44a5cd
Commits on Apr 18, 2017
@yfarjoun yfarjoun Adding a pre-test check that looks for java files in the test/scala d… (
#857)

* Adding a pre-test check that looks for java files in the test/scala directory and for scala files anywhere else (and fails if it finds either of these)
4fa89b1
@lbergelson lbergelson removing scripts/release_picard.sh (#858)
deleting scripts/release_picard.sh since this script is no longer used
78da175
@tfenne tfenne Added the ability to query the length of the line terminator to Ascii…
…LineReader. (#843)
da2b76b
Commits on Apr 19, 2017
@ronlevine ronlevine Count the number of warnings and errors during SAM file validation
6fb6cca
@ronlevine ronlevine Merge pull request #855 from samtools/rhl_return_error_codes
Count the number of warnings and errors during SAM file validation.
ecd7df2
Commits on Apr 20, 2017
@nh13 nh13 Add fromPath to IntervalList. (#846)
* Add fromPath to IntervalList.
ee21d81
Commits on Apr 25, 2017
@magicDGS @tfenne magicDGS + tfenne Add .fai index creation support (#842)
854d736
@magicDGS @tfenne magicDGS + tfenne More informative IO error for FASTQ reader (#865)
909ac4d
Commits on May 02, 2017
@yfarjoun yfarjoun Yf add unknown so (#862)
- added a "unknown" enum value to the SortOrder enum. It behaves exactly like unsorted, but the sam-spec allows for it.
- wrapped getSortOrder() with a try-catch to translate any unknown values to 'unknown'
- added an error for non-conforming tags.
- added to the validation a check for both SO and GO to see that they are legal values.
- added tests covering SO and GO tags
ad8aa02
@Lenbok @yfarjoun Lenbok + yfarjoun Obey the tmpDir setting in several constructors that currently ignore…
… it (#826)

* Obey the tmpDir setting in several constructors that currently ignore it.

As part of this, made one constructor follow the existing convention of
calling initWriter() (This private method had an unused parameter, which
has been removed), and ensured that both initWriter and
initializeBAMWriter both call setTempDirectory() when needed.

* Test that setMaxRecordsInRam and setTempDirectory settings on SAMFileWriterFactory make it to the writer implementation
dd78f77
Commits on May 16, 2017
@d-cameron @yfarjoun d-cameron + yfarjoun Defensive programming around test case race condition to address #776 (
e1cf07e
@jacarey jacarey Adding OpenJDK8 to travis configuration
e2801ee
Commits on May 17, 2017
@jacarey jacarey Merge pull request #875 from samtools/jc_DSDEGP-1326
Adding OpenJDK8 to travis configuration
1b27398
Commits on May 26, 2017
@cmnbroad @droazen cmnbroad + droazen Fix ordering of assignments in FastQReader constructor. (#878)
d7bae17
Commits on May 27, 2017
@yfarjoun yfarjoun - fixed a small NPE in MD5CalculatingOutputStream (#881)
0be8345
@magicDGS @lbergelson magicDGS + lbergelson Index.writeBasedOnFeaturePath throws instead of silently failing (#841)
* **Breaking Change**  This is an API change.  Code relying on the old behavior will have to be updated.  We believe this should have minimal impact and most clients using Index will not have to make any changes.  Anyone with their own implementation of Index should update to match the new behavior.

* Changing behavior of Index.writeBasedOnFeaturePath() to throw instead of silently failing when it was unable to write an index.
cc8a1a1
Commits on May 30, 2017
@skashin @yfarjoun skashin + yfarjoun The existing code was throwing a NPE when using a CRAMFileReader for … (
#879)

* The existing code was throwing a NPE when using a CRAMFileReader for InputResource.Type.PATH

* Converted multiple if statements to a switch statement
9bef3fc
Commits on May 31, 2017
@yfarjoun yfarjoun Revert "The existing code was throwing a NPE when using a CRAMFileRea…
…der for … (#879)" (#885)

This reverts commit 9bef3fc.
630aa48
Commits on Jun 07, 2017
@nh13 nh13 Adding an overlaps function to IntervalList. (#877)
* Adding an overlaps function to IntervalList.

Finds all intervals in the first list that overlap any interval in the
second list.
dcd20ff
Commits on Jun 08, 2017
@lbergelson lbergelson overloading BlockCompressedInputStream.checkTerminator to support NIO (
…#890)

* adding overloads of BlockCompressedInputStream.checkTerminator to support java.nio.Path and SeekableByteChannel
* adding additional tests to BlockCompressedTerminatorTest
98c2438
Commits on Jun 09, 2017
@ronlevine ronlevine Fix SAMRecord.getReadLength() so it does not throw an exception if nu…
…ll bases
9e0199a
@lindenb @yfarjoun lindenb + yfarjoun use Locatable interface (#887)
7e79bba
@ronlevine ronlevine Added test using setReadString()
112758b
@yfarjoun yfarjoun Cleaned up SAMUtils (mostly cosmetic) (#888)
* Fixing-up SamUtils:
- adding more information to some exceptions
- fixing java-doc
- java8 <>
- if/else alignment & braces
- removed use of deprecated SAMRecordUtils class
- @Deprecated all methods and members of SAMRecordUtils
- fixed javadoc @deprecated across the board.
9b84fe8
@lbergelson lbergelson updating artifactory link to point to new artifactory (#892)
* the Broad artifactory moved from a self hosted repository at artifactory.broadinstitute.org
to a web based artifactory at broadinstitute.jfrog.io/broadinstitute/
this was causing our snapshot uploads to fail
* updating our snapshot repository to point to the new link
* the old artifactory has a redirect in place to the new artifactory so
artifacts relying on the old url should still resolve.  For unknown
reasons this redirect doesn't work with gradle uploads, probably a
gradle bug.
4626fe6
@ronlevine ronlevine Merge pull request #893 from samtools/rhl_samrecord_tostring_297
Fix SAMRecord.getReadLength() so it does not throw an exception if null bases
f0f7c9b
@ronlevine ronlevine Fixed flipped sign when comparing read paired flags (#897)
Fixed flipped sign when comparing read paired flags
6383b25
@nh13 nh13 Standardizes mate info computation in SAMRecordSetBuilder. (#692)
9f1f191
Commits on Jun 10, 2017
@yfarjoun yfarjoun Typekpb patch 1 (replacing #725) (#883)
* seek() checks for negative position argument value
* tests
cc538e2
Commits on Jun 16, 2017
@tfenne tfenne A little more caution when checking terminator blocks on close of Blo…
…ckCompressedOutputStream. (#901)
04fd13e
Commits on Jun 21, 2017
@nh13 @tfenne nh13 + tfenne Sort and group order not updated when using setAttribute. (#905)
8f89e27
Commits on Jun 26, 2017
@ronlevine ronlevine Add more checks to SamFileValidator (#907)
c20e0ed
@tfenne tfenne Adding the gitter badge.
7d31bc2
Commits on Jul 05, 2017
@ronlevine ronlevine Make stream seek error message informative (#927)
1cd23da
Commits on Jul 12, 2017
@tfenne tfenne Updates to readme about documentation, communication & license. (#916)
8d207ae
Commits on Jul 19, 2017
@magicDGS @lbergelson magicDGS + lbergelson Add missing HtsjdkTest marker to test classes (#936)
Some tests were being skipped because they weren't marked as HtsjdkTest
624a3bf
Commits on Jul 20, 2017
@vadimzalunin @cmnbroad vadimzalunin + cmnbroad fix for ambiguity and lc match/mismatch bases in CRAM (#889)
cfbbe4b
Commits on Jul 25, 2017
@ronlevine @lbergelson ronlevine + lbergelson Add ability to redirect log to an alternate print Stream (#942)
* added a new method which allows the logger to be redirected to a different stream other than stdout.  This allows logging to be redirected to a file or other destination.
d0f0ba1
@cmnbroad cmnbroad Replace bad .fai test file and create one new CRAMComplianceTest data…
… provider. (#940)
1969eb8
Commits on Jul 27, 2017
@magicDGS @lbergelson magicDGS + lbergelson Increase test coverage for Cigar classes (#939)
* Full coverage for CigarElement
* Full coverage for CigarOperator
* Increase Cigar coverage and test explicitly some methods
69f31b5
@magicDGS @lbergelson magicDGS + lbergelson deprecate SAMTools.java (#937)
* Deprecate SAMTools.java because it is confusing and of very limited use, as well as being untested and unmaintained.
3ad7948
@nh13 @ronlevine nh13 + ronlevine Should write to /dev/stdout as a special case. (#933)
81ac548
Commits on Jul 31, 2017
@eitanbanks eitanbanks Updated javadocs for the query method
3ae056c
@eitanbanks eitanbanks Merge pull request #954 from samtools/bsw_update_javadocs
Updated javadocs for query method
9da03d8
@eitanbanks eitanbanks Broke out the static variables for VCF suffixes so that they can be u…
…sed separately.
03e8eaa
@eitanbanks eitanbanks Merge pull request #960 from samtools/eb_breakout_extensions
Broke out the static VCF suffix variables so that they can be used separately.
9c6c364