- newtype Junction = Junction {}
- fromDonorAcceptor :: Pos -> Pos -> Junction
- donor :: Junction -> Pos
- acceptor :: Junction -> Pos
- junctions :: SpliceLoc -> [Junction]
- data Transcript = Transcript {}
- utr5 :: Transcript -> Maybe ContigLoc
- utr3 :: Transcript -> Maybe ContigLoc
- cdsLocation :: Transcript -> Maybe SpliceSeqLoc
- sortContigs :: [ContigLoc] -> Maybe [ContigLoc]
Type for splice junctions
Splice junctions, which are isomorphic to the introns they span, but which support other biologically relevant constructors and accessors.
fromDonorAcceptor :: Pos -> Pos -> JunctionSource
Create a splice junction from a donor position (the last position in the 5' exon) and the acceptor position (the first position in the 3' exon).
donor :: Junction -> PosSource
Donor position, i.e., the last position in the 5' exon around a junction.
acceptor :: Junction -> PosSource
Acceptor position, i.e., the first position in the 3' exon around a junction.
junctions :: SpliceLoc -> [Junction]Source
List of splice junctions from a spliced location, in order.
Representation of transcript
data Transcript Source
Representation of a genomic transcript, with a gene and a transcript identifier, along with the genomic location of the processed transcript and an optional coding sequence on that transcript.
utr5 :: Transcript -> Maybe ContigLocSource
utr3 :: Transcript -> Maybe ContigLocSource
cdsLocation :: Transcript -> Maybe SpliceSeqLocSource
Genomic location of CDS within the transcript