Skip to content

Is samtools view -bh necessary or just samtool sort #6

@spoonbender76

Description

@spoonbender76

Hi,

Thank you for creating this pipeline.

I have a small question about samtools view -bh aligned.sam | samtools sort -n > aligned.bam in CHROMAP_ALIGN process.
According to samtools manual, samtools sort can take .sam as input.
Is samtools view -bh necessary? Will this command samtools sort -n aligned.sam > aligned.bam give the exact same output? Since it can save some time for me (30 min with samtools view -bh vs 13 min samtool sort only).

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions