Skip to content

Error with "read_vcfs_as_granges" function #79

Description

@shaghayeghsoudi

Dear developers,

I am trying to run MutaionalPattern and my original data are in MAF file format, however as the tool requires vcf file format I converted my maf files into vcf files.

#CHROM	POS	ID	REF	ALT	QUAL	FILTER	INFO	FORMAT	SRC125_postRT
1	168266966	1:168266966_C/T	C	T	.	.	t_alt_count=6;t_ref_count=49	AD:DP	.,6:49
2	196922779	2:196922779_A/T	A	T	.	.	t_alt_count=30;t_ref_count=74	AD:DP	.,30:74
1	114267511	1:114267511_A/C	A	C	.	.	t_alt_count=40;t_ref_count=15	AD:DP	.,40:15

Unfortunately I cannot get the tool running and keep getting this warning message

[E::COMPAT_vcf_hdr_read] No sample line
Error in h(simpleError(msg, call)) : 
  error in evaluating the argument 'x' in selecting a method for function 'granges': error in evaluating the argument 'x' in selecting a method for function 'seqinfo': no 'header' line "#CHROM POS ID..."?

I have not idea because the header line is present.
Can you please provide me with some advice how to solve this problem?
Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions