View source: R/plot_fragments.R
get_fragments_length | R Documentation |
This function takes a BAM file as input and outputs the fragment length of all reads in a TXT file.
get_fragments_length( bin_path = "tools/samtools/samtools", bam = "", remove_unmapped = TRUE, verbose = FALSE, threads = 1 )
bin_path |
Path to samtools executable. Default path tools/samtools/samtools. |
bam |
Path to BAM file. |
remove_unmapped |
Removes unmapped reads and/or mates. Only in BAM files. Default TRUE |
verbose |
Enables progress messages. Default False. |
threads |
Number of threads to use. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.