This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Vcf-isec error message column names do not match

mmm what does this error mean?Is any way to fix it?

vcf-isec -c 10.vcf.gz 4.vcf.gz 2.vcf.gz | bgzip -c > out.vcf.gz 

Warning: The column names do not match (e.g. 15NS0070-2_v1):
15NS0070-2_v1
15NS0070-10_v1
 at /usr/bin/vcf-isec line 21.
    main::error("Warning: The column names do not match (e.g. 15NS0070-2_v1):\x{a}"...) called at /usr/bin/vcf-isec line 90
    main::__ANON__("Warning: The column names do not match (e.g. 15NS0070-2_v1):\x{a}"...) called at /usr/bin/vcf-isec line 168
    main::check_columns(HASH(0x9895b8), ARRAY(0xe88a58)) called at /usr/bin/vcf-isec line 263
    main::vcf_isec(HASH(0x9895b8)) called at /usr/bin/vcf-isec line

i FOUND ANSWER IN ANOTHER POST

Use the -f option of vcf-isec. For also other options, type vcf-isec -h

well even use that I still get one error

Warning: The column names do not match (e.g. 15NS0070-2_v1):
15NS0070-2_v1
15NS0070-10_v1

well i just answered myself and rename this columns in same name XD

vcf

1 answer

-f option works for me too most of the time.

Log in to answer this question.