Skip to content

Commit 07dd80c

Browse files
committed
update maf2samplevcfs
1 parent b1cd989 commit 07dd80c

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

assets/useful_scripts/deepcsa_maf2samplevcfs.py

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
11
#!/usr/bin/env python
22

3+
#######
4+
# This script converts a mutations file (TSV format) to one or multiple VCF-formatted files.
5+
#######
6+
7+
#######
8+
# Usage:
9+
#######
10+
## If your sample names are NOT in a column called SAMPLE_ID,
11+
## you can use the --sample-name-column option to specify it.
12+
313
# if the maf is from deepCSA, use this one, otherwise use the one below
4-
# usage: python deepcsa_maf2vcf.py --mutations-file all_samples.somatic.mutations.tsv --output-dir ./test/ --maf-from-deepcsa
14+
# usage: python deepcsa_maf2samplevcfs.py --mutations-file all_samples.somatic.mutations.tsv --output-dir ./test/ --maf-from-deepcsa
515

616
# if the maf file is not from deepCSA, use this below
7-
# usage: python deepcsa_maf2vcf.py --mutations-file all_samples.somatic.mutations.tsv --output-dir ./test/
17+
# usage: python deepcsa_maf2samplevcfs.py --mutations-file all_samples.somatic.mutations.tsv --output-dir ./test/
818

919
import click
1020
import pandas as pd

0 commit comments

Comments
 (0)