Mercurial > repos > greg > sample_names
annotate sample_names.xml @ 0:54380a6171b8 draft default tip
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
| author | greg |
|---|---|
| date | Mon, 22 Nov 2021 00:30:39 +0000 |
| parents | |
| children |
| rev | line source |
|---|---|
|
0
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
1 <tool id="sample_names" name="Extract sample names" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
2 <description>from input file names</description> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
3 <macros> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
4 <import>macros.xml</import> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
5 </macros> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
6 <command detect_errors="exit_code"><![CDATA[ |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
7 #import difflib |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
8 #import re |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
9 |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
10 #if $input_type_cond.input_type == 'single': |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
11 #set read1 = $input_type_cond.read1 |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
12 #set sample_name = re.sub('[^\s\w\-]', '_', str($read1.element_identifier)) |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
13 #else if $input_type_cond.input_type == 'pair': |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
14 #set read1 = $input_type_cond.read1 |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
15 #set read1_identifier = re.sub('[^\s\w\-]', '_', str($read1.element_identifier)) |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
16 #set read2 = $input_type_cond.read2 |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
17 #set read2_identifier = re.sub('[^\s\w\-]', '_', str($read2.element_identifier)) |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
18 #set matches = difflib.SequenceMatcher(None, read1_identifier, read2_identifier).get_matching_blocks() |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
19 #set match = $matches[0] |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
20 #set sample_name = re.sub('[^\s\w\-]', '_', str($read1_identifier[match.a:match.a + match.size])) |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
21 #else: |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
22 #set read1_name = $input_type_cond.reads_collection['forward'].name |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
23 #set read1_identifier = re.sub('[^\s\w\-]', '_', str($read1_name)) |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
24 #set read2_name = $input_type_cond.reads_collection['reverse'].name |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
25 #set read2_identifier = re.sub('[^\s\w\-]', '_', str($read2_name)) |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
26 #set matches = difflib.SequenceMatcher(None, read1_identifier, read2_identifier).get_matching_blocks() |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
27 #set match = $matches[0] |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
28 #set sample_name = re.sub('[^\s\w\-]', '_', str($read1_identifier[match.a:match.a + match.size])) |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
29 #end if |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
30 |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
31 echo '$sample_name' > '$output' |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
32 ]]></command> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
33 <inputs> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
34 <conditional name="input_type_cond"> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
35 <param name="input_type" type="select" label="Choose the category of the files to be analyzed"> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
36 <option value="single" selected="true">Single dataset</option> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
37 <option value="pair">Dataset pair</option> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
38 <option value="paired">List of dataset pairs</option> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
39 </param> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
40 <when value="single"> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
41 <param name="read1" type="data" format="fastqsanger.gz,fastqsanger" label="Read1 fastq file"/> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
42 </when> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
43 <when value="pair"> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
44 <param name="read1" type="data" format="fastqsanger.gz,fastqsanger" label="Read1 fastq file"/> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
45 <param name="read2" type="data" format="fastqsanger.gz,fastqsanger" label="Read2 fastq file"/> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
46 </when> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
47 <when value="paired"> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
48 <param name="reads_collection" type="data_collection" format="fastqsanger,fastqsanger.gz" collection_type="paired" label="Collection of fastqsanger paired read files"/> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
49 </when> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
50 </conditional> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
51 </inputs> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
52 <outputs> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
53 <data name="output" format="txt"/> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
54 </outputs> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
55 <tests> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
56 <!-- Single files --> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
57 <test> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
58 <param name="input_type" value="single"/> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
59 <param name="read1" value="CMC_20E1_R1.fastq.gz" dbkey="89"/> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
60 <output name="output" file="sample_names.txt" ftype="txt"/> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
61 </test> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
62 <!-- Paired reads in separate datasets --> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
63 <test> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
64 <param name="input_type" value="pair"/> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
65 <param name="read1" value="CMC_20E1_R1.fastq.gz" dbkey="89"/> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
66 <param name="read2" value="CMC_20E1_R2.fastq.gz" dbkey="89"/> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
67 <output name="output" file="sample_names2.txt" ftype="txt"/> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
68 </test> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
69 <!-- Collection of Paired reads --> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
70 <test> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
71 <param name="input_type" value="paired"/> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
72 <param name="reads_collection"> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
73 <collection type="paired"> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
74 <element name="forward" value="CMC_20E1_R1.fastq.gz"/> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
75 <element name="reverse" value="CMC_20E1_R2.fastq.gz"/> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
76 </collection> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
77 </param> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
78 <output name="output" file="sample_names3.txt" ftype="txt"/> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
79 </test> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
80 <!-- Collection of Paired reads --> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
81 <test> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
82 <param name="input_type" value="paired"/> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
83 <param name="reads_collection"> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
84 <collection type="paired"> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
85 <element name="forward" value="SRR14085881_forward"/> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
86 <element name="reverse" value="SRR14085881_reverse"/> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
87 </collection> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
88 </param> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
89 <output name="output" file="sample_names4.txt" ftype="txt"/> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
90 </test> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
91 </tests> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
92 <help> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
93 **What it does** |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
94 |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
95 Accepts fastqsanger sample files, extracts a unique portion of the file name as the sample name, and writes it to |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
96 the output. The output text file can be consumed by the **Parse parameter value** expression tool to provide workflow |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
97 parameter values to the **Read group identifier (ID)** and the **Sample name identifier (SM)** parameters in the |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
98 **Map with BWA-MEM** tool. |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
99 </help> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
100 <expand macro="citations"/> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
101 </tool> |
|
54380a6171b8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/misc/sample_names commit b935f36cfe430263564503ebb71f78dc79315acb"
greg
parents:
diff
changeset
|
102 |
