Mercurial > repos > artbio > gsc_correlation
comparison correlation_with_signature.xml @ 0:6f3da989b59d draft default tip
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/gsc_correlation commit 70c7abb20f76651e61325e3aa90809f6874f8b85
| author | artbio |
|---|---|
| date | Mon, 24 Jun 2019 07:18:35 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:6f3da989b59d |
|---|---|
| 1 <tool id="single_cell_gene_expression_correlations" name="single_cell_gene_expression_correlations" version="0.9.0"> | |
| 2 <description>between genes or with a signature of selected genes</description> | |
| 3 <requirements> | |
| 4 <requirement type="package" version="1.3.2=r3.3.2_0">r-optparse</requirement> | |
| 5 <requirement type="package" version="4.0_3=r3.3.2_0">r-hmisc</requirement> | |
| 6 </requirements> | |
| 7 <stdio> | |
| 8 <exit_code range="1:" level="fatal" description="Tool exception" /> | |
| 9 </stdio> | |
| 10 <command detect_errors="exit_code"><![CDATA[ | |
| 11 Rscript $__tool_directory__/correlation_with_signature.R | |
| 12 --expression_file '$expression_file' | |
| 13 --signatures_file '$signatures_file' | |
| 14 --sep | |
| 15 #if $sep == 'tab': | |
| 16 'tab' | |
| 17 #elif $sep == 'comma': | |
| 18 'comma' | |
| 19 #end if | |
| 20 --colnames '$colnames' | |
| 21 --sig_corr '$sig_corr' | |
| 22 --gene_corr '$gene_corr' | |
| 23 --gene_corr_pval '$gene_corr_pval' | |
| 24 ]]></command> | |
| 25 <inputs> | |
| 26 <param name="expression_file" type="data" format="txt" label="Expression data" | |
| 27 help="a csv or tsv file that contains log2(CPM +1) expression values" /> | |
| 28 <param name="signatures_file" type="data" format="txt" label="signature values" | |
| 29 help="a csv or tsv file that contains cell signatures" /> | |
| 30 <param name="sep" type="select" label="Indicate column separator" | |
| 31 help="Note that all input files must have the same format"> | |
| 32 <option value="tab" selected="true">Tabs</option> | |
| 33 <option value="comma">Comma</option> | |
| 34 </param> | |
| 35 <param name="colnames" type="select" label="Firt row contains column names" | |
| 36 help="chose whether your files contain a header row (often a good idea)" > | |
| 37 <option value="TRUE" selected="true">True</option> | |
| 38 <option value="FALSE">False</option> | |
| 39 </param> | |
| 40 </inputs> | |
| 41 <outputs> | |
| 42 <data name="sig_corr" format="tabular" label="Genes-Signature correlations" /> | |
| 43 <data name="gene_corr" format="tabular" label="Correlations r (all)" /> | |
| 44 <data name="gene_corr_pval" format="tabular" label="Correlations p-values (all)" /> | |
| 45 </outputs> | |
| 46 <tests> | |
| 47 <test> | |
| 48 <param name="expression_file" value="gene_filtered_input.tsv" ftype="txt"/> | |
| 49 <param name="signatures_file" value="signature.tsv" ftype="txt"/> | |
| 50 <param name="sep" value='tab' /> | |
| 51 <param name="colnames" value="TRUE"/> | |
| 52 <output name="sig_corr" file="sig_corr.tsv" ftype="tabular"/> | |
| 53 <output name="gene_corr" file="gene_corr.tsv" ftype="tabular"/> | |
| 54 <output name="gene_corr_pval" file="gene_corr_pval.tsv" ftype="tabular"/> | |
| 55 </test> | |
| 56 </tests> | |
| 57 <help> | |
| 58 | |
| 59 **What it does** | |
| 60 | |
| 61 The tools computes a table of pairwise expression correlations between **selected genes** | |
| 62 in single-cell RNAseq data, as well as a table of correlation between the expression of | |
| 63 these selected genes and the value of a signature (must be a scalar for each library) | |
| 64 across the single-cell data | |
| 65 | |
| 66 **Inputs** | |
| 67 | |
| 68 - a table of expression values (e.E. log10(CPM+1), etc...) of **selected genes** from single-cell RNAseq sequencing libraries (columns) | |
| 69 These genes may be selected for their significant differential expression, because they | |
| 70 belong to a specific pathway, etc. | |
| 71 - a table of signature values for the single-cell RNAseq sequencing datasets | |
| 72 The table should have 2 columns (Cell-identifier and signature-value). The signature | |
| 73 values are scalars, one value per cell-identifier and are in the second column. | |
| 74 | |
| 75 **Outputs** | |
| 76 | |
| 77 - Correlation table between the signature score and selected gene expression. There is three columns: | |
| 78 - gene name | |
| 79 - Pearson_correlation : Pearson correlation value | |
| 80 - p_value : associated p-value | |
| 81 - Gene - Gene correlation table. It's a n x n matrix of correlation values where n is the number of selected genes. | |
| 82 - Gene - Gene correlation associated p-values table. It has the same dimensions as Gene-Gene correlation table but for p-values. | |
| 83 | |
| 84 </help> | |
| 85 <citations> | |
| 86 <citation type="bibtex"> | |
| 87 @Manual{, | |
| 88 title = {R: A Language and Environment for Statistical Computing}, | |
| 89 author = {{R Core Team}}, | |
| 90 organization = {R Foundation for Statistical Computing}, | |
| 91 address = {Vienna, Austria}, | |
| 92 year = {2014}, | |
| 93 url = {http://www.R-project.org/}, | |
| 94 } | |
| 95 </citation> | |
| 96 </citations> | |
| 97 </tool> |
