abstract class WithReadGroup extends Object implements Callable<Integer>
| Modifier | Constructor and Description |
|---|---|
protected |
WithReadGroup(String readGroupId,
String readGroupSample,
String readGroupLibrary,
String readGroupPlatformUnit,
Integer readGroupInsertSize,
List<String> readGroupBarcodes)
Create a new callable with a read group with the specified annotations.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) static StringListArgument |
createReadGroupBarcodesArgument()
Create and return a new read group barcodes commandline argument.
|
(package private) static StringArgument |
createReadGroupIdArgument()
Create and return a new read group id commandline argument.
|
(package private) static IntegerArgument |
createReadGroupInsertSizeArgument()
Create and return a new read group insert size commandline argument.
|
(package private) static StringArgument |
createReadGroupLibraryArgument()
Create and return a new read group library commandline argument.
|
(package private) static StringArgument |
createReadGroupPlatformUnitArgument()
Create and return a new read group platform unit commandline argument.
|
(package private) static StringArgument |
createReadGroupSampleArgument()
Create and return a new read group sample commandline argument.
|
protected List<String> |
getReadGroupBarcodes()
Return the list of read group barcodes, if any.
|
protected String |
getReadGroupId()
Return the read group id, if any.
|
protected Integer |
getReadGroupInsertSize()
Return the read group insert size, if any.
|
protected String |
getReadGroupLibrary()
Return the read group library, if any.
|
protected String |
getReadGroupPlatformUnit()
Return the read group platform unit, if any.
|
protected String |
getReadGroupSample()
Return the read group sample, if any.
|
protected htsjdk.samtools.SAMReadGroupRecord |
toReadGroup()
Create and return a new read group.
|
protected Optional<htsjdk.samtools.SAMReadGroupRecord> |
toReadGroupOpt()
Create and return an optional wrapping the read group, if any.
|
protected WithReadGroup(@Nullable String readGroupId, @Nullable String readGroupSample, @Nullable String readGroupLibrary, @Nullable String readGroupPlatformUnit, @Nullable Integer readGroupInsertSize, @Nullable List<String> readGroupBarcodes)
readGroupId - read group id, if anyreadGroupSample - read group sample, if anyreadGroupLibrary - read group library, if anyreadGroupPlatformUnit - read group platform unit, if anyreadGroupInsertSize - read group insert size, if anyreadGroupBarcodes - read group barcodes, if anyprotected final htsjdk.samtools.SAMReadGroupRecord toReadGroup()
protected final Optional<htsjdk.samtools.SAMReadGroupRecord> toReadGroupOpt()
protected final String getReadGroupId()
protected final String getReadGroupSample()
protected final String getReadGroupLibrary()
protected final String getReadGroupPlatformUnit()
protected final Integer getReadGroupInsertSize()
protected final List<String> getReadGroupBarcodes()
static StringArgument createReadGroupIdArgument()
static StringArgument createReadGroupSampleArgument()
static StringArgument createReadGroupLibraryArgument()
static StringArgument createReadGroupPlatformUnitArgument()
static IntegerArgument createReadGroupInsertSizeArgument()
static StringListArgument createReadGroupBarcodesArgument()
Copyright (c) 2013-2023 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).