View source: R/correctInversionPhasing.R
phaseHETinversion | R Documentation |
This function takes as an input region deemed to be a heterozygous inversion and attempts to phase SNVs inside this region using haplotype informative Strand-seq reads from multiple single cells.
phaseHETinversion(
input.bams = NULL,
snv.positions = NULL,
phase.gr = NULL,
lookup.bp = 1e+06,
lookup.blacklist = NULL,
pairedEndReads = TRUE,
min.mapq = 10,
bsGenome = NULL,
ref.fasta = NULL,
assume.biallelic = TRUE,
verbose = FALSE
)
input.bams |
A path to a VCF file to be loaded. |
snv.positions |
A path to a VCF files containing SNV positions to phase. |
phase.gr |
A |
lookup.bp |
A number of nucleotides, downstream and upstream, from the heterozygous inversion site ('phase.gr') to be genotyped. |
lookup.blacklist |
A |
pairedEndReads |
Set to |
min.mapq |
Minimum mapping quality when importing from BAM files. |
bsGenome |
A |
ref.fasta |
A user defined reference FASTA file to extract reference allele for all SNV positions. |
assume.biallelic |
If set to |
verbose |
Is set to |
A data.frame
with phased alleles per inverted and reference haplotype.
David Porubsky
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.