View source: R/cycler_fuctions.R
filter_bam | R Documentation |
A wrapper function for samtools use to trim the files
filter_bam(BSJ_gr, sample_table, samtools_prefix)
BSJ_gr |
a GRange of BSJ cooredinates |
sample_table |
sample table formatted according to the manual, Must contain “sample_name” “treatment” “file_bam” “lib_size” “read_len”; NB the values in column “treatment” can only be “control” and “enriched” |
samtools_prefix |
a string that corresponds to user's samtools run prefix |
This function removes the BAM file reads that do not overlap with the BSJ loci. This significantly speeds us the feature detection and lowers the virtual memory requirements
BAMFileList
object with info on the trimmed files
Stefan Stefanov
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.