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 base branch
1.4.1
CRAM_lossless_roundtrip
SAMRecordDuplicateComparator_make_methods_accessible
ab_tabix_index_on_bgzip
ak_asyncTribbleCloseThreads
ak_makeTribbleReadingSynchronous
ak_revup_dependencies
bcmaster
bt_sam_record_filters
compression-level
cram_ambiguity_bases_fix
cram_compression_improvements
cram_multiref_roundtrip_fixes
dr_fix_travis_exit_status
eb_breakout_extensions
fix_file_extension_checks_in_makeSAMOrBAMwriter_and_makeWriter
gg_RemoveInvalidCharacterFromComment
gh-pages
jc_buffered_writing
lb_asynch_iterator_for_yossi
lb_cleanup_sorting_code
lb_move_SimpleInterval_methods_to_locatable
lb_remove_release_picard_script
lb_switch_to_codecov
master
nh_cache_representative_in_duplicate_set
nh_dangling_cram_test
nh_flag_fields_format_now_with_tests
nh_pub_reg2bin
nh_vcf_double
revert-473-ak_jacoco
revert-631-ak_histogram
rhl_gt_has_any_attribute_920
rhl_handle_stdin
rhl_liftover_max_overlap_924
rhl_tabix_read_bad_coord_908
tf_cleanup_read_beans
tf_samrecord_better_flag_methods
tf_sort_query_hash
tf_upgrade_snappy
tf_validate_read_length_vs_insert_size
tf_vcb_attributes
vrr_vc_attr_as_list
vrr_vcf_query_locatable
yf_add_tests
yf_add_unknown_SO
yf_fix_NPE_in_md5OutputStream
yf_intel_unittest
yf_make_codecov_less_sensitive
yf_make_get_header_possible_from_cram_with_no_reference
yf_make_star_allele_symbolic
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
Choose a head branch
1.4.1
CRAM_lossless_roundtrip
SAMRecordDuplicateComparator_make_methods_accessible
ab_tabix_index_on_bgzip
ak_asyncTribbleCloseThreads
ak_makeTribbleReadingSynchronous
ak_revup_dependencies
bcmaster
bt_sam_record_filters
compression-level
cram_ambiguity_bases_fix
cram_compression_improvements
cram_multiref_roundtrip_fixes
dr_fix_travis_exit_status
eb_breakout_extensions
fix_file_extension_checks_in_makeSAMOrBAMwriter_and_makeWriter
gg_RemoveInvalidCharacterFromComment
gh-pages
jc_buffered_writing
lb_asynch_iterator_for_yossi
lb_cleanup_sorting_code
lb_move_SimpleInterval_methods_to_locatable
lb_remove_release_picard_script
lb_switch_to_codecov
master
nh_cache_representative_in_duplicate_set
nh_dangling_cram_test
nh_flag_fields_format_now_with_tests
nh_pub_reg2bin
nh_vcf_double
revert-473-ak_jacoco
revert-631-ak_histogram
rhl_gt_has_any_attribute_920
rhl_handle_stdin
rhl_liftover_max_overlap_924
rhl_tabix_read_bad_coord_908
tf_cleanup_read_beans
tf_samrecord_better_flag_methods
tf_sort_query_hash
tf_upgrade_snappy
tf_validate_read_length_vs_insert_size
tf_vcb_attributes
vrr_vc_attr_as_list
vrr_vcf_query_locatable
yf_add_tests
yf_add_unknown_SO
yf_fix_NPE_in_md5OutputStream
yf_intel_unittest
yf_make_codecov_less_sensitive
yf_make_get_header_possible_from_cram_with_no_reference
yf_make_star_allele_symbolic
Nothing to show
18
contributors
Commits on Jan 31, 2017
|
|
ekazachkova |
fixes for issue #547
|
All checks have passed4 successful checks |
1259ac5
|
Commits on Feb 21, 2017
|
|
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 |
Some checks were not successful1 failing and 3 successful checks |
cabe78f
|
||
|
|
lbergelson |
automatically adding @Override annotations (#729)
added the @Override annotation everywhere it was missing using autoinspection |
912c28b
|
Commits on Feb 27, 2017
|
|
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. |
Some checks were not successful1 failing and 3 successful checks |
c1227d8
|
Commits on Mar 02, 2017
|
|
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 |
support Path in Md5CalculatingOutputStream(#814)
* added new Md5CalculatingOutputStream constructor that takes Path instead of File |
Some checks were not successful1 failing and 3 successful checks |
737ceec
|
Commits on Mar 07, 2017
|
|
vadimzalunin |
Merge pull request #736 from EpamLifeSciencesTeam/epam-ls_CRAMFileRea…
…der_impl_assert_sorted Fix for issue #547 |
Some checks were not successful1 failing and 3 successful checks |
cbcd718
|
||
|
|
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 |
Some checks were not successful1 failing and 3 successful checks |
9ab5518
|
||
|
|
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 |
Some checks were not successful2 failing and 2 successful checks |
6d22658
|
Commits on Mar 10, 2017
|
|
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 |
Some checks were not successful3 failing and 1 successful checks |
0c282b8
|
||
|
|
magicDGS + droazen |
Update javadoc for Feature (#818)
* Update javadoc for Feature |
All checks have passed4 successful checks |
8c97c99
|
Commits on Mar 24, 2017
|
|
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 |
Make exception message informative in SAMUtils.charToCompressedBase (#…
…836) * Make exception message informative * Add read name where accessible to the exception message |
Some checks were not successful2 failing and 2 successful checks |
9d343e7
|
Commits on Apr 04, 2017
|
|
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. |
Some checks were not successful1 failing and 3 successful checks |
476adb2
|
Commits on Apr 08, 2017
|
|
ronlevine |
Maintain ordering of header
|
Some checks were not successful1 failing and 4 successful checks |
31b761b
|
||
|
|
ronlevine |
Merge pull request #848 from samtools/rhl_keep_header_ordering_847
Maintain ordering of header |
Some checks were not successful1 failing and 3 successful checks |
3a75d02
|
Commits on Apr 15, 2017
|
|
tfenne |
Enabling writing and running of tests with scalatest. (#789)
|
Some checks were not successful2 failing and 2 successful checks |
656dc24
|
Commits on Apr 16, 2017
|
|
kamyshova + yfarjoun |
replace method getRefPos() into abstract class EdgingRecordAndOffset …
…and delete constructor in AbstractRecordAndOffset (#849) |
Some checks were not successful1 failing and 3 successful checks |
e1a37cf
|
||
|
|
SHuang-Broad + yfarjoun |
check for negative length in CigarElement ctor (#839)
* added check for negative length in CigarElement ctor * added test |
Some checks were not successful1 failing and 3 successful checks |
8c090ce
|
||
|
|
tfenne |
Expose a couple of protected methods and replace hard coded strings w…
…ith an enum. (#854) |
Some checks were not successful1 failing and 3 successful checks |
a44a5cd
|
Commits on Apr 18, 2017
|
|
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) |
All checks have passed4 successful checks |
4fa89b1
|
||
|
|
lbergelson |
removing scripts/release_picard.sh (#858)
deleting scripts/release_picard.sh since this script is no longer used |
Some checks were not successful1 failing and 3 successful checks |
78da175
|
||
|
|
tfenne |
Added the ability to query the length of the line terminator to Ascii…
…LineReader. (#843) |
Some checks were not successful1 failing and 3 successful checks |
da2b76b
|
Commits on Apr 19, 2017
|
|
ronlevine |
Count the number of warnings and errors during SAM file validation
|
All checks have passed5 successful checks |
6fb6cca
|
||
|
|
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 |
Add fromPath to IntervalList. (#846)
* Add fromPath to IntervalList. |
All checks have passed4 successful checks |
ee21d81
|
Commits on Apr 25, 2017
|
|
magicDGS + tfenne |
Add .fai index creation support (#842)
|
Some checks were not successful1 failing and 3 successful checks |
854d736
|
||
|
|
magicDGS + tfenne |
More informative IO error for FASTQ reader (#865)
|
Some checks were not successful1 failing and 3 successful checks |
909ac4d
|
Commits on May 02, 2017
|
|
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 |
All checks have passed4 successful checks |
ad8aa02
|
||
|
|
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 |
Some checks were not successful1 failing and 3 successful checks |
dd78f77
|
Commits on May 16, 2017
|
|
d-cameron + yfarjoun |
Defensive programming around test case race condition to address #776 (…
|
Some checks were not successful1 failing and 3 successful checks |
e1cf07e
|
||
|
|
jacarey |
Adding OpenJDK8 to travis configuration
|
Some checks were not successful1 failing and 4 successful checks |
e2801ee
|
Commits on May 17, 2017
|
|
jacarey |
Merge pull request #875 from samtools/jc_DSDEGP-1326
Adding OpenJDK8 to travis configuration |
Some checks were not successful1 failing and 3 successful checks |
1b27398
|
Commits on May 26, 2017
|
|
cmnbroad + droazen |
Fix ordering of assignments in FastQReader constructor. (#878)
|
Some checks were not successful1 failing and 3 successful checks |
d7bae17
|
Commits on May 27, 2017
|
|
yfarjoun |
- fixed a small NPE in MD5CalculatingOutputStream (#881)
|
Some checks were not successful1 failing and 3 successful checks |
0be8345
|
||
|
|
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. |
Some checks were not successful1 failing and 3 successful checks |
cc8a1a1
|
Commits on May 30, 2017
|
|
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 |
Revert "The existing code was throwing a NPE when using a CRAMFileRea…
|
630aa48
|
Commits on Jun 07, 2017
|
|
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. |
Some checks were not successful1 failing and 3 successful checks |
dcd20ff
|
Commits on Jun 08, 2017
|
|
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 |
All checks have passed4 successful checks |
98c2438
|
Commits on Jun 09, 2017
|
|
ronlevine |
Fix SAMRecord.getReadLength() so it does not throw an exception if nu…
…ll bases |
All checks have passed5 successful checks |
9e0199a
|
||
|
|
lindenb + yfarjoun |
use Locatable interface (#887)
|
Some checks were not successful1 failing and 3 successful checks |
7e79bba
|
||
|
|
ronlevine |
Added test using setReadString()
|
Some checks were not successful1 failing and 4 successful checks |
112758b
|
||
|
|
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 |
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. |
All checks have passed4 successful checks |
4626fe6
|
||
|
|
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 |
Fixed flipped sign when comparing read paired flags (#897)
Fixed flipped sign when comparing read paired flags |
Some checks were not successful2 failing and 2 successful checks |
6383b25
|
||
|
|
nh13 |
Standardizes mate info computation in SAMRecordSetBuilder. (#692)
|
9f1f191
|
Commits on Jun 10, 2017
|
|
yfarjoun |
Typekpb patch 1 (replacing #725) (#883)
* seek() checks for negative position argument value * tests |
cc538e2
|
Commits on Jun 16, 2017
|
|
tfenne |
A little more caution when checking terminator blocks on close of Blo…
…ckCompressedOutputStream. (#901) |
Some checks were not successful2 errored and 2 successful checks |
04fd13e
|
Commits on Jun 21, 2017
|
|
nh13 + tfenne |
Sort and group order not updated when using setAttribute. (#905)
|
All checks have passed4 successful checks |
8f89e27
|
Commits on Jun 26, 2017
|
|
ronlevine |
Add more checks to SamFileValidator (#907)
|
Some checks were not successful2 failing and 2 successful checks |
c20e0ed
|
||
|
|
tfenne |
Adding the gitter badge.
|
All checks have passed4 successful checks |
7d31bc2
|
Commits on Jul 05, 2017
|
|
ronlevine |
Make stream seek error message informative (#927)
|
All checks have passed4 successful checks |
1cd23da
|
Commits on Jul 12, 2017
|
|
tfenne |
Updates to readme about documentation, communication & license. (#916)
|
All checks have passed4 successful checks |
8d207ae
|
Commits on Jul 19, 2017
|
|
magicDGS + lbergelson |
Add missing HtsjdkTest marker to test classes (#936)
Some tests were being skipped because they weren't marked as HtsjdkTest |
Some checks were not successful1 failing and 3 successful checks |
624a3bf
|
Commits on Jul 20, 2017
|
|
vadimzalunin + cmnbroad |
fix for ambiguity and lc match/mismatch bases in CRAM (#889)
|
All checks have passed4 successful checks |
cfbbe4b
|
Commits on Jul 25, 2017
|
|
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. |
All checks have passed4 successful checks |
d0f0ba1
|
||
|
|
cmnbroad |
Replace bad .fai test file and create one new CRAMComplianceTest data…
… provider. (#940) |
Some checks were not successful2 failing and 2 successful checks |
1969eb8
|
Commits on Jul 27, 2017
|
|
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 |
All checks have passed4 successful checks |
69f31b5
|
||
|
|
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. |
Some checks were not successful2 failing and 2 successful checks |
3ad7948
|
||
|
|
nh13 + ronlevine |
Should write to /dev/stdout as a special case. (#933)
|
Some checks were not successful1 failing and 3 successful checks |
81ac548
|
Commits on Jul 31, 2017
|
|
eitanbanks |
Updated javadocs for the query method
|
3ae056c
|
|||
|
|
eitanbanks |
Merge pull request #954 from samtools/bsw_update_javadocs
Updated javadocs for query method |
9da03d8
|
|||
|
|
eitanbanks |
Broke out the static variables for VCF suffixes so that they can be u…
…sed separately. |
All checks have passed5 successful checks |
03e8eaa
|
||
|
|
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
|
Unified
Split
Showing
432 changed files
with
5,656 additions
and 1,894 deletions.
View
2
codecov.yml → .codecov.yml
| @@ -10,7 +10,7 @@ coverage: | ||
| project: | ||
| default: | ||
| target: auto | ||
| - threshold: null | ||
| + threshold: .01 | ||
| branches: null | ||
| patch: | ||
View
3
.travis.yml
| @@ -10,7 +10,8 @@ cache: | ||
| - $HOME/.m2 | ||
| jdk: | ||
| - oraclejdk8 | ||
| -script: ./gradlew testSRA jacocoTestReport; | ||
| + - openjdk8 | ||
| +script: ./gradlew test jacocoTestReport; | ||
| after_success: | ||
| - bash <(curl -s https://codecov.io/bash) | ||
| - echo "TRAVIS_BRANCH='$TRAVIS_BRANCH'"; | ||
View
32
README.md
| @@ -3,6 +3,7 @@ | ||
| [](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.github.samtools%22%20AND%20a%3A%22htsjdk%22) | ||
| [](https://github.com/samtools/htsjdk) | ||
| [](https://www.java.com/) | ||
| +[](https://gitter.im/samtools/htsjdk?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
| Status of downstream projects automatically built on top of the current htsjdk master branch. See [gatk-jenkins](https://gatk-jenkins.broadinstitute.org/view/HTSJDK%20Release%20Tests/) for detailed logs. Failure may indicate problems in htsjdk, but may also be due to expected incompatibilities between versions, or unrelated failures in downstream projects. | ||
| - [Picard](https://github.com/broadinstitute/picard): [](https://gatk-jenkins.broadinstitute.org/job/picard-on-htsjdk-master/) | ||
| @@ -15,11 +16,19 @@ common file formats, such as [SAM][1] and [VCF][2], used for high-throughput | ||
| sequencing data. There are also an number of useful utilities for | ||
| manipulating HTS data. | ||
| -Please see the [HTSJDK Documentation](http://samtools.github.io/htsjdk) for more information. | ||
| - | ||
| > **NOTE: _HTSJDK does not currently support the latest Variant Call Format Specification (VCFv4.3 and BCFv2.2)._** | ||
| -#### Building HTSJDK | ||
| +### Documentation & Getting Help | ||
| + | ||
| +API documentation for all versions of HTSJDK since `1.128` are available through [javadoc.io](http://www.javadoc.io/doc/com.github.samtools/htsjdk). | ||
| + | ||
| +If you believe you have found a bug or have an issue with the library please a) search the open and recently closed issues to ensure it has not already been reported, then b) log an issue. | ||
| + | ||
| +The project has a [gitter chat room](https://gitter.im/samtools/htsjdk) if you would like to chat with the developers and others involved in the project. | ||
| + | ||
| +To receive announcements of releases and other significant project news please subscribe to the [htsjdk-announce](https://groups.google.com/forum/#!forum/htsjdk-announce) google group. | ||
| + | ||
| +### Building HTSJDK | ||
| HTSJDK is now built using [gradle](http://gradle.org/). | ||
| @@ -73,7 +82,7 @@ Example gradle usage from the htsjdk root directory: | ||
| ./gradlew tasks | ||
| ``` | ||
| -#### Create an HTSJDK project in IntelliJ | ||
| +### Create an HTSJDK project in IntelliJ | ||
| To create a project in IntelliJ IDE for htsjdk do the following: | ||
| 1. Select fom the menu: `File -> New -> Project from Existing Sources` | ||
| @@ -82,23 +91,26 @@ To create a project in IntelliJ IDE for htsjdk do the following: | ||
| From time to time if dependencies change in htsjdk you may need to refresh the project from the `View -> Gradle` menu. | ||
| -#### Licensing Information | ||
| +### Licensing Information | ||
| -Not all sub-packages of htsjdk are subject to the same license, so a license notice is included in each source file or sub-package as appropriate. Please check the relevant license notice whenever you start working with a part of htsjdk that you have not previously worked with to avoid any surprises. | ||
| +Not all sub-packages of htsjdk are subject to the same license, so a license notice is included in each source file or sub-package as appropriate. | ||
| +Please check the relevant license notice whenever you start working with a part of htsjdk that you have not previously worked with to avoid any surprises. | ||
| +Broadly speaking the majority of the code is covered under the MIT license with the following notable exceptions: | ||
| -#### Java Minimum Version Support Policy | ||
| +* Much of the CRAM code is under the Apache License, Version 2 | ||
| +* Core `tribble` code (underlying VCF reading/writing amongst other things) is under LGPL | ||
| +* Code supporting the reading/writing of SRA format is uncopyrighted & public domain | ||
| -> **NOTE: _Effective November 24th 2015, HTSJDK has ended support of Java 7 and previous versions. Java 8 is now required_.** | ||
| +### Java Minimum Version Support Policy | ||
| We will support all Java SE versions supported by Oracle until at least six months after Oracle's Public Updates period has ended ([see this link](http://www.oracle.com/technetwork/java/eol-135779.html)). | ||
| Java SE Major Release | End of Java SE Oracle Public Updates | Proposed End of Support in HTSJDK | Actual End of Support in HTSJDK | ||
| ---- | ---- | ---- | ---- | ||
| 6 | Feb 2013 | Aug 2013 | Oct 2015 | ||
| 7 | Apr 2015 | Oct 2015 | Oct 2015 | ||
| -8* | Mar 2017 | Sep 2017 | Sep 2017 | ||
| +8 | Jul 2018 | Jul 2018 | TBD | ||
| -* to be finalized | ||
| HTSJDK is migrating to semantic versioning (http://semver.org/). We will eventually adhere to it strictly and bump our major version whenever there are breaking changes to our API, but until we more clearly define what constitutes our official API, clients should assume that every release potentially contains at least minor changes to public methods. | ||
View
95
build.gradle
| @@ -5,20 +5,21 @@ buildscript { | ||
| } | ||
| plugins { | ||
| - id "java" | ||
| + id 'java' | ||
| + id 'scala' | ||
| id 'maven' | ||
| id 'signing' | ||
| id 'jacoco' | ||
| id 'com.palantir.git-version' version '0.5.1' | ||
| id 'com.github.johnrengelman.shadow' version '1.2.3' | ||
| + id 'com.github.maiflai.scalatest' version '0.15' | ||
| } | ||
| repositories { | ||
| mavenCentral() | ||
| } | ||
| jacocoTestReport { | ||
| - dependsOn test | ||
| group = "Reporting" | ||
| description = "Generate Jacoco coverage reports after running tests." | ||
| additionalSourceDirs = files(sourceSets.main.allJava.srcDirs) | ||
| @@ -29,10 +30,6 @@ jacocoTestReport { | ||
| } | ||
| } | ||
| -jacoco { | ||
| - toolVersion = "0.7.5.201505241946" | ||
| -} | ||
| - | ||
| dependencies { | ||
| compile "org.apache.commons:commons-jexl:2.1.1" | ||
| compile "commons-logging:commons-logging:1.1.1" | ||
| @@ -41,6 +38,9 @@ dependencies { | ||
| compile "org.tukaani:xz:1.5" | ||
| compile "gov.nih.nlm.ncbi:ngs-java:1.2.4" | ||
| + testCompile "org.scala-lang:scala-library:2.12.1" | ||
| + testCompile "org.scalatest:scalatest_2.12:3.0.1" | ||
| + testRuntime 'org.pegdown:pegdown:1.4.2' // Necessary for generating HTML reports with ScalaTest | ||
| testCompile "org.testng:testng:6.9.9" | ||
| testCompile "com.google.jimfs:jimfs:1.1" | ||
| } | ||
| @@ -67,70 +67,51 @@ jar { | ||
| import org.gradle.internal.os.OperatingSystem; | ||
| -tasks.withType(Test) { | ||
| - outputs.upToDateWhen { false } // tests will always rerun | ||
| - useTestNG() | ||
| +tasks.withType(Test) { task -> | ||
| + task.outputs.upToDateWhen { false } // tests will always rerun | ||
| - // set heap size for the test JVM(s) | ||
| - minHeapSize = "1G" | ||
| - maxHeapSize = "2G" | ||
| + // Always run serially because there are some very badly behaved tests in HTSJDK that | ||
| + // will cause errors and even deadlocks if run multi-threaded | ||
| + task.maxParallelForks = 1 | ||
| - jvmArgs '-Djava.awt.headless=true' //this prevents awt from displaying a java icon while the tests are running | ||
| + // set heap size for the test JVM(s) | ||
| + task.minHeapSize = "1G" | ||
| + task.maxHeapSize = "2G" | ||
| - if (System.env.CI == "true") { //if running under a CI output less into the logs | ||
| - int count = 0 | ||
| + task.jvmArgs '-Djava.awt.headless=true' //this prevents awt from displaying a java icon while the tests are running | ||
| +} | ||
| - beforeTest { descriptor -> | ||
| - count++ | ||
| - if( count % 100 == 0) { | ||
| - logger.lifecycle("Finished "+ Integer.toString(count++) + " tests") | ||
| - } | ||
| - } | ||
| - } else { | ||
| - // show standard out and standard error of the test JVM(s) on the console | ||
| - testLogging.showStandardStreams = true | ||
| - beforeTest { descriptor -> | ||
| - logger.lifecycle("Running Test: " + descriptor) | ||
| - } | ||
| +task findScalaAndJavaTypes(type: Exec) { | ||
| + description = "Check that Scala files only exist in the scala test dir and that java files do not reside in the scala test dir." | ||
| + commandLine './scripts/checkScalaAndJavaFiles.sh' | ||
| +} | ||
| - // listen to standard out and standard error of the test JVM(s) | ||
| - onOutput { descriptor, event -> | ||
| - logger.lifecycle("Test: " + descriptor + " produced standard out/err: " + event.message ) | ||
| - } | ||
| - } | ||
| +test { | ||
| + description = "Runs the unit tests other than the SRA tests" | ||
| testLogging { | ||
| - testLogging { | ||
| - events "skipped", "failed" | ||
| - exceptionFormat = "full" | ||
| - } | ||
| - afterSuite { desc, result -> | ||
| - if (!desc.parent) { // will match the outermost suite | ||
| - println "Results: ${result.resultType} (${result.testCount} tests, ${result.successfulTestCount} successes, ${result.failedTestCount} failures, ${result.skippedTestCount} skipped)" | ||
| - } | ||
| - } | ||
| + events "failed", "skipped" | ||
| } | ||
| -} | ||
| -test { | ||
| - description = "Runs the unit tests other than the SRA tests" | ||
| + if (System.env.CI == "true") { | ||
| + jvmArgs += '-Dsamjdk.sra_libraries_download=true' | ||
| + } | ||
| - useTestNG { | ||
| - if( OperatingSystem.current().isUnix() ){ | ||
| - excludeGroups "slow", "broken", "sra" | ||
| - } else { | ||
| - excludeGroups "slow", "broken", "unix", "sra" | ||
| - } | ||
| + tags { | ||
| + exclude "slow" | ||
| + exclude "broken" | ||
| + if (System.env.CI == "false") exclude "sra" | ||
| + if (!OperatingSystem.current().isUnix()) exclude "unix" | ||
| } | ||
| -} | ||
| +} dependsOn findScalaAndJavaTypes | ||
| task testSRA(type: Test) { | ||
| - jvmArgs '-Dsamjdk.sra_libraries_download=true' | ||
| + description = "Run the SRA tests" | ||
| + jvmArgs += '-Dsamjdk.sra_libraries_download=true' | ||
| - description "Run the SRA tests" | ||
| - useTestNG { | ||
| - configFailurePolicy 'continue' | ||
| - includeGroups "sra" | ||
| + tags { | ||
| + exclude "slow" | ||
| + exclude "broken" | ||
| } | ||
| } | ||
| @@ -188,7 +169,7 @@ uploadArchives { | ||
| authentication(userName: project.findProperty("sonatypeUsername"), password: project.findProperty("sonatypePassword")) | ||
| } | ||
| - snapshotRepository(url: "https://artifactory.broadinstitute.org/artifactory/libs-snapshot-local/") { | ||
| + snapshotRepository(url: "https://broadinstitute.jfrog.io/broadinstitute/libs-snapshot-local/") { | ||
| authentication(userName: System.env.ARTIFACTORY_USERNAME, password: System.env.ARTIFACTORY_PASSWORD) | ||
| } | ||
View
4
gradle/wrapper/gradle-wrapper.properties
| @@ -1,6 +1,6 @@ | ||
| -#Tue Nov 29 15:10:15 EST 2016 | ||
| +#Fri Jan 20 17:10:11 EST 2017 | ||
| distributionBase=GRADLE_USER_HOME | ||
| distributionPath=wrapper/dists | ||
| zipStoreBase=GRADLE_USER_HOME | ||
| zipStorePath=wrapper/dists | ||
| -distributionUrl=https\://services.gradle.org/distributions/gradle-3.2.1-bin.zip | ||
| +distributionUrl=https\://services.gradle.org/distributions/gradle-3.2.1-all.zip |
View
17
scripts/checkScalaAndJavaFiles.sh
| @@ -0,0 +1,17 @@ | ||
| +#/bin/bash | ||
| + | ||
| +# Check that Scala files only exist in the scala test dir and | ||
| +# that java files do not reside in the scala test dir | ||
| + | ||
| +if `find src | grep -v '^src/test/scala' | grep -q '\.scala$' ` ; then | ||
| + echo 'Found scala file(s) outside of scala test directory'; | ||
| + find src | grep -v '^src/test/scala' | grep '\.scala$' | ||
| + exit 1; | ||
| +fi | ||
| + | ||
| +if `find src/test/scala | grep -q '\.java$' ` ; then | ||
| + echo 'Found java file(s) in scala test directory'; | ||
| + find src/test/scala | grep '\.java$' | ||
| + exit 1; | ||
| +fi | ||
| + |
Oops, something went wrong.