Mercurial > repos > richard-burhans > ncbi_fcs_adaptor
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:d55ad8533d58 |
---|---|
1 <tool id="ncbi_fcs_adaptor" name="NCBI FCS Adaptor" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> | |
2 <description>detects contamination from foreign organisms in genome sequences</description> | |
3 <macros> | |
4 <import>macros.xml</import> | |
5 </macros> | |
6 <expand macro="edam_ontology"/> | |
7 <expand macro="requirements"/> | |
8 <command detect_errors="exit_code"><![CDATA[ | |
9 /app/fcs/bin/av_screen_x -o "\$(pwd)" '$tax' '$input' | |
10 ]]></command> | |
11 <inputs> | |
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."/> | |
13 <param name="tax" type="select" label="Choose the taxonomy"> | |
14 <option value="--euk" selected="true">Eukaryotes</option> | |
15 <option value="--prok">Prokaryotes</option> | |
16 </param> | |
17 <section name="advanced" title="Advanced options" expanded="false"> | |
18 <param name="optional_log" type="select" label="Choose additional logs" multiple="true" display="checkboxes"> | |
19 <option value="adaptor_log" selected="false">Adaptor log</option> | |
20 <option value="validate_fasta_log" selected="false">FASTA validation log</option> | |
21 </param> | |
22 </section> | |
23 </inputs> | |
24 <outputs> | |
25 <data name="adaptor_report" format="tabular" from_work_dir="fcs_adaptor_report.txt" label="${tool.name} on ${on_string}: Adaptor report"/> | |
26 <data name="clean_fasta" format="fasta" from_work_dir="cleaned_sequences/*.dat" label="${tool.name} on ${on_string}: Cleaned Fasta"/> | |
27 <data name="adaptor_log" format="txt" from_work_dir="fcs_adaptor.log" label="${tool.name} on ${on_string}: Adaptor log"> | |
28 <filter>advanced['optional_log'] is not None and 'adaptor_log' in advanced['optional_log'].split(',')</filter> | |
29 </data> | |
30 <data name="validate_fasta_log" format="txt" from_work_dir="validate_fasta.txt" label="${tool.name} on ${on_string}: FASTA validation log"> | |
31 <filter>advanced['optional_log'] is not None and 'validate_fasta_log' in advanced['optional_log'].split(',')</filter> | |
32 </data> | |
33 </outputs> | |
34 <tests> | |
35 <test expect_num_outputs="2"> | |
36 <param name="input" value="fcsadaptor_prok_test.fa.gz" ftype="fasta"/> | |
37 <param name="tax" value="--prok"/> | |
38 <output name="adaptor_report" file="adaptor_report.tab" ftype="tabular" /> | |
39 <output name="clean_fasta" decompress="true" file="clean_fasta.fa.gz" ftype="fasta" /> | |
40 </test> | |
41 <test expect_num_outputs="4"> | |
42 <param name="input" value="fcsadaptor_prok_test.fa.gz" ftype="fasta"/> | |
43 <param name="tax" value="--prok"/> | |
44 <param name="optional_log" value="adaptor_log,validate_fasta_log"/> | |
45 <output name="adaptor_report" file="adaptor_report.tab" ftype="tabular" /> | |
46 <output name="clean_fasta" decompress="true" file="clean_fasta.fa.gz" ftype="fasta" /> | |
47 <output name="adaptor_log"> | |
48 <assert_contents> | |
49 <has_text_matching expression="\bINFO \[workflow \] completed success\b" /> | |
50 </assert_contents> | |
51 </output> | |
52 <output name="validate_fasta_log"> | |
53 <assert_contents> | |
54 <has_size value="0" /> | |
55 </assert_contents> | |
56 </output> | |
57 </test> | |
58 </tests> | |
59 <help><![CDATA[ | |
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. | |
61 | |
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. | |
63 | |
64 Please see the wiki for more information. | |
65 | |
66 https://github.com/ncbi/fcs/wiki/FCS-adaptor | |
67 ]]></help> | |
68 </tool> |