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

Using convert to convert file.vcf to file.maf returns empty file #9

Open
jaybee84 opened this issue Mar 24, 2021 · 2 comments
Open

Comments

@jaybee84
Copy link

jaybee84 commented Mar 24, 2021

Command:

docker run -it --rm node:8.12.0  npx genome-nexus-cli convert file.vcf 

Returns:

npx: installed 86 in 5.465s
Chromosome	Start_Position	End_Position	Reference_Allele	Tumor_Seq_Allele2

Expected:
Variants and annotation values in each of the columns

Example content of vcf file:

chrY	56880089	.	T	C	8	PASS	.	GT:GQ:DP:AD:VAF:PL	0/1:8:3:1,2:0.666667:7,0,31
@allaway
Copy link

allaway commented May 24, 2022

I have the same error with docker.

If I run via conda, I get more info, but it still fails:

/home/ssm-user/anaconda3/envs/genome-nexus-env/lib/node_modules/genome-nexus-cli/lib/convert.js:37
            console.log(MafRecord.Chromosome + "\t" + MafRecord.Start_Position + "\t" + MafRecord.End_Position + "\t" + MafRecord.Reference_Allele + "\t" + MafRecord.Tumor_Seq_Allele2);
                                  ^

TypeError: Cannot read property 'Chromosome' of undefined
    at /home/ssm-user/anaconda3/envs/genome-nexus-env/lib/node_modules/genome-nexus-cli/lib/convert.js:37:35
    at /home/ssm-user/anaconda3/envs/genome-nexus-env/lib/node_modules/genome-nexus-cli/node_modules/line-reader/lib/line_reader.js:279:15
    at getLine (/home/ssm-user/anaconda3/envs/genome-nexus-env/lib/node_modules/genome-nexus-cli/node_modules/line-reader/lib/line_reader.js:166:7)
    at Object.nextLine (/home/ssm-user/anaconda3/envs/genome-nexus-env/lib/node_modules/genome-nexus-cli/node_modules/line-reader/lib/line_reader.js:183:7)
    at Immediate.readNext (/home/ssm-user/anaconda3/envs/genome-nexus-env/lib/node_modules/genome-nexus-cli/node_modules/line-reader/lib/line_reader.js:269:14)
    at processImmediate (internal/timers.js:464:21)

@ldelgado-serrano
Copy link

I got the same using docker, an empty file only with the header. Is there any solution to this?

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

3 participants