Usage: get_cbioportal_variants.py [OPTIONS] COMMAND [ARGS]...
Options:
--install-completion Install completion for the current shell.
--show-completion Show completion for the current shell, to copy it or
customize the installation.
--help Show this message and exit.
Commands:
subset-cna Subset data_CNA.txt file for given set of sample ids.
subset-cpt Subset data_clinical_patient.txt file for given set of
patient...
subset-cst Subset data_clinical_samples.txt file for given set of sample...
subset-maf Subset MAF/TSV file and mark if an alteration is covered by...
subset-sv Subset data_sv.txt file for given set of sample ids.
Usage: get_cbioportal_variants.py subset-cpt [OPTIONS]
Subset data_clinical_patient.txt file for given set of patient ids.
Tool to do the following operations: A. Get subset of clinical information
for samples based on PATIENT_ID in data_clinical_patient.txt file
Requirement: pandas; typing; typer; bed_lookup(https://github.com/msk-
access/python_bed_lookup)
Options:
-p, --cpt FILE Clinical Patient file generated by cBioportal repo
[default: /work/access/production/resources/cbioportal/cur
rent/msk_solid_heme/data_clinical_patient.txt]
-i, --ids PATH List of ids to search for in the 'PATIENT_ID' column.
Header of this file is 'sample_id' [default: ]
--sid TEXT Identifiers to search for in the 'PATIENT_ID' column. Can
be given multiple times [default: ]
-n, --name TEXT Name of the output file [default:
output_clinical_patient.txt]
-c, --cname TEXT Name of the column header to be used for sub-setting
[default: PATIENT_ID]
--help Show this message and exit.
Usage: get_cbioportal_variants.py subset-cst [OPTIONS]
Subset data_clinical_samples.txt file for given set of sample ids.
Tool to do the following operations: A. Get subset of clinical information
for samples based on SAMPLE_ID in data_clinical_sample.txt file
Requirement: pandas; typing; typer; bed_lookup(https://github.com/msk-
access/python_bed_lookup)
Options:
-s, --cst FILE Clinical Sample file generated by cBioportal repo
[default: /work/access/production/resources/cbioportal/cur
rent/msk_solid_heme/data_clinical_sample.txt]
-i, --ids PATH List of ids to search for in the 'SAMPLE_ID' column.
Header of this file is 'sample_id' [default: ]
--sid TEXT Identifiers to search for in the 'SAMPLE_ID' column. Can
be given multiple times [default: ]
-n, --name TEXT Name of the output file [default:
output_clinical_samples.txt]
-c, --cname TEXT Name of the column header to be used for sub-setting
[default: SAMPLE_ID]
--help Show this message and exit.
Usage: get_cbioportal_variants.py subset-cna [OPTIONS]
Subset data_CNA.txt file for given set of sample ids.
Tool to do the following operations: A. Get subset of samples based on
column header in data_CNA.txt file
Requirement: pandas; typing; typer; bed_lookup(https://github.com/msk-
access/python_bed_lookup)
Options:
-c, --cna FILE Copy Number Variant file generated by cBioportal repo
[default: /work/access/production/resources/cbioportal/curr
ent/msk_solid_heme/data_CNA.txt]
-i, --ids PATH List of ids to search for in the 'header' of the file.
Header of this file is 'sample_id' [default: ]
--sid TEXT Identifiers to search for in the 'header' of the file. Can
be given multiple times [default: ]
-n, --name TEXT Name of the output file [default: output_CNA.txt]
--help Show this message and exit.
Usage: get_cbioportal_variants.py subset-sv [OPTIONS]
Subset data_sv.txt file for given set of sample ids.
Tool to do the following operations: A. Get subset of structural variants
based on Sample_ID in data_sv.txt file
Requirement: pandas; typing; typer; bed_lookup(https://github.com/msk-
access/python_bed_lookup)
Options:
-s, --sv FILE Structural Variant file generated by cBioportal repo
[default: /work/access/production/resources/cbioportal/cur
rent/msk_solid_heme/data_sv.txt]
-i, --ids PATH List of ids to search for in the 'Sample_ID' column.
Header of this file is 'sample_id' [default: ]
--sid TEXT Identifiers to search for in the 'Sample_ID' column. Can
be given multiple times [default: ]
-n, --name TEXT Name of the output file [default: output_sv.txt]
-c, --cname TEXT Name of the column header to be used for sub-setting
[default: Sample_ID]
--help Show this message and exit.
Usage: get_cbioportal_variants.py subset-maf [OPTIONS]
Subset MAF/TSV file and mark if an alteration is covered by BED file or
not
Tool to do the following operations: A. Get subset of variants based on
Tumor_Sample_Barcode in data_mutations_extended.txt file B. Mark the
variants as overlapping with BED file as covered [yes/no], by appending
"covered" column to the subset MAF
Requirement: pandas; typing; typer; bed_lookup(https://github.com/msk-
access/python_bed_lookup)
Options:
-m, --maf FILE MAF file generated by cBioportal repo [default: /work/acc
ess/production/resources/cbioportal/current/msk_solid_heme
/data_mutations_extended.txt]
-i, --ids PATH List of ids to search for in the 'Tumor_Sample_Barcode'
column. Header of this file is 'sample_id' [default: ]
--sid TEXT Identifiers to search for in the 'Tumor_Sample_Barcode'
column. Can be given multiple times [default: ]
-b, --bed FILE BED file to find overlapping variants [default:
/work/access/production/resources/msk-
access/current/regions_of_interest/current/MSK-
ACCESS-v1_0-probe-A.sorted.bed]
-n, --name TEXT Name of the output file [default: output.maf]
-c, --cname TEXT Name of the column header to be used for sub-setting
[default: Tumor_Sample_Barcode]
--help Show this message and exit.