termtrick.com
Run
API
Facebook
Twitter
LinkedIn
Copy link
Take input from stdin (-) and print the SAM header and any reads overlapping a specific region to stdout
samtools
Tools for handling high-throughput sequencing (genomics) data.
Used for reading/writing/editing/indexing/viewing of data in SAM/BAM/CRAM format.
More information: <https://www.htslib.org>.
Trick copyright:
tl;dr; <
https://github.com/tldr-pages/tldr
>
{{other_command}} | samtools view -h - chromosome:start-end
click the source code to copy
install
samtools
on any operating system with
command-not-found.com