Mercurial > repos > devteam > freebayes
comparison freebayes.xml @ 40:0d8581534009 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
| author | iuc |
|---|---|
| date | Tue, 05 Aug 2025 13:47:58 +0000 |
| parents | 85dc96ebc770 |
| children |
comparison
equal
deleted
inserted
replaced
| 39:85dc96ebc770 | 40:0d8581534009 |
|---|---|
| 1 <tool id="freebayes" name="FreeBayes" version="@TOOL_VERSION@+galaxy0"> | 1 <tool id="freebayes" name="FreeBayes" version="@TOOL_VERSION@+galaxy1" profile="23.0"> |
| 2 <description>bayesian genetic variant detector</description> | 2 <description>bayesian genetic variant detector</description> |
| 3 <macros> | |
| 4 <import>macros.xml</import> | |
| 5 </macros> | |
| 3 <xrefs> | 6 <xrefs> |
| 4 <xref type="bio.tools">freebayes</xref> | 7 <xref type="bio.tools">freebayes</xref> |
| 5 </xrefs> | 8 </xrefs> |
| 6 <macros> | |
| 7 <import>macros.xml</import> | |
| 8 </macros> | |
| 9 <expand macro="requirements"> | 9 <expand macro="requirements"> |
| 10 <requirement type="package" version="3.11">grep</requirement> | |
| 10 <requirement type="package" version="5.3.1">gawk</requirement> | 11 <requirement type="package" version="5.3.1">gawk</requirement> |
| 11 <requirement type="package" version="20250422">parallel</requirement> | 12 <requirement type="package" version="20250622">parallel</requirement> |
| 12 </expand> | 13 </expand> |
| 13 <expand macro="version_command" /> | 14 <expand macro="version_command" /> |
| 14 <command detect_errors="exit_code"><![CDATA[ | 15 <command detect_errors="exit_code"><![CDATA[ |
| 15 ##set up input files | 16 ##set up input files |
| 16 | 17 |
| 235 ${options_type.algorithmic_features.genotype_qualities} | 236 ${options_type.algorithmic_features.genotype_qualities} |
| 236 ${options_type.algorithmic_features.report_genotype_likelihood_max} | 237 ${options_type.algorithmic_features.report_genotype_likelihood_max} |
| 237 | 238 |
| 238 --genotyping-max-banddepth ${options_type.algorithmic_features.genotyping_max_banddepth} | 239 --genotyping-max-banddepth ${options_type.algorithmic_features.genotyping_max_banddepth} |
| 239 #end if | 240 #end if |
| 241 #end if | |
| 242 | |
| 243 #if str($output_options.flavor) == "gvcf": | |
| 244 --gvcf | |
| 245 #elif str($output_options.flavor) == "gvcf_custom": | |
| 246 --gvcf | |
| 247 #if $output_options.gvcf_block_size == 0: | |
| 248 ## special-casing the 0 case for performance | |
| 249 --gvcf-dont-use-chunk t | |
| 250 #else: | |
| 251 --gvcf-chunk $output_options.gvcf_block_size | |
| 252 #end if | |
| 240 #end if | 253 #end if |
| 241 | 254 |
| 242 "; | 255 "; |
| 243 done > freebayes_commands.sh && | 256 done > freebayes_commands.sh && |
| 244 | 257 |
| 364 </param> | 377 </param> |
| 365 <when value="do_not_provide" /> | 378 <when value="do_not_provide" /> |
| 366 <when value="provide_vcf"> | 379 <when value="provide_vcf"> |
| 367 <param name="input_variant_vcf" argument="--variant-input" type="data" format="vcf_bgzip" | 380 <param name="input_variant_vcf" argument="--variant-input" type="data" format="vcf_bgzip" |
| 368 label="Use variants reported in this VCF dataset as input to the algorithm"/> | 381 label="Use variants reported in this VCF dataset as input to the algorithm"/> |
| 369 <param name="only_use_input_alleles" argument="--only-use-input-alleles" type="boolean" truevalue="--only-use-input-alleles" falsevalue="" checked="false" | 382 <param argument="--only-use-input-alleles" type="boolean" truevalue="--only-use-input-alleles" falsevalue="" checked="false" |
| 370 label="Only provide variant calls and genotype likelihoods for sites in VCF" /> | 383 label="Only provide variant calls and genotype likelihoods for sites in VCF" /> |
| 371 </when> | 384 </when> |
| 372 </conditional> | 385 </conditional> |
| 373 <param name="haplotype_basis_alleles" argument="--haplotype-basis-alleles" type="data" format="vcf" optional="true" | 386 <param argument="--haplotype-basis-alleles" type="data" format="vcf" optional="true" |
| 374 label="Only use variant alleles provided in this input VCF for the construction of complex or haplotype alleles" /> | 387 label="Only use variant alleles provided in this input VCF for the construction of complex or haplotype alleles" /> |
| 375 <param name="report_monomorphic" argument="--report-monomorphic" type="boolean" truevalue="--report-monomorphic" falsevalue="" checked="false" | 388 <param argument="--report-monomorphic" type="boolean" truevalue="--report-monomorphic" falsevalue="" checked="false" |
| 376 label="Report even loci which appear to be monomorphic, and report all considered alleles, even those which are not in called genotypes" /> | 389 label="Report even loci which appear to be monomorphic, and report all considered alleles, even those which are not in called genotypes" /> |
| 377 <param name="observation_bias" argument="--observation-bias" type="data" format="tabular" optional="true" | 390 <param argument="--observation-bias" type="data" format="tabular" optional="true" |
| 378 label="Load read length-dependent allele observation biases from" | 391 label="Load read length-dependent allele observation biases from" |
| 379 help="The format is [length] [alignment efficiency relative to reference] where the efficiency is 1 if there is no relative observation bias" /> | 392 help="The format is [length] [alignment efficiency relative to reference] where the efficiency is 1 if there is no relative observation bias" /> |
| 380 <param name="contamination_estimates" argument="--contamination-estimates" type="data" format="tabular" optional="true" | 393 <param argument="--contamination-estimates" type="data" format="tabular" optional="true" |
| 381 label="Upload per-sample estimates of contamination from" | 394 label="Upload per-sample estimates of contamination from" |
| 382 help="The format should be: sample p(read=R|genotype=AR) p(read=A|genotype=AA) Sample '*' can be used to set default contamination estimates" /> | 395 help="The format should be: sample p(read=R|genotype=AR) p(read=A|genotype=AA) Sample '*' can be used to set default contamination estimates" /> |
| 383 <param name="trim_complex_tail" argument="--trim-complex-tail" type="boolean" truevalue="--trim-complex-tail" falsevalue="" | 396 <param argument="--trim-complex-tail" type="boolean" truevalue="--trim-complex-tail" falsevalue="" |
| 384 label="Trim trailing reference matches" /> | 397 label="Trim trailing reference matches" /> |
| 385 </when> | 398 </when> |
| 386 <when value="do_not_set" /> | 399 <when value="do_not_set" /> |
| 387 </conditional> | 400 </conditional> |
| 388 | 401 |
| 430 <option value="set">Set reference allele options</option> | 443 <option value="set">Set reference allele options</option> |
| 431 </param> | 444 </param> |
| 432 <when value="set"> | 445 <when value="set"> |
| 433 <param name="Z" argument="--use-reference-allele" type="boolean" truevalue="-Z" falsevalue="" checked="false" | 446 <param name="Z" argument="--use-reference-allele" type="boolean" truevalue="-Z" falsevalue="" checked="false" |
| 434 label="Include the reference allele in the analysis as if it is another sample from the same population" /> | 447 label="Include the reference allele in the analysis as if it is another sample from the same population" /> |
| 435 <param name="reference_quality" argument="--reference-quality" type="text" value="100,60" | 448 <param argument="--reference-quality" type="text" value="100,60" |
| 436 label="Assign mapping quality of MQ (100) to the reference allele at each site and base quality of BQ (60)" /> | 449 label="Assign mapping quality of MQ (100) to the reference allele at each site and base quality of BQ (60)" /> |
| 437 </when> | 450 </when> |
| 438 <when value="do_not_set" /> | 451 <when value="do_not_set" /> |
| 439 </conditional> | 452 </conditional> |
| 440 | 453 |
| 455 <param name="u" argument="--no-complex" type="boolean" truevalue="-u" falsevalue="" checked="false" | 468 <param name="u" argument="--no-complex" type="boolean" truevalue="-u" falsevalue="" checked="false" |
| 456 label="Ignore complex events (composites of other classes)" /> | 469 label="Ignore complex events (composites of other classes)" /> |
| 457 <param name="n" argument="--use-best-n-alleles" type="integer" value="0" | 470 <param name="n" argument="--use-best-n-alleles" type="integer" value="0" |
| 458 label="How many best SNP alleles to evaluate" | 471 label="How many best SNP alleles to evaluate" |
| 459 help="Alleles are ranked by the sum of supporting quality scores. Set to 0 to evaluate all" /> | 472 help="Alleles are ranked by the sum of supporting quality scores. Set to 0 to evaluate all" /> |
| 460 <param name="haplotype_length" argument="--haplotype-length" type="integer" value="3" | 473 <param argument="--haplotype-length" type="integer" value="3" |
| 461 label="Allow haplotype calls with contiguous embedded matches of up to (nucleotides)" /> | 474 label="Allow haplotype calls with contiguous embedded matches of up to (nucleotides)" /> |
| 462 <param name="min_repeat_length" argument="--min-repeat-size" type="integer" value="5" | 475 <param name="min_repeat_length" argument="--min-repeat-size" type="integer" value="5" |
| 463 label="When assembling observations across repeats, require the total repeat length at least this many bp" /> | 476 label="When assembling observations across repeats, require the total repeat length at least this many bp" /> |
| 464 <param name="min_repeat_entropy" argument="--min-repeat-entropy" type="integer" value="1" | 477 <param argument="--min-repeat-entropy" type="integer" value="1" |
| 465 label="To detect interrupted repeats, build across sequence until it has entropy > (bits per bp)" /> | 478 label="To detect interrupted repeats, build across sequence until it has entropy > (bits per bp)" /> |
| 466 <param name="no_partial_observations" argument="--no-partial-observations" type="boolean" truevalue="--no-partial-observations" falsevalue="" checked="false" | 479 <param argument="--no-partial-observations" type="boolean" truevalue="--no-partial-observations" falsevalue="" checked="false" |
| 467 label="Exclude observations which do not fully span the dynamically-determined detection window" | 480 label="Exclude observations which do not fully span the dynamically-determined detection window" |
| 468 help="By default, FreeBayes uses all observations, dividing partial support across matching haplotypes when generating haplotypes" /> | 481 help="By default, FreeBayes uses all observations, dividing partial support across matching haplotypes when generating haplotypes" /> |
| 469 </when> | 482 </when> |
| 470 <when value="do_not_set" /> | 483 <when value="do_not_set" /> |
| 471 </conditional> | 484 </conditional> |
| 506 <param argument="--read-mismatch-limit" type="integer" value="1000" optional="true" | 519 <param argument="--read-mismatch-limit" type="integer" value="1000" optional="true" |
| 507 label="Exclude reads with more than N mismatches where each mismatch has base quality >= mismatch-base-quality-threshold (option above)" | 520 label="Exclude reads with more than N mismatches where each mismatch has base quality >= mismatch-base-quality-threshold (option above)" |
| 508 help="default=~unbounded" /> | 521 help="default=~unbounded" /> |
| 509 <param argument="--read-max-mismatch-fraction" type="float" value="1.0" min="0.0" max="1.0" | 522 <param argument="--read-max-mismatch-fraction" type="float" value="1.0" min="0.0" max="1.0" |
| 510 label="Exclude reads with more than N [0,1] fraction of mismatches where each mismatch has base quality >= mismatch-base-quality-threshold (second option above)" /> | 523 label="Exclude reads with more than N [0,1] fraction of mismatches where each mismatch has base quality >= mismatch-base-quality-threshold (second option above)" /> |
| 511 <param name="read_snp_limit" argument="--read-snp-limit" type="integer" value="1000" | 524 <param argument="--read-snp-limit" type="integer" value="1000" |
| 512 label="Exclude reads with more than N base mismatches, ignoring gaps with quality >= mismatch-base-quality-threshold (third option above)" | 525 label="Exclude reads with more than N base mismatches, ignoring gaps with quality >= mismatch-base-quality-threshold (third option above)" |
| 513 help="default=~unbounded" /> | 526 help="default=~unbounded" /> |
| 514 </when> | 527 </when> |
| 515 <when value="do_not_set" /> | 528 <when value="do_not_set" /> |
| 516 </conditional> | 529 </conditional> |
| 557 help="Sets --base-quality-cap, --experimental-gls, and --prob-contamination options"> | 570 help="Sets --base-quality-cap, --experimental-gls, and --prob-contamination options"> |
| 558 <option value="do_not_set" selected="true">Use defaults</option> | 571 <option value="do_not_set" selected="true">Use defaults</option> |
| 559 <option value="set">Set genotype likelihood options</option> | 572 <option value="set">Set genotype likelihood options</option> |
| 560 </param> | 573 </param> |
| 561 <when value="set"> | 574 <when value="set"> |
| 562 <param name="base_quality_cap" argument="--base-quality-cap" type="integer" value="0" | 575 <param argument="--base-quality-cap" type="integer" value="0" |
| 563 label="Limit estimated observation quality by capping base quality at" /> | 576 label="Limit estimated observation quality by capping base quality at" /> |
| 564 <param name="experimental_gls" argument="--experimental-gls" type="boolean" truevalue="--experimental-gls" falsevalue="" checked="false" | 577 <param argument="--experimental-gls" type="boolean" truevalue="--experimental-gls" falsevalue="" checked="false" |
| 565 label="Generate genotype likelihoods using 'effective base depth' metric qual = 1-BaseQual * 1-MapQual" | 578 label="Generate genotype likelihoods using 'effective base depth' metric qual = 1-BaseQual * 1-MapQual" |
| 566 help="Incorporate partial observations. This is the default when contamination estimates are provided. Optimized for diploid samples" /> | 579 help="Incorporate partial observations. This is the default when contamination estimates are provided. Optimized for diploid samples" /> |
| 567 <param name="prob_contamination" argument="--prob-contamination" type="float" value="10e-9" | 580 <param argument="--prob-contamination" type="float" value="10e-9" |
| 568 label="An estimate of contamination to use for all samples" /> | 581 label="An estimate of contamination to use for all samples" /> |
| 569 </when> | 582 </when> |
| 570 <when value="do_not_set" /> | 583 <when value="do_not_set" /> |
| 571 </conditional> | 584 </conditional> |
| 572 | 585 |
| 576 help="Sets --report-genotypes-likelihood-max, -B, --genotyping-max-banddepth, -W, -N, S, -j, -H, -D, -= options"> | 589 help="Sets --report-genotypes-likelihood-max, -B, --genotyping-max-banddepth, -W, -N, S, -j, -H, -D, -= options"> |
| 577 <option value="do_not_set" selected="true">Use defaults</option> | 590 <option value="do_not_set" selected="true">Use defaults</option> |
| 578 <option value="set">Set algorithmic features</option> | 591 <option value="set">Set algorithmic features</option> |
| 579 </param> | 592 </param> |
| 580 <when value="set"> | 593 <when value="set"> |
| 581 <param name="report_genotype_likelihood_max" argument="--report-genotype-likelihood-max" type="boolean" truevalue="--report-genotype-likelihood-max" falsevalue="" checked="false" | 594 <param argument="--report-genotype-likelihood-max" type="boolean" truevalue="--report-genotype-likelihood-max" falsevalue="" checked="false" |
| 582 label="Report genotypes using the maximum-likelihood estimate provided from genotype likelihoods" /> | 595 label="Report genotypes using the maximum-likelihood estimate provided from genotype likelihoods" /> |
| 583 <param name="B" argument="--genotyping-max-iterations" type="integer" value="1000" | 596 <param name="B" argument="--genotyping-max-iterations" type="integer" value="1000" |
| 584 label="Iterate no more than N times during genotyping step" /> | 597 label="Iterate no more than N times during genotyping step" /> |
| 585 <param name="genotyping_max_banddepth" argument="--genotyping-max-banddepth" type="integer" value="6" | 598 <param argument="--genotyping-max-banddepth" type="integer" value="6" |
| 586 label="Integrate no deeper than the Nth best genotype by likelihood when genotyping" /> | 599 label="Integrate no deeper than the Nth best genotype by likelihood when genotyping" /> |
| 587 <param name="W" argument="--posterior-integration-limits" type="text" value="1,3" | 600 <param name="W" argument="--posterior-integration-limits" type="text" value="1,3" |
| 588 label="Integrate all genotype combinations in our posterior space which include no more than N (1) samples with their Mth (3) best data likelihood" /> | 601 label="Integrate all genotype combinations in our posterior space which include no more than N (1) samples with their Mth (3) best data likelihood" /> |
| 589 <param name="N" argument="--exclude-unobserved-genotypes" type="boolean" truevalue="--exclude-unobserved-genotypes" falsevalue="" checked="false" | 602 <param name="N" argument="--exclude-unobserved-genotypes" type="boolean" truevalue="--exclude-unobserved-genotypes" falsevalue="" checked="false" |
| 590 label="Skip sample genotypings for which the sample has no supporting reads" /> | 603 label="Skip sample genotypings for which the sample has no supporting reads" /> |
| 591 <param name="genotype_variant_threshold" argument="--genotype-variant-threshold" type="integer" value="" optional="true" | 604 <param argument="--genotype-variant-threshold" type="integer" value="" optional="true" |
| 592 label="Limit posterior integration to samples where the second-best genotype likelihood is no more than log(N) from the highest genotype likelihood for the sample" | 605 label="Limit posterior integration to samples where the second-best genotype likelihood is no more than log(N) from the highest genotype likelihood for the sample" |
| 593 help="default=~unbounded" /> | 606 help="default=~unbounded" /> |
| 594 <param name="j" argument="--use-mapping-quality" type="boolean" truevalue="-j" falsevalue="" checked="false" | 607 <param name="j" argument="--use-mapping-quality" type="boolean" truevalue="-j" falsevalue="" checked="false" |
| 595 label="Use mapping quality of alleles when calculating data likelihoods" /> | 608 label="Use mapping quality of alleles when calculating data likelihoods" /> |
| 596 <param name="H" argument="--harmonic-indel-quality" type="boolean" truevalue="-H" falsevalue="" checked="false" | 609 <param name="H" argument="--harmonic-indel-quality" type="boolean" truevalue="-H" falsevalue="" checked="false" |
| 597 label="Use a weighted sum of base qualities around an indel, scaled by the distance from the indel" | 610 label="Use a weighted sum of base qualities around an indel, scaled by the distance from the indel" |
| 598 help="By default, FreeBayes uses a minimum Base Quality in flanking sequence" /> | 611 help="By default, FreeBayes uses a minimum Base Quality in flanking sequence" /> |
| 599 <param name="D" argument="--read-dependence-factor" type="float" value="0.9" | 612 <param name="D" argument="--read-dependence-factor" type="float" value="0.9" |
| 600 label="Incorporate non-independence of reads by scaling successive observations by this factor during data likelihood calculations" /> | 613 label="Incorporate non-independence of reads by scaling successive observations by this factor during data likelihood calculations" /> |
| 601 <param name="genotype_qualities" argument="--genotype-qualities" type="boolean" truevalue="--genotype-qualities" falsevalue="" checked="false" | 614 <param argument="--genotype-qualities" type="boolean" truevalue="--genotype-qualities" falsevalue="" checked="false" |
| 602 label="Calculate the marginal probability of genotypes and report as GQ in each sample field in the VCF output" /> | 615 label="Calculate the marginal probability of genotypes and report as GQ in each sample field in the VCF output" /> |
| 603 </when> | 616 </when> |
| 604 <when value="do_not_set" /> | 617 <when value="do_not_set" /> |
| 605 </conditional> | 618 </conditional> |
| 606 </when> | 619 </when> |
| 607 <when value="simple" /> | 620 <when value="simple" /> |
| 608 <when value="simple_w_filters" /> | 621 <when value="simple_w_filters" /> |
| 609 <when value="naive" /> | 622 <when value="naive" /> |
| 610 <when value="naive_w_filters" /> | 623 <when value="naive_w_filters" /> |
| 624 </conditional> | |
| 625 <conditional name="output_options"> | |
| 626 <param name="flavor" type="select" label="Type of main output to produce" help="The tool will, by default, produce VCF output with information about sites with called variants. If you want also information (such as depth of coverage) about non-called sites, you can use the gVCF or gVCF with custom block size options. The first collapses the stats of entire blocks of consecutive non-called sites into one non-call record. The second gives you control over how many consecutive non-called sites should be combined into a non-call record."> | |
| 627 <option value="vcf">VCF (default)</option> | |
| 628 <option value="gvcf">gVCF (--gvcf)</option> | |
| 629 <option value="gvcf_custom">gVCF with custom block size</option> | |
| 630 </param> | |
| 631 <when value="vcf" /> | |
| 632 <when value="gvcf" /> | |
| 633 <when value="gvcf_custom"> | |
| 634 <param name="gvcf_block_size" type="integer" value="0" min="0" max="2147483647" label="Maximal block size for consecutive non-called sites" help="Consolidate data from any non-called site together with the N next non-called sites into one gVCF record, i.e. produce gVCF block records of maximally N+1 sites. Blocks can be shorter if terminated by the end of a chromosome or a site with a called variant. Setting this parameter to 0 produces a separate record for every non-called site, but can result in very large output." /> | |
| 635 </when> | |
| 611 </conditional> | 636 </conditional> |
| 612 </inputs> | 637 </inputs> |
| 613 <outputs> | 638 <outputs> |
| 614 <data format="vcf" name="output_vcf" label="${tool.name} on ${on_string} (variants)" /> | 639 <data format="vcf" name="output_vcf" label="${tool.name} on ${on_string} (variants)" /> |
| 615 <data format="bed" name="output_failed_alleles_bed" label="${tool.name} on ${on_string} (failed alleles)"> | 640 <data format="bed" name="output_failed_alleles_bed" label="${tool.name} on ${on_string} (failed alleles)"> |
| 618 <data format="txt" name="output_trace" label="${tool.name} on ${on_string} (trace)"> | 643 <data format="txt" name="output_trace" label="${tool.name} on ${on_string} (trace)"> |
| 619 <filter>( options_type['options_type_selector'] == 'cline' or options_type['options_type_selector'] == 'full' ) and options_type['optional_inputs']['optional_inputs_selector'] == 'set' and options_type['optional_inputs']['output_trace_option'] is True</filter> | 644 <filter>( options_type['options_type_selector'] == 'cline' or options_type['options_type_selector'] == 'full' ) and options_type['optional_inputs']['optional_inputs_selector'] == 'set' and options_type['optional_inputs']['output_trace_option'] is True</filter> |
| 620 </data> | 645 </data> |
| 621 </outputs> | 646 </outputs> |
| 622 <tests> | 647 <tests> |
| 623 <test> | 648 <test expect_num_outputs="1"> |
| 624 <param name="reference_source_selector" value="history" /> | 649 <param name="reference_source_selector" value="history" /> |
| 625 <param name="processmode" value="individual" /> | 650 <param name="processmode" value="individual" /> |
| 626 <param name="ref_file" ftype="fasta" value="freebayes-phix174.fasta"/> | 651 <param name="ref_file" ftype="fasta" value="freebayes-phix174.fasta"/> |
| 627 <param name="input_bams" ftype="bam" value="freebayes-phix174.bam"/> | 652 <param name="input_bams" ftype="bam" value="freebayes-phix174.bam"/> |
| 628 <param name="options_type_selector" value="simple"/> | 653 <param name="options_type_selector" value="simple"/> |
| 629 <output name="output_vcf" file="freebayes-phix174-test1.vcf" lines_diff="4" /> | 654 <output name="output_vcf" file="freebayes-phix174-test1.vcf" lines_diff="4" /> |
| 630 </test> | 655 </test> |
| 631 <test> | 656 <test expect_num_outputs="1"> |
| 657 <param name="reference_source_selector" value="history" /> | |
| 658 <param name="processmode" value="individual" /> | |
| 659 <param name="ref_file" ftype="fasta" value="freebayes-phix174.fasta" /> | |
| 660 <param name="input_bams" ftype="bam" value="freebayes-phix174.bam" /> | |
| 661 <param name="options_type_selector" value="simple" /> | |
| 662 <conditional name="output_options"> | |
| 663 <param name="flavor" value="gvcf" /> | |
| 664 </conditional> | |
| 665 <output name="output_vcf" file="freebayes-phix174.gvcf" lines_diff="4" /> | |
| 666 </test> | |
| 667 <test expect_num_outputs="1"> | |
| 668 <param name="reference_source_selector" value="history" /> | |
| 669 <param name="processmode" value="individual" /> | |
| 670 <param name="ref_file" ftype="fasta" value="freebayes-phix174.fasta" /> | |
| 671 <param name="input_bams" ftype="bam" value="freebayes-phix174.bam" /> | |
| 672 <param name="options_type_selector" value="simple" /> | |
| 673 <conditional name="output_options"> | |
| 674 <param name="flavor" value="gvcf_custom" /> | |
| 675 </conditional> | |
| 676 <!-- This test produces one record per reference position | |
| 677 so the test file only contains the first part of the expected output up to the second variant site --> | |
| 678 <output name="output_vcf" file="freebayes-phix174.full.sample.gvcf" compare="contains" lines_diff="2" /> | |
| 679 </test> | |
| 680 <test expect_num_outputs="1"> | |
| 632 <param name="reference_source_selector" value="history" /> | 681 <param name="reference_source_selector" value="history" /> |
| 633 <param name="processmode" value="individual" /> | 682 <param name="processmode" value="individual" /> |
| 634 <param name="ref_file" ftype="fasta" value="freebayes-phix174.fasta"/> | 683 <param name="ref_file" ftype="fasta" value="freebayes-phix174.fasta"/> |
| 635 <param name="input_bams" ftype="bam" value="freebayes-phix174.bam"/> | 684 <param name="input_bams" ftype="bam" value="freebayes-phix174.bam"/> |
| 636 <param name="options_type_selector" value="naive_w_filters"/> | 685 <param name="options_type_selector" value="naive_w_filters"/> |
| 637 <param name="coverage_options_selector" value="set" /> | 686 <param name="coverage_options_selector" value="set" /> |
| 638 <param name="min_coverage" value="14"/> | 687 <param name="min_coverage" value="14"/> |
| 639 <output name="output_vcf" file="freebayes-phix174-test2.vcf" lines_diff="4" /> | 688 <output name="output_vcf" file="freebayes-phix174-test2.vcf" lines_diff="4" /> |
| 640 </test> | 689 </test> |
| 641 <!-- Test that user-provided (variant-input option) sites are included in output --> | 690 <!-- Test that user-provided (variant-input option) sites are included in output --> |
| 642 <test> | 691 <test expect_num_outputs="1"> |
| 643 <param name="reference_source_selector" value="history" /> | 692 <param name="reference_source_selector" value="history" /> |
| 644 <param name="processmode" value="individual" /> | 693 <param name="processmode" value="individual" /> |
| 645 <param name="ref_file" ftype="fasta" value="freebayes-phix174.fasta"/> | 694 <param name="ref_file" ftype="fasta" value="freebayes-phix174.fasta"/> |
| 646 <param name="input_bams" ftype="bam" value="freebayes-phix174.bam"/> | 695 <param name="input_bams" ftype="bam" value="freebayes-phix174.bam"/> |
| 647 <param name="options_type_selector" value="full"/> | 696 <param name="options_type_selector" value="full"/> |
| 656 <assert_contents> | 705 <assert_contents> |
| 657 <has_line_matching expression="phiX174	1134	\.	A	\.	.+"/> | 706 <has_line_matching expression="phiX174	1134	\.	A	\.	.+"/> |
| 658 </assert_contents> | 707 </assert_contents> |
| 659 </output> | 708 </output> |
| 660 </test> | 709 </test> |
| 661 <test> | 710 <test expect_num_outputs="1"> |
| 662 <param name="reference_source_selector" value="history" /> | 711 <param name="reference_source_selector" value="history" /> |
| 663 <param name="processmode" value="individual" /> | 712 <param name="processmode" value="individual" /> |
| 664 <param name="ref_file" ftype="fasta" value="freebayes-phix174.fasta"/> | 713 <param name="ref_file" ftype="fasta" value="freebayes-phix174.fasta"/> |
| 665 <param name="input_bams" ftype="bam" value="freebayes-phix174.bam"/> | 714 <param name="input_bams" ftype="bam" value="freebayes-phix174.bam"/> |
| 666 <param name="options_type_selector" value="full"/> | 715 <param name="options_type_selector" value="full"/> |
| 667 <param name="population_model_selector" value="set"/> | 716 <param name="population_model_selector" value="set"/> |
| 668 <param name="P" value="1"/> | 717 <param name="P" value="1"/> |
| 669 <param name="trim_complex_tail" value="--trim-complex-tail"/> | 718 <param name="trim_complex_tail" value="--trim-complex-tail"/> |
| 670 <output name="output_vcf" file="freebayes-phix174-test4.vcf" lines_diff="4" /> | 719 <output name="output_vcf" file="freebayes-phix174-test4.vcf" lines_diff="4" /> |
| 671 </test> | 720 </test> |
| 672 <test> | 721 <test expect_num_outputs="1"> |
| 673 <param name="reference_source_selector" value="history" /> | 722 <param name="reference_source_selector" value="history" /> |
| 674 <param name="processmode" value="individual" /> | 723 <param name="processmode" value="individual" /> |
| 675 <param name="ref_file" ftype="fasta" value="freebayes-hxb2.fasta"/> | 724 <param name="ref_file" ftype="fasta" value="freebayes-hxb2.fasta"/> |
| 676 <param name="input_bams" ftype="bam" value="freebayes-hxb2.bam"/> | 725 <param name="input_bams" ftype="bam" value="freebayes-hxb2.bam"/> |
| 677 <param name="options_type_selector" value="simple"/> | 726 <param name="options_type_selector" value="simple"/> |
| 678 <param name="coverage_options_selector" value="set" /> | 727 <param name="coverage_options_selector" value="set" /> |
| 679 <param name="min_coverage" value="250" /> | 728 <param name="min_coverage" value="250" /> |
| 680 <output name="output_vcf" file="freebayes-hxb2-test5.vcf" lines_diff="4" /> | 729 <output name="output_vcf" file="freebayes-hxb2-test5.vcf" lines_diff="4" /> |
| 681 </test> | 730 </test> |
| 682 <test> | 731 <test expect_num_outputs="1"> |
| 683 <param name="reference_source_selector" value="history" /> | 732 <param name="reference_source_selector" value="history" /> |
| 684 <param name="processmode" value="individual" /> | 733 <param name="processmode" value="individual" /> |
| 685 <param name="ref_file" ftype="fasta" value="freebayes-hxb2.fasta"/> | 734 <param name="ref_file" ftype="fasta" value="freebayes-hxb2.fasta"/> |
| 686 <param name="input_bams" ftype="bam" value="freebayes-hxb2.bam"/> | 735 <param name="input_bams" ftype="bam" value="freebayes-hxb2.bam"/> |
| 687 <param name="options_type_selector" value="simple"/> | 736 <param name="options_type_selector" value="simple"/> |
| 688 <param name="coverage_options_selector" value="set" /> | 737 <param name="coverage_options_selector" value="set" /> |
| 689 <param name="limit_coverage" value="400" /> | 738 <param name="limit_coverage" value="400" /> |
| 690 <output name="output_vcf" file="freebayes-hxb2-test6.vcf" lines_diff="4" /> | 739 <output name="output_vcf" file="freebayes-hxb2-test6.vcf" lines_diff="4" /> |
| 691 </test> | 740 </test> |
| 692 <test> | 741 <test expect_num_outputs="1"> |
| 693 <param name="reference_source_selector" value="history" /> | 742 <param name="reference_source_selector" value="history" /> |
| 694 <param name="processmode" value="individual" /> | 743 <param name="processmode" value="individual" /> |
| 695 <param name="ref_file" ftype="fasta" value="freebayes-hxb2.fasta"/> | 744 <param name="ref_file" ftype="fasta" value="freebayes-hxb2.fasta"/> |
| 696 <param name="input_bams" ftype="bam" value="freebayes-hxb2.bam"/> | 745 <param name="input_bams" ftype="bam" value="freebayes-hxb2.bam"/> |
| 697 <param name="options_type_selector" value="simple"/> | 746 <param name="options_type_selector" value="simple"/> |
| 698 <param name="coverage_options_selector" value="set" /> | 747 <param name="coverage_options_selector" value="set" /> |
| 699 <param name="skip_coverage" value="100" /> | 748 <param name="skip_coverage" value="100" /> |
| 700 <output name="output_vcf" file="freebayes-hxb2-test7.vcf" lines_diff="4" /> | 749 <output name="output_vcf" file="freebayes-hxb2-test7.vcf" lines_diff="4" /> |
| 701 </test> | 750 </test> |
| 702 <test> <!-- Test with CRAM --> | 751 <test expect_num_outputs="1"> <!-- Test with CRAM --> |
| 703 <param name="reference_source_selector" value="history" /> | 752 <param name="reference_source_selector" value="history" /> |
| 704 <param name="processmode" value="individual" /> | 753 <param name="processmode" value="individual" /> |
| 705 <param name="ref_file" ftype="fasta" value="freebayes-phix174.fasta"/> | 754 <param name="ref_file" ftype="fasta" value="freebayes-phix174.fasta"/> |
| 706 <param name="input_bams" ftype="cram" value="freebayes-phix174.cram"/> | 755 <param name="input_bams" ftype="cram" value="freebayes-phix174.cram"/> |
| 707 <param name="options_type_selector" value="simple"/> | 756 <param name="options_type_selector" value="simple"/> |
