# HG changeset patch
# User ebi-gxa
# Date 1594891736 0
# Node ID d4755a95c52dec70977cfb72ce218f1697810990
# Parent 540cc98d458743cfabf34ac1636df064be69f1b4
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit f6a8d0f8eb4225276e3db9e5ca04b7d11bac5bf6-dirty
diff -r 540cc98d4587 -r d4755a95c52d atlas-retrieve-macros.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/atlas-retrieve-macros.xml Thu Jul 16 09:28:56 2020 +0000
@@ -0,0 +1,30 @@
+
+ 1.0.0
+ More information can be found at https://github.com/ebi-gene-expression-group/atlas-data-import
+ 18.01
+
+
+ atlas-data-import
+
+
+
+
+
+
+
+ @misc{github-atlas-data-import.git,
+ author = {Andrey Solovyev, EBI Gene Expression Team},
+ year = {2020},
+ title = {Scripts for extracting expression- and metadata from SCXA in a programmatic way},
+ publisher = {GitHub},
+ journal = {GitHub repository},
+ url = {https://github.com/ebi-gene-expression-group/atlas-data-import.git},
+ }
+
+
+
+
+
diff -r 540cc98d4587 -r d4755a95c52d retrieve-scxa.xml
--- a/retrieve-scxa.xml Thu Apr 16 08:50:10 2020 +0000
+++ b/retrieve-scxa.xml Thu Jul 16 09:28:56 2020 +0000
@@ -1,61 +1,79 @@
-
-
- Retrieves expression matrixes and metadata from EBI Single Cell Expression Atlas (SCXA)
-
- wget
-
-
+ Retrieve expression matrices and metadata from EBI Single Cell Expression Atlas (SCXA)
+
+ atlas-retrieve-macros.xml
+
+
+ ${genes_tsv} &&
-cut -f2 '${accession}'.expression_tpm.mtx_cols > ${barcode_tsv};
-
-#else if str($matrix_type) == "raw":
-
-wget -O ${matrix_mtx} 'ftp://ftp.ebi.ac.uk/pub/databases/microarray/data/atlas/sc_experiments/${accession}/${accession}.aggregated_filtered_counts.mtx';
-wget -qO - 'ftp://ftp.ebi.ac.uk/pub/databases/microarray/data/atlas/sc_experiments/${accession}/${accession}.aggregated_filtered_counts.mtx_cols' | cut -f2 > ${barcode_tsv};
-wget -qO - 'ftp://ftp.ebi.ac.uk/pub/databases/microarray/data/atlas/sc_experiments/${accession}/${accession}.aggregated_filtered_counts.decorated.mtx_rows' |
- awk -F'\t' '{ if (length($2) == 0) { print $1"\t"$1 } else { print $0 } }' > ${genes_tsv};
-
-#end if
-
-wget -O exp_design.tsv
- 'https://www.ebi.ac.uk/gxa/sc/experiment/${accession}/download?fileType=experiment-design&accessKey=';
+ get_experiment_data.R --accesssion-code "${accession_code}" --matrix-type "${matrix_type}" --get-sdrf "${get_sdrf}" --get-condensed-sdrf "${get_condensed_sdrf}" --get-marker-genes "${get_marker_genes}"
-]]>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ get_sdrf
+
+
+ get_condensed_sdrf
+
+
+ get_idf
+
+
+ get_marker_genes
+
+
+ get_exp_design
+
+
+
-
- 10.1093/nar/gkv1045
- 10.1101/2020.04.08.032698
-
+:SDRF file (txt):
+ Similar to Experiment Design file, contains information on individual cells/sequencing runs. Might contain information on technical duplicates.
+
+:IDF file (txt):
+ IDF file holds general information about the sequencing experiment and interpretation of the fields in SDRF/metadata files.
+
+:Marker gene file (txt):
+ File containing information on marker genes that differentiate cell types present in the sequencing experiment.
+
+@HELP@
+@VERSION_HISTORY@
+ ]]>
+