View source: R/correctInversionPhasing.R
correctInvertedRegionPhasing | R Documentation |
This function attempts to correct phasing over inverted regions using both breakpointR and StrandPhaseR results.
correctInvertedRegionPhasing(
input.bams,
outputfolder = NULL,
inv.bed = NULL,
recall.phased = FALSE,
het.genotype = "strict",
chromosomes = NULL,
snv.positions = NULL,
composite.file = NULL,
breakpointR.data = NULL,
strandphaseR.data = NULL,
pairedEndReads = TRUE,
min.mapq = 10,
background = 0.05,
vcfs.files = NULL,
lookup.bp = 1e+06,
lookup.blacklist = NULL,
bsGenome = NULL,
ref.fasta = NULL,
assume.biallelic = TRUE,
overwrite.results = TRUE
)
input.bams |
A path to a VCF file to be loaded. |
outputfolder |
A path to a folder where all summary and intermediate results will be stored. |
inv.bed |
A BED formatted file that contains likely inverted regions to evaluate. |
recall.phased |
If set to |
het.genotype |
If set to 'strict' heterozygous inversion has to be supported by both 'breakpointR.data' and 'strandphaseR.data', if set to 'lenient' support from either 'breakpointR.data' only is sufficient. |
chromosomes |
Limit analysis to a certain chromosomes only. |
snv.positions |
A path to a VCF files containing SNV positions to phase. |
composite.file |
... |
breakpointR.data |
A path to results obtained by running |
strandphaseR.data |
A path to results obtained by running |
pairedEndReads |
Set to |
min.mapq |
Minimum mapping quality when importing from BAM files. |
vcfs.files |
A path to a folder where all VCF files to be corrected are stored (sample specific). |
lookup.bp |
A number of nucleotides, downstream and upstream, from the heterozygous inversion site ('phase.gr') to be genotyped. |
lookup.blacklist |
A |
assume.biallelic |
If set to |
overwrite.results |
Set to |
NULL
or data.frame
depending if 'outputfolder' is defined.
David Porubsky
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.