Mercurial > repos > richard-burhans > ncbi_fcs_adaptor
annotate ncbi_fcs_adaptor.xml @ 0:d55ad8533d58 draft default tip
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
author | richard-burhans |
---|---|
date | Fri, 01 Mar 2024 18:26:57 +0000 |
parents | |
children |
rev | line source |
---|---|
0
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
1 <tool id="ncbi_fcs_adaptor" name="NCBI FCS Adaptor" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
2 <description>detects contamination from foreign organisms in genome sequences</description> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
3 <macros> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
4 <import>macros.xml</import> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
5 </macros> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
6 <expand macro="edam_ontology"/> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
7 <expand macro="requirements"/> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
8 <command detect_errors="exit_code"><![CDATA[ |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
9 /app/fcs/bin/av_screen_x -o "\$(pwd)" '$tax' '$input' |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
10 ]]></command> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
11 <inputs> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
12 <param name="input" type="data" format="fasta" label="Input file (Fasta file)" help="To detect contamination from adaptors and vectors, a genome sequence in a fasta file."/> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
13 <param name="tax" type="select" label="Choose the taxonomy"> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
14 <option value="--euk" selected="true">Eukaryotes</option> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
15 <option value="--prok">Prokaryotes</option> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
16 </param> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
17 <section name="advanced" title="Advanced options" expanded="false"> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
18 <param name="optional_log" type="select" label="Choose additional logs" multiple="true" display="checkboxes"> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
19 <option value="adaptor_log" selected="false">Adaptor log</option> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
20 <option value="validate_fasta_log" selected="false">FASTA validation log</option> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
21 </param> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
22 </section> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
23 </inputs> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
24 <outputs> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
25 <data name="adaptor_report" format="tabular" from_work_dir="fcs_adaptor_report.txt" label="${tool.name} on ${on_string}: Adaptor report"/> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
26 <data name="clean_fasta" format="fasta" from_work_dir="cleaned_sequences/*.dat" label="${tool.name} on ${on_string}: Cleaned Fasta"/> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
27 <data name="adaptor_log" format="txt" from_work_dir="fcs_adaptor.log" label="${tool.name} on ${on_string}: Adaptor log"> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
28 <filter>advanced['optional_log'] is not None and 'adaptor_log' in advanced['optional_log'].split(',')</filter> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
29 </data> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
30 <data name="validate_fasta_log" format="txt" from_work_dir="validate_fasta.txt" label="${tool.name} on ${on_string}: FASTA validation log"> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
31 <filter>advanced['optional_log'] is not None and 'validate_fasta_log' in advanced['optional_log'].split(',')</filter> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
32 </data> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
33 </outputs> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
34 <tests> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
35 <test expect_num_outputs="2"> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
36 <param name="input" value="fcsadaptor_prok_test.fa.gz" ftype="fasta"/> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
37 <param name="tax" value="--prok"/> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
38 <output name="adaptor_report" file="adaptor_report.tab" ftype="tabular" /> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
39 <output name="clean_fasta" decompress="true" file="clean_fasta.fa.gz" ftype="fasta" /> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
40 </test> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
41 <test expect_num_outputs="4"> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
42 <param name="input" value="fcsadaptor_prok_test.fa.gz" ftype="fasta"/> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
43 <param name="tax" value="--prok"/> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
44 <param name="optional_log" value="adaptor_log,validate_fasta_log"/> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
45 <output name="adaptor_report" file="adaptor_report.tab" ftype="tabular" /> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
46 <output name="clean_fasta" decompress="true" file="clean_fasta.fa.gz" ftype="fasta" /> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
47 <output name="adaptor_log"> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
48 <assert_contents> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
49 <has_text_matching expression="\bINFO \[workflow \] completed success\b" /> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
50 </assert_contents> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
51 </output> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
52 <output name="validate_fasta_log"> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
53 <assert_contents> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
54 <has_size value="0" /> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
55 </assert_contents> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
56 </output> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
57 </test> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
58 </tests> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
59 <help><![CDATA[ |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
60 FCS-adaptor is a high-throughput implementation of NCBI VecScreen. FCS-adaptor runs a pipeline to screen input sequences against a non-redudant database of adaptors and vectors using stringent BLAST searches and remove contaminants from your genome. |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
61 |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
62 FCS-adaptor removes terminal and internal matches to foreign sequences. Sequences identified as mostly adaptor/vector are removed entirely. FCS-adaptor produces a tabular output with details on the contaminant sequences identified as well as a cleaned FASTA. |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
63 |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
64 Please see the wiki for more information. |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
65 |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
66 https://github.com/ncbi/fcs/wiki/FCS-adaptor |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
67 ]]></help> |
d55ad8533d58
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_fcs_adaptor commit 74ccb005520db16be005e6471e8624357aca7d94
richard-burhans
parents:
diff
changeset
|
68 </tool> |