Skip to content

Automatically generate indexes after extracting sequences with faidx (--write-index) #2118

Description

@fgvieira

Is your feature request related to a problem? Please specify.

Right now, after extracting sequences with samtools faidx, one has to afterwards generate the FAI and GZI files.

Describe the solution you would like.

It would be nice if it was possible to automatically generate these files from the fasta output from samtools faidx (similar to samtools view --write-index):

samtools faidx -r targets.regions --write-index --output targets.fas.gz sequences.fas.gz

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions