View source: R/split_pacbam_bychrom.R
split_pacbam_bychrom | R Documentation |
Split PaCBAM ouputs by chromosomes
split_pacbam_bychrom(targetbed, pacbamfolder, pacbamfolder_bychrom)
targetbed |
Genomic regions in the BED tab-delimited format. |
pacbamfolder |
Folder with original outputs generated by PaCBAM. This folder should contain both .pabs and .pileups files. |
pacbamfolder_bychrom |
Output folder in which subfolders for each sample will be created. |
Original data from PaCBAM split by chromosome in separate files, these are saved in two sub-folders 'pileup' and 'snvs', organized by sample.
targetbed <- system.file("extdata", "regions_toy.bed", package = "abemus") pacbamfolder <- system.file("extdata", "pacbam_data", package = "abemus") pacbamfolder_bychrom <- tempdir() split_pacbam_bychrom(targetbed,pacbamfolder,pacbamfolder_bychrom)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.