parseCigar {ORFik} | R Documentation |
Example if you want to change a read of length 20, by +12. You need to account for gaps etc, this is done using the cigar string of the read.
parseCigar(cigar, shift, is_plus_strand)
cigar |
the cigar of the reads |
shift |
the shift as integer |
is_plus_strand |
logical |
the shifted read