Skip to content

sav concat commend #34

@Nahyeon203

Description

@Nahyeon203

I’m currently using the test VCF file you provided to create SAV files for chromosomes 18 and 20, and I encountered some issues when trying to concatenate the two SAV files.

Attempt 1:
I used the following commands to create the SAV files:

sav import test_file.vcf test_file.sav
sav export --regions 18 test_file.sav > chr18.sav
sav export --regions 20 test_file.sav > chr20.sav
sav concat chr18.sav chr20.sav > concat.sav

However, when running the concat command, I received the following error:

Error: chr18.sav is not a SAV v2 file

Could you help me understand why chr18.sav is not recognized as a SAV v2 file?

Attempt 2:

I tried an alternative approach using the following commands:

sav import test_file.vcf test_file.sav
sav import --regions 18 test_file.sav > chr18.im.sav
sav import --regions 20 test_file.sav > chr20.im.sav
sav concat chr18.im.sav chr20.im.sav > concat.im.sav

This time, I received a different error:

Header dictionaries incompatible

When I inspect the headers using the sav head command, they appear to be identical. Could you provide any insight into why this issue occurs and how I might resolve it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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