amh: amh

Description Usage Arguments Details Examples

View source: R/amh.R

Description

This function is for counting the number of "alternative / more proximal" microhomologies that were bypassed during repair the repair of a CRISPR deletion. It should be used on Sanger sequenced alleles already analysed by running mhq(input, CRISPResso=F). In the other scenario, When analysing CRISPResso output data, mhq automatically counts alternative microhomologies so this script is not necessary.

Usage

1
amh(input, genome)

Arguments

input

text file derived from output of mhq(yourData) with additional columns as specified below

genome

BSgenome object to pull sequences from. IMPORTANT: Has to be loaded before running the function. (i.e. genome <- BSgenome.Mmusculus.UCSC.mm9). Allows any BSgenome supported genome to be used.

Details


Input is a tab seperated text file (without column names) containing deletions in the same format as output by the mhq function but with some additional columns added. Bed file coordinates are best obtained using a tool like UCSC BLAT. Also requires the desired genome to be preloaded as a BSGenome object


Output is the original dataframe but with two additional columns:

Examples

1
2
genome <- BSgenome.Mmusculus.UCSC.mm9
amh(input="~/exampleData/Sanger/sequenceDataFile_altMH.txt", genome)

d0minicO/mhscanR documentation built on May 4, 2021, 5:22 p.m.