# HG changeset patch # User devteam # Date 1473960627 14400 # Node ID c7314b92516158dc1609bfc66eeb09acd532ae09 # Parent d3f4f86a18d4c9281af981fc16508bb4da77c41d planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfvcfintersect commit 93df3895fbf2fa44ff279303093fb89b79081687 diff -r d3f4f86a18d4 -r c7314b925161 macros.xml --- a/macros.xml Wed Nov 11 13:01:47 2015 -0500 +++ b/macros.xml Thu Sep 15 13:30:27 2016 -0400 @@ -1,7 +1,7 @@ - vcflib + vcflib @@ -10,6 +10,7 @@ + 1.0.0_rc1 diff -r d3f4f86a18d4 -r c7314b925161 vcfvcfintersect.xml --- a/vcfvcfintersect.xml Wed Nov 11 13:01:47 2015 -0500 +++ b/vcfvcfintersect.xml Thu Sep 15 13:30:27 2016 -0400 @@ -1,124 +1,127 @@ - - Intersect two VCF datasets - - macros.xml - - - - - - #set $reference_fasta_filename = "localref.fa" - #if str( $reference_source.reference_source_selector ) == "history": - ln -s "${reference_source.ref_file}" "${reference_fasta_filename}" && - #else: - #set $reference_fasta_filename = str( $reference_source.ref_file.fields.path ) - #end if - - #if $adv_options.adv_options_selector == True: - - vcfintersect "${adv_options.adv_options_input}" ${loci} ${invert} -r "${reference_fasta_filename}" -w "${window_size}" ${isect_union} "${vcf_input1}" "${vcf_input2}" > "${out_file1}" - - #else: - - vcfintersect ${loci} ${invert} -r "${reference_fasta_filename}" -w "${window_size}" ${isect_union} "${vcf_input1}" "${vcf_input2}" > "${out_file1}" - - #end if - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Computes intersections and unions for two VCF datasets. Unifies equivalent alleles within window-size bp. - -The options are:: - - -v, --invert invert the selection, printing only records which would - -i, --intersect-vcf FILE use this VCF for set intersection generation - -u, --union-vcf FILE use this VCF for set union generation - -w, --window-size N compare records up to this many bp away (default 30) - -l, --loci output whole loci when one alternate allele matches - -m, --ref-match intersect on the basis of record REF string - -t, --tag TAG attach TAG to each record's info field if it would intersect - -V, --tag-value VAL use this value to indicate that the allele is passing - '.' will be used otherwise. default: 'PASS' - -M, --merge-from FROM-TAG - -T, --merge-to TO-TAG merge from FROM-TAG used in the -i file, setting TO-TAG - in the current file. - ----- - -VCFVCFintersect is based on vcfintersect utility of VCFlib toolkit developed by Erik Garrison (https://github.com/ekg/vcflib). - - - + + Intersect two VCF datasets + + macros.xml + + + + + #set $reference_fasta_filename = "localref.fa" + #if str( $reference_source.reference_source_selector ) == "history": + ln -s "${reference_source.ref_file}" "${reference_fasta_filename}" && + #else: + #set $reference_fasta_filename = str( $reference_source.ref_file.fields.path ) + #end if + + #if $adv_options.adv_options_selector == "use_adv_controls": + vcfintersect "${adv_options.adv_options_input}" ${loci} ${invert} -r "${reference_fasta_filename}" -w "${window_size}" ${isect_union} "${vcf_input1}" "${vcf_input2}" > "${out_file1}" + #else: + vcfintersect ${loci} ${invert} -r "${reference_fasta_filename}" -w "${window_size}" ${isect_union} "${vcf_input1}" "${vcf_input2}" > "${out_file1}" + #end if + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Computes intersections and unions for two VCF datasets. Unifies equivalent alleles within window-size bp. + +The options are:: + + -v, --invert invert the selection, printing only records which would + -i, --intersect-vcf FILE use this VCF for set intersection generation + -u, --union-vcf FILE use this VCF for set union generation + -w, --window-size N compare records up to this many bp away (default 30) + -l, --loci output whole loci when one alternate allele matches + -m, --ref-match intersect on the basis of record REF string + -t, --tag TAG attach TAG to each record's info field if it would intersect + -V, --tag-value VAL use this value to indicate that the allele is passing + '.' will be used otherwise. default: 'PASS' + -M, --merge-from FROM-TAG + -T, --merge-to TO-TAG merge from FROM-TAG used in the -i file, setting TO-TAG + in the current file. + +---- + +VCFVCFintersect is based on vcfintersect utility of VCFlib toolkit developed by Erik Garrison (https://github.com/ekg/vcflib). + + +