Description Usage Arguments Details Author(s) Examples
Take a list of BAM files and write a bed file for each one.
1 2 | bamToBed(filenames, bedtoolsPath = "/opt/bedtools2/bin/", outDest = "./",
outSuffix = "")
|
filenames |
Character - List of BAM files |
bedtoolsPath |
String - Path to bedtools directory |
outDest |
String - Directory where bed files should be written |
outSuffix |
String - will be appended to original filename (and ".bam" is replaced by ".bed") |
Use bedtools function bamToBed convert BAM files to bed format. Requires bedtools to be installed. Mitochondrial, unknown, and "random" reads should have been removed already (see sam_filter.R). If you give the output file a suffix with "outSuffix", you need to start it with a "_" or "." or whatever if you don't want it just smooshed onto the end of the input file name. TIME: For NucSeq data, ranged from ~2.5m for cb_p036_1 to ~14.5m for L4_RORb_1. Example at the command line: /opt/bedtools2/bin/bamToBed -i samplename.bam > samplename.bed
Emma Myers
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.