Safe Haskell | Safe-Infered |
---|

# Documentation

length :: Integral n => s -> nSource

Length of sequence data

ntAt :: Integral n => s -> n -> Maybe CharSource

`Just`

the nucleotide at a specified sequence data offset,
given in 0-based coordinates, or `Nothing`

if the offset is
beyond the bounds of the data

:: (Integral n, Integral m) | |

=> n | Starting position in 0-based coordinates |

-> m | Length |

-> s | Sequence data |

-> Maybe s |

`Just`

the nucleotides in subsequence of the sequence data, or
`Nothing`

if the region extends beyond the bounds of the
sequence.

:: (Integral n, Integral m) | |

=> n | Starting position in 0-based coordinates |

-> m | Length |

-> s | Sequence data |

-> s |

Nucleotides in a subsequence of the sequence data, padded with
`N`

when the region extends beyond the bounds of the sequence.