/** * is the read a SLX read? * * @param read the read to test * @return checks the read group tag PL for the default SLX tag */ public static boolean isIlluminaRead(SAMRecord read) { return NGSPlatform.fromRead(read) == NGSPlatform.ILLUMINA; }
/** * is the read an IonTorrent read? * * @param read the read to test * @return checks the read group tag PL for the default ion tag */ public static boolean isIonRead(SAMRecord read) { return NGSPlatform.fromRead(read) == NGSPlatform.ION_TORRENT; }
/** * is the read a SOLiD read? * * @param read the read to test * @return checks the read group tag PL for the default SOLiD tag */ public static boolean isSOLiDRead(SAMRecord read) { return NGSPlatform.fromRead(read) == NGSPlatform.SOLID; }
/** * is the read a 454 read? * * @param read the read to test * @return checks the read group tag PL for the default 454 tag */ public static boolean is454Read(SAMRecord read) { return NGSPlatform.fromRead(read) == NGSPlatform.LS454; }