Merge pull request #1609 from broadinstitute/yf_make_readutils_test_public
making a test within readutils-test public
This commit is contained in:
commit
6de68d556e
|
|
@ -395,7 +395,7 @@ public class ReadClipper {
|
||||||
/**
|
/**
|
||||||
* Checks if a read contains adaptor sequences. If it does, hard clips them out.
|
* Checks if a read contains adaptor sequences. If it does, hard clips them out.
|
||||||
*
|
*
|
||||||
* Note: To see how a read is checked for adaptor sequence see ReadUtils.getAdaptorBoundary()
|
* Note: To see how a read is checked for adaptor sequence see {@link ReadUtils::getAdaptorBoundary}
|
||||||
*
|
*
|
||||||
* @return a new read without adaptor sequence
|
* @return a new read without adaptor sequence
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -25,8 +25,8 @@
|
||||||
|
|
||||||
package org.broadinstitute.gatk.utils.sam;
|
package org.broadinstitute.gatk.utils.sam;
|
||||||
|
|
||||||
import htsjdk.samtools.SAMReadGroupRecord;
|
|
||||||
import htsjdk.samtools.SAMFileHeader;
|
import htsjdk.samtools.SAMFileHeader;
|
||||||
|
import htsjdk.samtools.SAMReadGroupRecord;
|
||||||
import htsjdk.samtools.reference.ReferenceSequenceFile;
|
import htsjdk.samtools.reference.ReferenceSequenceFile;
|
||||||
import org.broadinstitute.gatk.utils.BaseTest;
|
import org.broadinstitute.gatk.utils.BaseTest;
|
||||||
import org.broadinstitute.gatk.utils.BaseUtils;
|
import org.broadinstitute.gatk.utils.BaseUtils;
|
||||||
|
|
@ -335,7 +335,7 @@ public class ReadUtilsUnitTest extends BaseTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test(dataProvider = "HasWellDefinedFragmentSizeData")
|
@Test(dataProvider = "HasWellDefinedFragmentSizeData")
|
||||||
private void testHasWellDefinedFragmentSize(final String name, final GATKSAMRecord read, final boolean expected) {
|
public void testHasWellDefinedFragmentSize(final String name, final GATKSAMRecord read, final boolean expected) {
|
||||||
Assert.assertEquals(ReadUtils.hasWellDefinedFragmentSize(read), expected);
|
Assert.assertEquals(ReadUtils.hasWellDefinedFragmentSize(read), expected);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue