samtools
Verified for current stable LTS
Samtools Command: Print Sam Header And Reads
Use for print sam header and reads with Samtools. Exact CLI syntax to print sam header and reads using Samtools.
When to use this: Use for print sam header and reads with Samtools.
Command Syntax
<other_command> | samtools view -h - chromosome:start-end <other_command> | samtools view -h - chromosome:start-end Command Breakdown
-h- Command Option
- Tool-specific option used by this command invocation.
-- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to print sam header and reads using Samtools.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Samtools Command: Convert Sam To Bam
samtools view -S -b <input.sam> > <output.bam> Samtools Command: Count Alignments Per Chromosome samtools idxstats <sorted_indexed_input> Samtools Command: Index Sorted Bam samtools index <sorted_input.bam> Samtools Command: Merge Multiple Files samtools merge <output> <input1 input2 ...> Samtools Command: Print Alignment Statistics samtools flagstat <sorted_input>