Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leading or trailing space in attr_key-attr_value pairs is discouraged #7

Open
serge2016 opened this issue Aug 31, 2023 · 0 comments
Open

Comments

@serge2016
Copy link

Hello!
This line https://github.com/ucscCancer/fpfilter-tool/blob/master/fpfilter.pl#L498 seems to cause problems, according to https://github.com/vcftools/vcftools/blob/master/src/perl/Vcf.pm#L3028

vcf-annotate FAILES on fpfiltered VCF-file:
Error 1:

Leading or trailing space in attr_key-attr_value pairs is discouraged:
       [ InputVCFSource] [fpfilter]

Error 2:

Can't use string ("--vcf-file /outputs/77013075gdc."...) as a HASH ref while "strict refs" in use at /soft/vcftools-0.1.16/share/perl/5.26.1/Vcf.pm line 2950, <__ANONIO__> line 196.

Specification (https://docs.gdc.cancer.gov/Encyclopedia/pages/TCGA_VCF_1.1v2/) doesn't help to fix this line...
For now I had to simply change the line:

# push @$parsed_header, qq{##vcfProcessLog=<InputVCF=<$input>, InputVCFSource=<fpfilter>, InputVCFVer=<6.0>, InputVCFParam=<"$param_string"> InputVCFgeneAnno=<.>>\n}, $column_header;

push @$parsed_header, qq{##fpfilterCommand="$param_string"\n}, $column_header;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant