Given the chromosome, junction start, junction end and strand, a junction id is created that follows the format: <chr>:<start>-<end>:<strand>

generate_junction_id(chr, start, end, strand)

Arguments

chr

The chromosome

start

The start of the junction

end

The end of the junction

strand

Strand information. "+" or "-"

Value

The junction id in the format <chr>:<start>-<end>:<strand>

Examples

generate_junction_id(chr = "chr1", start = 50, end = 100, strand = "+")
#> [1] "chr1:50-100:+"