Mercurial > repos > artbio > manta
comparison manta.xml @ 9:7068cff5215f draft default tip
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/manta commit 01bc6749826f5ef4a22540a9aa6a5ffd93786d4c
| author | artbio |
|---|---|
| date | Thu, 08 Jun 2023 17:36:18 +0000 |
| parents | 63d41dc49a7d |
| children |
comparison
equal
deleted
inserted
replaced
| 8:63d41dc49a7d | 9:7068cff5215f |
|---|---|
| 1 <tool id="manta" name="Manta" version="@WRAPPER_VERSION@"> | 1 <tool id="manta" name="Manta" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.05"> |
| 2 | |
| 3 <description>Manta calls structural variants (SVs) and indels from mapped paired-end sequencing reads.</description> | 2 <description>Manta calls structural variants (SVs) and indels from mapped paired-end sequencing reads.</description> |
| 4 | |
| 5 <macros> | 3 <macros> |
| 6 <import>manta_macros.xml</import> | 4 <import>manta_macros.xml</import> |
| 7 </macros> | 5 </macros> |
| 8 <expand macro="requirements"/> | 6 <expand macro="requirements"/> |
| 9 <expand macro="stdio"/> | 7 <expand macro="stdio"/> |
| 10 | 8 |
| 11 <command detect_errors="exit_code"><![CDATA[ | 9 <command detect_errors="exit_code"><![CDATA[ |
| 12 @VERSION@ | |
| 13 @pipefail@ | 10 @pipefail@ |
| 14 @set_reference_fasta_filename@ | 11 @set_reference_fasta_filename@ |
| 15 #set run_dir = './MantaWorkflow' | 12 #set run_dir = './MantaWorkflow' |
| 16 cp $__tool_directory__/configManta.py.ini configManta.py.ini && | 13 cp $__tool_directory__/configManta.py.ini configManta.py.ini && |
| 17 #if str( $bam_input.bam_input_selector ) == "not_tumor_bam": | 14 #if str( $bam_input.bam_input_selector ) == "not_tumor_bam": |
| 27 #if str( $set_configuration.set_configuration_switch ) == "Custom_config_file": | 24 #if str( $set_configuration.set_configuration_switch ) == "Custom_config_file": |
| 28 cp '$set_configuration.CustomConfigFile' ./configManta.py.ini && | 25 cp '$set_configuration.CustomConfigFile' ./configManta.py.ini && |
| 29 #end if | 26 #end if |
| 30 #if str( $set_configuration.set_configuration_switch ) == "Customized": | 27 #if str( $set_configuration.set_configuration_switch ) == "Customized": |
| 31 rm ./configManta.py.ini && | 28 rm ./configManta.py.ini && |
| 32 python $__tool_directory__/customConfigManta.py | 29 python '$__tool_directory__/customConfigManta.py' |
| 33 --minCandidateVariantSize '$set_configuration.minCandidateVariantSize' | 30 --minCandidateVariantSize '$set_configuration.minCandidateVariantSize' |
| 34 --rnaMinCandidateVariantSize '$set_configuration.rnaMinCandidateVariantSize' | 31 --rnaMinCandidateVariantSize '$set_configuration.rnaMinCandidateVariantSize' |
| 35 --minEdgeObservations '$set_configuration.minEdgeObservations' | 32 --minEdgeObservations '$set_configuration.minEdgeObservations' |
| 36 --graphNodeMaxEdgeCount '$set_configuration.graphNodeMaxEdgeCount' | 33 --graphNodeMaxEdgeCount '$set_configuration.graphNodeMaxEdgeCount' |
| 37 --minCandidateSpanningCount '$set_configuration.minCandidateSpanningCount' | 34 --minCandidateSpanningCount '$set_configuration.minCandidateSpanningCount' |
| 44 --enableRemoteReadRetrievalForInsertionsInGermlineCallingModes '$set_configuration.enableRemoteReadRetrievalForInsertionsInGermlineCallingModes' | 41 --enableRemoteReadRetrievalForInsertionsInGermlineCallingModes '$set_configuration.enableRemoteReadRetrievalForInsertionsInGermlineCallingModes' |
| 45 --enableRemoteReadRetrievalForInsertionsInCancerCallingModes '$set_configuration.enableRemoteReadRetrievalForInsertionsInCancerCallingModes' | 42 --enableRemoteReadRetrievalForInsertionsInCancerCallingModes '$set_configuration.enableRemoteReadRetrievalForInsertionsInCancerCallingModes' |
| 46 --useOverlapPairEvidence '$set_configuration.useOverlapPairEvidence' && | 43 --useOverlapPairEvidence '$set_configuration.useOverlapPairEvidence' && |
| 47 #end if | 44 #end if |
| 48 | 45 |
| 49 configManta.py --referenceFasta='${reference_fasta_filename}' | 46 configManta.py |
| 50 --config='./configManta.py.ini' | 47 --referenceFasta='${reference_fasta_filename}' |
| 51 #if str( $bam_input.bam_input_selector ) == "not_tumor_bam": | 48 --config='./configManta.py.ini' |
| 52 --bam='normal.bam' | 49 #if str( $bam_input.bam_input_selector ) == "not_tumor_bam": |
| 53 #else if str( $bam_input.bam_input_selector ) == "tumor_bam": | 50 --bam='normal.bam' |
| 54 --bam='normal.bam' | 51 #else if str( $bam_input.bam_input_selector ) == "tumor_bam": |
| 55 --tumorBam='tumor.bam' | 52 --bam='normal.bam' |
| 56 #end if | 53 --tumorBam='tumor.bam' |
| 57 --runDir='${run_dir}' | 54 #end if |
| 58 --scanSizeMb=${advanced.scanSizeMb} | 55 --runDir='${run_dir}' |
| 59 --callMemMb=${advanced.callMemMb} && | 56 --scanSizeMb=${advanced.scanSizeMb} |
| 57 --callMemMb=${advanced.callMemMb} && | |
| 60 | 58 |
| 61 python2 '${run_dir}/runWorkflow.py' -m local -j \${GALAXY_SLOTS:-4} | 59 python2 '${run_dir}/runWorkflow.py' -m local -j \${GALAXY_SLOTS:-4} |
| 62 | 60 |
| 63 ]]></command> | 61 ]]></command> |
| 64 | |
| 65 <inputs> | 62 <inputs> |
| 66 <expand macro="reference_source_conditional" /> | 63 <expand macro="reference_source_conditional" /> |
| 67 <conditional name="bam_input"> | 64 <conditional name="bam_input"> |
| 68 <param name="bam_input_selector" type="select" label="Single 'normal' or 'normal vs tumor' analysis" help="Select between a single normal BAM file or a pair of normal/tumor BAM files"> | 65 <param name="bam_input_selector" type="select" label="Single 'normal' or 'normal vs tumor' analysis" help="Select between a single normal BAM file or a pair of normal/tumor BAM files"> |
| 69 <option value="not_tumor_bam">Normal</option> | 66 <option value="not_tumor_bam">Normal</option> |
| 141 <filter>bam_input['bam_input_selector'] == 'tumor_bam'</filter> | 138 <filter>bam_input['bam_input_selector'] == 'tumor_bam'</filter> |
| 142 </data> | 139 </data> |
| 143 </outputs> | 140 </outputs> |
| 144 <tests> | 141 <tests> |
| 145 <test> | 142 <test> |
| 143 <param name="reference_source_selector" value="cached"/> | |
| 144 <param name="index" value="hg19"/> | |
| 145 <param name="bam_input_selector" value="tumor_bam" dbkey="hg19"/> | |
| 146 <param name="normal_bam_file" ftype="bam" value="HCC1954_normal.bam"/> | |
| 147 <param name="tumor_bam_file" ftype="bam" value="HCC1954_tumor.bam"/> | |
| 148 <param name="set_configuration_switch" value="Default_config_file"/> | |
| 149 <param name="callMemMb" value="1000"/> | |
| 150 <param name="candidateSmallIndels_check" value="True"/> | |
| 151 <output name="candidateSmallIndels" file="candidateSmallIndels.vcf.gz" decompress="true" lines_diff="6"/> | |
| 152 <output name="somaticSV" file="somaticSV.vcf.gz" decompress="true" lines_diff="6"/> | |
| 153 </test> | |
| 154 <test> | |
| 155 <param name="reference_source_selector" value="cached"/> | |
| 156 <param name="index" value="hg19"/> | |
| 157 <param name="bam_input_selector" value="tumor_bam" dbkey="hg19"/> | |
| 158 <param name="normal_bam_file" ftype="bam" value="HCC1954_normal.bam"/> | |
| 159 <param name="tumor_bam_file" ftype="bam" value="HCC1954_tumor.bam"/> | |
| 160 <param name="set_configuration_switch" value="Customized"/> | |
| 161 <param name="callMemMb" value="1000"/> | |
| 162 <param name="candidateSmallIndels_check" value="True"/> | |
| 163 <output name="candidateSmallIndels" file="candidateSmallIndels.vcf.gz" decompress="true" lines_diff="6"/> | |
| 164 <output name="somaticSV" file="somaticSV.vcf.gz" decompress="true" lines_diff="6"/> | |
| 165 </test> | |
| 166 <test> | |
| 146 <param name="reference_source_selector" value="cached"/> | 167 <param name="reference_source_selector" value="cached"/> |
| 147 <param name="index" value="hg19"/> | 168 <param name="index" value="hg19"/> |
| 148 <param name="bam_input_selector" value="tumor_bam" dbkey="hg19"/> | 169 <param name="bam_input_selector" value="tumor_bam" dbkey="hg19"/> |
| 149 <param name="normal_bam_file" ftype="bam" value="HCC1954_normal.bam"/> | 170 <param name="normal_bam_file" ftype="bam" value="HCC1954_normal.bam"/> |
| 150 <param name="tumor_bam_file" ftype="bam" value="HCC1954_tumor.bam"/> | 171 <param name="tumor_bam_file" ftype="bam" value="HCC1954_tumor.bam"/> |
| 152 <param name="callMemMb" value="1000"/> | 173 <param name="callMemMb" value="1000"/> |
| 153 <param name="candidateSmallIndels_check" value="True"/> | 174 <param name="candidateSmallIndels_check" value="True"/> |
| 154 <output name="candidateSmallIndels" file="candidateSmallIndels.vcf.gz" decompress="true" lines_diff="6"/> | 175 <output name="candidateSmallIndels" file="candidateSmallIndels.vcf.gz" decompress="true" lines_diff="6"/> |
| 155 <output name="somaticSV" file="somaticSV.vcf.gz" decompress="true" lines_diff="6"/> | 176 <output name="somaticSV" file="somaticSV.vcf.gz" decompress="true" lines_diff="6"/> |
| 156 </test> | 177 </test> |
| 157 <test> | |
| 158 <param name="reference_source_selector" value="cached"/> | |
| 159 <param name="index" value="hg19"/> | |
| 160 <param name="bam_input_selector" value="tumor_bam" dbkey="hg19"/> | |
| 161 <param name="normal_bam_file" ftype="bam" value="HCC1954_normal.bam"/> | |
| 162 <param name="tumor_bam_file" ftype="bam" value="HCC1954_tumor.bam"/> | |
| 163 <param name="set_configuration_switch" value="Customized"/> | |
| 164 <param name="callMemMb" value="1000"/> | |
| 165 <param name="candidateSmallIndels_check" value="True"/> | |
| 166 <output name="candidateSmallIndels" file="candidateSmallIndels.vcf.gz" decompress="true" lines_diff="6"/> | |
| 167 <output name="somaticSV" file="somaticSV.vcf.gz" decompress="true" lines_diff="6"/> | |
| 168 </test> | |
| 169 <test> | |
| 170 <param name="reference_source_selector" value="cached"/> | |
| 171 <param name="index" value="hg19"/> | |
| 172 <param name="bam_input_selector" value="tumor_bam" dbkey="hg19"/> | |
| 173 <param name="normal_bam_file" ftype="bam" value="HCC1954_normal.bam"/> | |
| 174 <param name="tumor_bam_file" ftype="bam" value="HCC1954_tumor.bam"/> | |
| 175 <param name="set_configuration_switch" value="Default_config_file"/> | |
| 176 <param name="callMemMb" value="1000"/> | |
| 177 <param name="candidateSmallIndels_check" value="True"/> | |
| 178 <output name="candidateSmallIndels" file="candidateSmallIndels.vcf.gz" decompress="true" lines_diff="6"/> | |
| 179 <output name="somaticSV" file="somaticSV.vcf.gz" decompress="true" lines_diff="6"/> | |
| 180 </test> | |
| 181 <test> | 178 <test> |
| 182 <param name="reference_source_selector" value="history"/> | 179 <param name="reference_source_selector" value="history"/> |
| 183 <param name="ref_file" ftype="fasta" value="hg19_region.fa"/> | 180 <param name="ref_file" ftype="fasta" value="hg19_region.fa"/> |
| 184 <param name="bam_input_selector" value="tumor_bam"/> | 181 <param name="bam_input_selector" value="tumor_bam"/> |
| 185 <param name="normal_bam_file" ftype="bam" value="HCC1954_normal.bam"/> | 182 <param name="normal_bam_file" ftype="bam" value="HCC1954_normal.bam"/> |
| 250 You must specify a BAM or CRAM file for at least one sample. | 247 You must specify a BAM or CRAM file for at least one sample. |
| 251 Configuration will produce a workflow run script which | 248 Configuration will produce a workflow run script which |
| 252 can execute the workflow on a single node or through | 249 can execute the workflow on a single node or through |
| 253 sge and resume any interrupted execution. | 250 sge and resume any interrupted execution. |
| 254 | 251 |
| 255 **Options** | 252 |
| 256 --version show program's version number and exit | 253 For further info see: https://github.com/Illumina/manta |
| 257 -h, --help show this help message and exit | |
| 258 --config=FILE provide a configuration file to override defaults in | |
| 259 global config file (/home/lpanunzi/Desktop/Hackaton_GC | |
| 260 C2019/manta_sv/manta/bin/configManta.py.ini) | |
| 261 --allHelp show all extended/hidden options | |
| 262 **Workflow options** | |
| 263 --bam=FILE, --normalBam=FILE | |
| 264 Normal sample BAM or CRAM file. May be specified more | |
| 265 than once, multiple inputs will be treated as each BAM | |
| 266 file representing a different sample. [optional] (no | |
| 267 default) | |
| 268 --tumorBam=FILE, --tumourBam=FILE | |
| 269 Tumor sample BAM or CRAM file. Only up to one tumor | |
| 270 bam file accepted. [optional] (no default) | |
| 271 --exome Set options for WES input: turn off depth filters | |
| 272 --rna Set options for RNA-Seq input. Must specify exactly | |
| 273 one bam input file | |
| 274 --unstrandedRNA Set if RNA-Seq input is unstranded: Allows splice- | |
| 275 junctions on either strand | |
| 276 --referenceFasta=FILE | |
| 277 samtools-indexed reference fasta file [required] | |
| 278 --runDir=DIR Name of directory to be created where all workflow | |
| 279 scripts and output will be written. Each analysis | |
| 280 requires a separate directory. (default: | |
| 281 MantaWorkflow) | |
| 282 --callRegions=FILE Optionally provide a bgzip-compressed/tabix-indexed | |
| 283 BED file containing the set of regions to call. No VCF | |
| 284 output will be provided outside of these regions. The | |
| 285 full genome will still be used to estimate statistics | |
| 286 from the input (such as expected fragment size | |
| 287 distribution). Only one BED file may be specified. | |
| 288 (default: call the entire genome) | |
| 289 **Extended options** | |
| 290 These options are either unlikely to be reset after initial site | |
| 291 configuration or only of interest for workflow development/debugging. | |
| 292 They will not be printed here if a default exists unless --allHelp is | |
| 293 specified | |
| 294 | |
| 295 --existingAlignStatsFile=FILE | |
| 296 Pre-calculated alignment statistics file. Skips | |
| 297 alignment stats calculation. | |
| 298 --useExistingChromDepths | |
| 299 Use pre-calculated chromosome depths. | |
| 300 --candidateBins=candidateBins | |
| 301 Provide the total number of tasks which candidate | |
| 302 generation will be sub-divided into. (default: 256) | |
| 303 --retainTempFiles Keep all temporary files (for workflow debugging) | |
| 304 --generateEvidenceBam | |
| 305 Generate a bam of supporting reads for all SVs | |
| 306 --outputContig Output assembled contig sequences in VCF file | |
| 307 --scanSizeMb=INT Maximum sequence region size (in megabases) scanned by | |
| 308 each task during SV Locus graph generation. (default: | |
| 309 12) | |
| 310 --region=REGION Limit the analysis to a region of the genome for | |
| 311 debugging purposes. If this argument is provided | |
| 312 multiple times all specified regions will be analyzed | |
| 313 together. All regions must be non-overlapping to get a | |
| 314 meaningful result. Examples: '--region chr20' (whole | |
| 315 chromosome), '--region chr2:100-2000 --region | |
| 316 chr3:2500-3000' (two regions)'. If this option is | |
| 317 specified (one or more times) together with the | |
| 318 --callRegions BED file, then all region arguments will | |
| 319 be intersected with the callRegions BED track. | |
| 320 --callMemMb=INT Set default task memory requirement (in megabytes) for | |
| 321 common tasks. This may benefit an analysis of unusual | |
| 322 depth, chimera rate, etc.. 'Common' tasks refers to | |
| 323 most compute intensive scatter-phase tasks of graph | |
| 324 creation and candidate generation. | |
| 325 | |
| 326 For further info see: https://github.com/Illumina/manta | |
| 327 | 254 |
| 328 ]]></help> | 255 ]]></help> |
| 329 <citations> | 256 <citations> |
| 330 <citation type="doi">10.1093/bioinformatics/btv710</citation> | 257 <citation type="doi">10.1093/bioinformatics/btv710</citation> |
| 331 </citations> | 258 </citations> |
