9

Normally, I would use the vcf2maf scripts to convert a VCF to a MAF (or vice versa).

This is great software, but on my system, perl scripts with dependencies are easy to break. (Here it uses VEP.)

Are there any other alternatives to this?

Daniel Standage
  • 5,080
  • 15
  • 50
ShanZhengYang
  • 1,691
  • 1
  • 14
  • 20
  • What do you mean by this: “on my system, perl scripts with dependencies are easy to break”? – Konrad Rudolph Feb 01 '18 at 13:39
  • 3
    @KonradRudolph In my experience, perl + bioinformatics dependencies is a nightmare. Our system admin keeps +12 versions of perl to deal with this. (I don't want to start fights with any perlverts, but it is tiresome in contrast to R/Python.) – ShanZhengYang Feb 01 '18 at 15:32
  • Interesting, I’m not sure I understand why. At any rate, R definitely has the same, or worse, problem: it fundamentally can’t handle multiple package versions (unlike Python). – Konrad Rudolph Feb 01 '18 at 15:42
  • @KonradRudolph I'd agree with that assessment. You're welcome to discuss this with my team. – ShanZhengYang Feb 01 '18 at 15:45

2 Answers2

6

You can use annovar to annotate the vcf, then convert it to maf using the function annovarToMaf of maftools bioconductor package.

mox
  • 333
  • 2
  • 8
5

Check this python script vcf2maf.py

stack_learner
  • 1,262
  • 14
  • 26
  • 3
    Ironically, from their README: "This code is no longer maintained. Please have a look at: mskcc's vcf2maf." – burger Jan 31 '18 at 23:48