File: cnvkit_tool.xml

package info (click to toggle)
cnvkit 0.9.12-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 96,464 kB
  • sloc: python: 12,407; makefile: 263; sh: 84; xml: 38
file content (43 lines) | stat: -rw-r--r-- 1,498 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<tool id="cnvkit_tool" name="CNVkit Tool">
  <description>Infer copy number variants and alterations using CNVkit</description>
  <command interpreter="python">
cnvkit.py batch 
#for i in $samplebams#${i} #end for#
-n
#for j in $normalbams#${j} #end for#
-t "$targetbed" --output-reference "$outputref"
&amp;&amp;
cnvkit.py export seg *.cns -o "$outputseg"
  </command>
  <inputs>
    <param format="bam" name="samplebams" type="data" label="Sample BAM file(s)" multiple="true"/>
    <param format="bam" name="normalbams" type="data" label="Normal BAM file(s)" multiple="true" optional="true"/>
    <param format="bed" name="targetbed" type="data" label="Baits BED file"/>
  </inputs>
  <outputs>
    <data format="tabular" name="outputref" />
    <data format="tabular" name="outputseg" />
  </outputs>

  <stdio>
    <!-- Anything other than zero is an error -->
    <exit_code range="1:" />
    <exit_code range=":-1" />
  </stdio>

  <tests>
    <test>
      <param name="samplebams" value="test.bam"/>
      <param name="targetbed" value="test.bed"/>
      <output name="out_file1" file="test_cnvkit_output.txt"/>
    </test>
  </tests>

  <help>
    This tool runs the CNVkit pipeline on one or more tumor or germline samples, using zero or
    more normal samples to construct a reference, along with a BED file indicating the baits
    used in hybrid capture for sequencing. Returns the constructed reference and the segmented
    copy number ratio values as two tables.
  </help>

</tool>