Description Usage Arguments Examples
View source: R/renameSampleBam.R
Rename sample name of a BAM using samtools. Input folder and output folder should be different for avoding overwrite problems.
1 | renameSampleBam(bam, samtools = "samtools", new_sample_name, out_path)
|
bam |
Bam file to carry the analysis. |
samtools |
Path of samtools binary. |
new_sample_name |
New sample name for the BAM file |
out_path |
Path where the output of the analysis will be saved. |
1 2 3 4 5 6 7 | ## Not run:
renameSampleBam(bam = 'sample.bam',
samtools = 'samtools',
new_sample_name = 'new_sm',
out_path = 'bam/renamed')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.