Check the first 100000 first reads of the bam file to see whether it is single end or paired end
the input bam file. Your bamfile should be sorted and have an index file located at the same path as well.
the number of reads to be checked, 100000 by default.
return TRUE if the input file is paired end, and FALSE if it is single end
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.