Mercurial > repos > gaelcge > cellranger_atac_galaxy
comparison cellranger_atac.xml @ 0:a62bafb1aaf8 draft default tip
"planemo upload commit ff0d185541dc4b0a5839fca166f1beb459dee61c"
author | gaelcge |
---|---|
date | Tue, 02 Aug 2022 19:42:44 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:a62bafb1aaf8 |
---|---|
1 <tool id="cellranger_atac" name="CellRanger ATAC" version="0.1.0" python_template_version="3.5"> | |
2 <description>performs processing of 10x single-cell ATAC-seq data.</description> | |
3 <requirements> | |
4 </requirements> | |
5 <command detect_errors="exit_code"><![CDATA[ | |
6 mkdir ./fastq_dir && | |
7 #for $i1 in $fastq_i1# | |
8 ln -s $i1 ./fastq_dir/$i1.element_identifier; | |
9 #end for# | |
10 | |
11 #for $r1 in $fastq_r1# | |
12 ln -s $r1 ./fastq_dir/$r1.element_identifier; | |
13 #end for# | |
14 | |
15 #for $r2 in $fastq_r2# | |
16 ln -s $r2 ./fastq_dir/$r2.element_identifier; | |
17 #end for# | |
18 | |
19 #for $r3 in $fastq_r3# | |
20 ln -s $r3 ./fastq_dir/$r3.element_identifier; | |
21 #end for# | |
22 /cellranger/cellranger-atac count --id=$sample_ID --reference=/references/refdata-cellranger-arc-GRCh38-2020-A-2.0.0/ --fastqs ./fastq_dir --sample=$sample_name --localcores=8 --localmem=80 --disable-ui && | |
23 ln -s $sample_ID cellranger_atac | |
24 ]]></command> | |
25 <inputs> | |
26 <param type="data" name="fastq_i1" label="Select the I1 fastq file (Dual index i7 read (optional)):" format="fastq.gz" multiple="true"/> | |
27 <param type="data" name="fastq_r1" label="Select the read1 (R1) fastq file (BC):" format="fastq.gz" multiple="true"/> | |
28 <param type="data" name="fastq_r2" label="Select the Dual index i5 read file (R2/I2):" format="fastq.gz" multiple="true"/> | |
29 <param type="data" name="fastq_r3" label="Select the read (R3) fastq file (DNA):" format="fastq.gz" multiple="true"/> | |
30 <param type="text" name="sample_ID" label="What is the sample ID? (no spaces or special characters! example: my_sample)" optional="false"/> | |
31 <param type="text" name="sample_name" label="What is the sample name?" optional="false"/> | |
32 </inputs> | |
33 <outputs> | |
34 <data name="Per-barcode fragment counts and metrics" label="singlecell.csv" format="csv" from_work_dir="cellranger_atac/outs/singlecell.csv"/> | |
35 <collection type="list" label="BAM files" name=""> | |
36 <data name="possorted_bam.bam" label="possorted_bam.bam" format="bam" from_work_dir="cellranger_atac/outs/possorted_bam.bam"/> | |
37 <data name="possorted_bam.bai" label="possorted_bam.bai" format="bai" from_work_dir="cellranger_atac/outs/possorted_bam.bam.bai"/> | |
38 </collection> | |
39 <data name="Summary of all data metrics" label="summary.json" format="json" from_work_dir='cellranger_atac/outs/summary.json'/> | |
40 <data name="HTML file summarizing data and analysis" label="web_summary.html" format="html" from_work_dir="cellranger_atac/outs/web_summary.html" /> | |
41 <collection type="list" label="Filtered peak bc matrix" name="filtered_peak_bc_matrix"> | |
42 <data name="barcodes.tsv" label="barcodes.tsv" format="tsv" from_work_dir='cellranger_atac/outs/filtered_peak_bc_matrix/barcodes.tsv'/> | |
43 <data name="peaks.bed" label="peaks.bed" format="bed" from_work_dir='cellranger_atac/outs/filtered_peak_bc_matrix/peaks.bed'/> | |
44 </collection> | |
45 <data name="Raw peak barcode matrix in hdf5 format" label="raw_peak_bc_matrix.h5" format="h5" from_work_dir='cellranger_atac/outs/raw_peak_bc_matrix.h5'/> | |
46 <data name="Filtered peak barcode matrix in hdf5 format" label="filtered_peak_bc_matrix.h5" format="h5" from_work_dir='cellranger_atac/outs/filtered_peak_bc_matrix.h5'/> | |
47 <data name="fragments.tsv.gz" label="fragments.tsv.gz" format="bgzip" from_work_dir='cellranger_atac/outs/fragments.tsv.gz'/> | |
48 <data name="fragments.tsv.gz.tbi" label="fragments.tsv.gz.tbi" format="text" from_work_dir='cellranger_atac/outs/fragments.tsv.gz.tbi'/> | |
49 <data name="Filtered tf barcode matrix in hdf5 format" label="filtered_tf_bc_matrix.h5" format="h5" from_work_dir='cellranger_atac/outs/filtered_tf_bc_matrix.h5'/> | |
50 <data name="Cloupe file" label="cloupe.cloupe" format="data" from_work_dir='cellranger_atac/outs/cloupe.cloupe'/> | |
51 <data name="csv summarizing important metrics and values" label="summary.csv" format="csv" from_work_dir='cellranger_atac/outs/summary.csv'/> | |
52 <data name="Annotation of peaks with genes" label="peak_annotation.tsv" format="tsv" from_work_dir='cellranger_atac/outs/peak_annotation.tsv'/> | |
53 <data name="Peak-motif associations" label="peak_motif_mapping.bed" format="bed" from_work_dir='cellranger_atac/outs/peak_motif_mapping.bed'/> | |
54 <data name="Filtered CellRanger BC matrix" label="matrix.mtx" format="mtx" from_work_dir='cellranger_atac/outs/filtered_peak_bc_matrix/matrix.mtx'/> | |
55 <collection type="list" label="Raw peak bc matrix" name="raw_peak_bc_matrix"> | |
56 <data name="barcodes.txt" label="barcodes.txt" format="txt" from_work_dir='cellranger_atac/outs/raw_peak_bc_matrix/barcodes.tsv'/> | |
57 <data name="peaks.bed" label="peaks.bed" format="bed" from_work_dir='cellranger_atac/outs/raw_peak_bc_matrix/peaks.bed'/> | |
58 <data name="matrix.mtx" label="matrix.mtx" format="mtx" from_work_dir='cellranger_atac/outs/raw_peak_bc_matrix/matrix.mtx'/> | |
59 </collection> | |
60 </outputs> | |
61 <help><![CDATA[ | |
62 Disclaimer: This wrapper for CellRanger-ATAC is not developed or supported by 10x Genomics. This wrapper was written by scientists at GenAP to help facilitate usage of CellRanger tools inside of Galaxy. Please find the full, official 10x Genomics licensing information at : https://support.10xgenomics.com/docs/license. | |
63 | |
64 What is CellRanger ATAC? | |
65 https://support.10xgenomics.com/single-cell-atac/software/pipelines/latest/what-is-cell-ranger-atac | |
66 | |
67 Naming convention of FASTQ files internally in Galaxy follows thes guidelines: https://support.10xgenomics.com/single-cell-atac/software/pipelines/latest/using/fastq-input#rightname | |
68 | |
69 Installation: | |
70 1) Install this wrapper via the Galaxy toolshed. | |
71 2) CellRanger-ATAC (v2.0.0) is required for this r | |
72 | |
73 | |
74 To use this tool, we assume that cellranger-atac (v.2.0.0) is available to Galaxy on the system, via the command cellranger-atac. Unfortunately at this point, we cannot include Cellranger-ATAC as | |
75 part of this wrapper due to Licensing and distribution limitations. For more information on how to install CellRanger-ATAC on your system, please see : | |
76 https://support.10xgenomics.com/single-cell-atac/software/pipelines/latest/installation | |
77 ]]></help> | |
78 <citations> | |
79 <citation type="bibtex"> | |
80 @misc{renameTODO, | |
81 author = 10x Genomics, | |
82 year = 2021, | |
83 title = CellRanger-ATAC, | |
84 url = {https://support.10xgenomics.com/single-cell-atac/software/pipelines/latest/using/fastq-input#ATACIntro}, | |
85 }</citation> | |
86 </citations> | |
87 </tool> |