HelperValidatePairedSequenceId Method |
Validates the specified sequence id is in the format of paired read or not.
If so then gets the original sequence id, paired read type and library name from the paired sequence id.
For Example:
if the sequence id is "seq1.F:10K!324;abcd;345" then this method will return true and
originalSequenceId - "seq1"
pairedReadType - "F"
libraryName - "10K"
if the sequence id is not in the format of "originalSequenceId.{F,R}:LibraryName"
or "originalSequenceId.{F,R}:LibraryName!otherInfo" then this method will return false.
Namespace: Bio.UtilAssembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax public static bool ValidatePairedSequenceId(
string pairedSequenceId,
out string originalSequenceId,
out bool forwardRead,
out string pairedReadType,
out string libraryName
)
Public Shared Function ValidatePairedSequenceId (
pairedSequenceId As String,
<OutAttribute> ByRef originalSequenceId As String,
<OutAttribute> ByRef forwardRead As Boolean,
<OutAttribute> ByRef pairedReadType As String,
<OutAttribute> ByRef libraryName As String
) As Boolean
public:
static bool ValidatePairedSequenceId(
String^ pairedSequenceId,
[OutAttribute] String^% originalSequenceId,
[OutAttribute] bool% forwardRead,
[OutAttribute] String^% pairedReadType,
[OutAttribute] String^% libraryName
)
static member ValidatePairedSequenceId :
pairedSequenceId : string *
originalSequenceId : string byref *
forwardRead : bool byref *
pairedReadType : string byref *
libraryName : string byref -> bool
Parameters
- pairedSequenceId
- Type: SystemString
Paired sequence id. - originalSequenceId
- Type: SystemString
Original sequence id part from the specified sequence id. - forwardRead
- Type: SystemBoolean
Flag to indicate whether forward read or not. - pairedReadType
- Type: SystemString
Paired sequence type part from the specified sequence id. - libraryName
- Type: SystemString
Library name part from the specified sequence id.
Return Value
Type:
Boolean[Missing <returns> documentation for "M:Bio.Util.Helper.ValidatePairedSequenceId(System.String,System.String@,System.Boolean@,System.String@,System.String@)"]
See Also