SAMTools 1.7 view Filter by region
With no options or regions specified, prints all alignments in the specified input alignment file. You may specify one space-separated region after the input filename to restrict output to only those alignments which overlap the specified region. Use of region specification requires a coordinate-sorted and indexed input file (in BAM or CRAM format).
- To use SAMTools 1.7 view Filter by region, import your data in BAM/CRAM format.
- Resources: https://github.com/samtools/samtools
Use ex1.bam from the directory above as bam input
use ex1.bam.bai as the bam index file
use ex1.fa from the directory above as reference sequence.
Parameters Used in App
When the app is run in the Discovery Environment, use the following parameters with the above input file(s) to get the output provided in the next section below.
- Enter seq1:1-100 in the 'region' field
Expect 'filtered_alignments.sam' as output.