View source: R/exportPhasedReads.R
exportPhasedReads | R Documentation |
This function will take phase information for each single cell and each haplotype informative region and will divide all mapped reads in BAM format into haplotype specific sets. In case of paired-end reads, read1 and read2 will be exported in separate files.
exportPhasedReads(
phased.tab = NULL,
inputfolder = NULL,
outputfolder = NULL,
by.matepair = TRUE,
min.mapq = 10,
pairedEndReads = TRUE,
format = "fastq"
)
phased.tab |
A data table containing haplotype assignment for each single cell and haplotype informative region. This table is standard output of StrandPhaseR and cen be found in subfolder 'Phased/phased_haps.txt'. |
inputfolder |
Path to the bam files to process |
outputfolder |
Output directory. If non-existent it will be created. |
by.matepair |
If set to |
min.mapq |
Minimum mapping quality when importing from BAM files. |
pairedEndReads |
Set to |
format |
User defined output format, either "fasta" or "fastq" (the default). |
David Porubsky
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.