Cycle covariate now works with pacbio reads. No need to override the platform anymore.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@5210 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
2a04e0d378
commit
1fbfd4082e
|
|
@ -160,6 +160,7 @@ public class CycleCovariate implements StandardCovariate {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// todo -- this should be put into a common place in the code base
|
// todo -- this should be put into a common place in the code base
|
||||||
|
private static List<String> PACBIO_NAMES = Arrays.asList("PACBIO");
|
||||||
private static List<String> ILLUMINA_NAMES = Arrays.asList("ILLUMINA", "SLX", "SOLEXA");
|
private static List<String> ILLUMINA_NAMES = Arrays.asList("ILLUMINA", "SLX", "SOLEXA");
|
||||||
private static List<String> SOLID_NAMES = Arrays.asList("SOLID");
|
private static List<String> SOLID_NAMES = Arrays.asList("SOLID");
|
||||||
private static List<String> LS454_NAMES = Arrays.asList("454");
|
private static List<String> LS454_NAMES = Arrays.asList("454");
|
||||||
|
|
@ -180,7 +181,7 @@ public class CycleCovariate implements StandardCovariate {
|
||||||
//-----------------------------
|
//-----------------------------
|
||||||
|
|
||||||
|
|
||||||
if( isPlatform(read, ILLUMINA_NAMES) || isPlatform(read, SOLID_NAMES) ) {
|
if( isPlatform(read, ILLUMINA_NAMES) || isPlatform(read, SOLID_NAMES) || isPlatform(read, PACBIO_NAMES)) {
|
||||||
final int init;
|
final int init;
|
||||||
final int increment;
|
final int increment;
|
||||||
if( !read.getReadNegativeStrandFlag() ) {
|
if( !read.getReadNegativeStrandFlag() ) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue