OnWorks favicon

gmt-music-clinical-correlationp - Online in the Cloud

Run gmt-music-clinical-correlationp in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gmt-music-clinical-correlationp that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



gmt music clinical-correlation - Correlate phenotypic traits against mutated genes, or
against individual variants


This document describes gmt music clinical-correlation version 0.04 (2016-01-01 at


gmt music clinical-correlation --bam-list=? --output-file=? [--maf-file=?]
[--glm-clinical-data-file=?] [--use-maf-in-glm] [--skip-non-coding] [--skip-silent]
[--clinical-correlation-matrix-file=?] [--input-clinical-correlation-matrix-file=?]
[--genetic-data-type=?] [--numeric-clinical-data-file=?] [--numerical-data-test-method=?]
[--categorical-clinical-data-file=?] [--glm-model-file=?]

... music clinical-correlation \
--bam-list /path/myBamList.tsv \
--maf-file /path/myMAF.tsv \
--numeric-clinical-data-file /path/myNumericData.tsv \
--genetic-data-type 'gene' \
--output-file /path/output_file

... music clinical-correlation \
--maf-file /path/myMAF.tsv \
--bam-list /path/myBamList.tsv \
--numeric-clinical-data-file /path/myNumericData.tsv \
--categorical-clinical-data-file /path/myClassData.tsv \
--genetic-data-type 'gene' \
--output-file /path/output_file

... music clinical-correlation \
--maf-file /path/myMAF.tsv \
--bam-list /path/myBamList.tsv \
--output-file /path/output_file \
--glm-model-file /path/model.tsv \
--glm-clinical-data-file /path/glm_clinical_data.tsv \


bam-list Text
Tab delimited list of BAM files [sample_name, normal_bam, tumor_bam] (See Description)

output-file Text
Results of clinical-correlation tool. Will have suffix added for data type


maf-file Text
List of mutations using TCGA MAF specification v2.3

glm-clinical-data-file Text
Clinical traits, mutational profiles, other mixed clinical data (See DESCRIPTION)

use-maf-in-glm Boolean
Create a variant matrix from the MAF file as variant input to GLM analysis.

Default value 'false' (--nouse-maf-in-glm) if not specified

nouse-maf-in-glm Boolean
Make use-maf-in-glm 'false'

skip-non-coding Boolean
Skip non-coding mutations from the provided MAF file

Default value 'true' if not specified

noskip-non-coding Boolean
Make skip-non-coding 'false'

skip-silent Boolean
Skip silent mutations from the provided MAF file

Default value 'true' if not specified

noskip-silent Boolean
Make skip-silent 'false'

clinical-correlation-matrix-file Text
Specify a file to store the sample-vs-gene matrix created during calculations

input-clinical-correlation-matrix-file Text
Instead of creating this from the MAF, input the sample-vs-gene matrix for

genetic-data-type Text
Correlate clinical data to "gene" or "variant" level data

Default value 'gene' if not specified

numeric-clinical-data-file Text
Table of samples (y) vs. numeric clinical data category (x)

numerical-data-test-method Text
Either 'cor' for Pearson Correlation or 'wilcox' for the Wilcoxon Rank-Sum Test for
numerical clinical data

Default value 'cor' if not specified

categorical-clinical-data-file Text
Table of samples (y) vs. categorical clinical data category (x)

glm-model-file Text
File outlining the type of model, response variable, covariants, etc. for the GLM
analysis. (See DESCRIPTION)


This command relates clinical traits and mutational data. Either one can perform
correlation analysis between mutations recorded in a MAF and the particular phenotypic
traits recorded in clinical data files for the same samples, or one can run a generalized
linear model (GLM) analysis on the same types of data.

The clinical data files for correlation must be separated between numeric and categoric
data and must follow these conventions:

· Headers are required

· Each file must include at least 1 sample_id column and 1 attribute column, with the
format being [sample_id clinical_data_attribute_1 clinical_data_attribute_2 ...]

· The sample ID must match the sample ID listed in the MAF under "Tumor_Sample_Barcode"
for relating the mutations of this sample.

Note the importance of the headers: the header for each clinical_data_attribute will
appear in the output file to denote relationships with the mutation data from the MAF.

Internally, the input data is fed into an R script which calculates a P-value representing
the probability that the correlation seen between the mutations in each gene (or variant)
and each phenotype trait are random. Lower P-values indicate lower randomness, or likely
true correlations.

The results are saved to the output filename given with a suffix appended; ".numeric.csv"
will be appended for results derived from numeric clinical data, and ".categorical.csv"
will be appended for results derived from categorical clinical data. Also, ".glm.csv" will
be appended to the output filename for GLM results.

The GLM analysis accepts a mixed numeric and categoric clinical data file, input using the
parameter --glm-clinical-data-file. GLM clinical data must adhere to the formats described
above for the correlation clinical data files. GLM also requires the user to input a
--glm-model-file. This file requires specific headers and defines the analysis to be
performed rather exactly. Here are the conventions required for this file:

· Columns must be ordered as such:

· [ analysis_type clinical_data_trait_name variant/gene_name covariates memo ]

· The 'analysis_type' column must contain either "Q", indicating a quantative trait, or
"B", indicating a binary trait will be examined.

· The 'clinical_data_trait_name' is the name of a clinical data trait defined by being a
header in the --glm-clinical-data-file.

· The 'variant/gene_name' can either be the name of one or more columns from the
--glm-clinical-data-file, or the name of one or more mutated gene names from the MAF,
separated by "|". If this column is left blank, or instead contains "NA", then each
column from either the variant mutation matrix (--use-maf-in-glm) or alternatively the
--glm-clinical-data-file is used consecutively as the variant column in independent

· 'covariates' are the names of one or more columns from the --glm-clinical-data-file,
separated by "+".

· 'memo' is any note deemed useful to the user. It will be printed in the output data
file for reference.

GLM analysis may be performed using solely the data input into --glm-clinical-data-file,
as described above, or alternatively, mutational data from the MAF may be included as
variants in the GLM analysis, as also described above. Use the --use-maf-in-glm flag to
include the mutation matrix derived from the maf as variant data.

Note that all input files for both correlation and GLM analysis must be tab-separated.


Provide a file containing sample names and normal/tumor BAM locations for each. Use
the tab- delimited format [sample_name normal_bam tumor_bam] per line. This tool only
needs sample_name, so all other columns can be skipped. The sample_name must be the
same as the tumor sample names used in the MAF file (16th column, with the header

Use gmt-music-clinical-correlationp online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Eclipse Tomcat Plugin
    Eclipse Tomcat Plugin
    The Eclipse Tomcat Plugin provides
    simple integration of a tomcat servlet
    container for the development of java
    web applications. You can join us for
    Download Eclipse Tomcat Plugin
  • 2
    WebTorrent Desktop
    WebTorrent Desktop
    WebTorrent Desktop is for streaming
    torrents on Mac, Windows or Linux. It
    connects to both BitTorrent and
    WebTorrent peers. Now there's no
    need to wait for...
    Download WebTorrent Desktop
  • 3
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 4
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 5
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • 6
    This is an application that can also be
    fetched from
    It has been hosted in OnWorks in order
    to be run online in an easi...
    Download jtdx
  • 7
    eSpeak: speech synthesis
    eSpeak: speech synthesis
    Text to Speech engine for English and
    many other languages. Compact size with
    clear but artificial pronunciation.
    Available as a command-line program with
    many ...
    Download eSpeak: speech synthesis
  • More »

Linux commands