Convert CSV to MAF

Convert output of Rscript (filter_calls.R) CSV file to MAF

The Tool does the following operations:

  • Read one or more files from the inputs

  • Removes unwanted columns, modifying the column headers depending on the requirements

  • Massaging the data frame to make it compatible with MAF format

  • Write the data frame to a file in MAF format and Excel format

Requirements

  • pandas

  • openpyxl

  • typing

  • typer

Example command

Explicitly specifying files on command line

python csv_to_maf.py  -i /path/to/Test1.csv -i /path/to/Test2.csv -i /path/to/Test3.csv

Specifying files in a text FileOfFiles

where FileOfFiles.txt

Keeping normal samples identified using "normal" string, by default they are filtered

Usage

Last updated

Was this helpful?