# HG changeset patch # User wrtz # Date 1452811710 18000 # Node ID 48695211cd658bebc14135b0606325e0cf994488 # Parent 792289298f4bba588f946556f63f735966013c22 Deleted selected files diff -r 792289298f4b -r 48695211cd65 bcftools_annotate.xml --- a/bcftools_annotate.xml Thu Jan 14 17:48:01 2016 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,132 +0,0 @@ - - Add or remove annotations - - #if str( $input_file_index ) != "None": - ln -s -f $input input_file.${input.ext} && - ln -s -f $input_file_index input_file.${input.ext}.tbi && - #end if - #if str( $annotations_cond.set_annotations ) == "True": - ln -s -f $annotations_cond.annotations annot_file.${annotations_cond.annotations.ext} && - ln -s -f $annotations_cond.annotations_index annot_file.${annotations_cond.annotations.ext}.tbi && - #end if - /Volumes/drive2/galaxy/dist/tools/bcftools/bcftools annotate - --output "${output_file}" - --output-type "${output_type}" - #if str( $regions_file ) != "None": - --regions-file "${regions_file}" - #end if - #if str( $annotations_cond.set_annotations ) == "True": - --annotations annot_file.${annotations_cond.annotations.ext} - #if str( $annotations_cond.columns ) != "": - --columns "${annotations_cond.columns}" - #end if - #if str( $annotations_cond.mark_sites_cond.set_mark_sites ) == "True": - --mark-sites - #if str( $annotations_cond.mark_sites_cond.present_or_absent ) == "present": - "+${annotations_cond.mark_sites_cond.new_tag}" - #else - "-${annotations_cond.mark_sites_cond.new_tag}" - #end if - #end if - #end if - #if str( $regions ) != "": - --regions "${regions}" - #end if - #if str( $samples_file ) != "None": - --samples-file "${samples_file}" - #end if - #if str( $samples ) != "": - --samples "${samples}" - #end if - #if str( $header_lines ) != "None": - --header-lines "${header_lines}" - #end if - #if str( $expr_cond.set_expr ) == "True": - #if str( $expr_cond.include_or_exclude ) == "include": - --include "${expr_cond.expr}" - #else - --exclude "${expr_cond.expr}" - #end if - #end if - #if str( $rename_chrs ) != "None": - --rename-chrs "${rename_chrs}" - #end if - #if str( $remove ) != "": - --remove "${remove}" - #end if - - #if str( $input_file_index ) != "None": - input_file.${input.ext} - #else - $input - #end if - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -**About this tool** - -**BCFtools annotate**: Add or remove annotations. - -Please see https://samtools.github.io/bcftools/bcftools.html for more info on options. - - \ No newline at end of file diff -r 792289298f4b -r 48695211cd65 bcftools_filter.xml --- a/bcftools_filter.xml Thu Jan 14 17:48:01 2016 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,134 +0,0 @@ - - Apply fixed-threshold filters - - #if str( $input_file_index ) != "None": - ln -s -f $input input_file.${input.ext} && - ln -s -f $input_file_index input_file.${input.ext}.tbi && - #end if - - /Volumes/drive2/galaxy/dist/tools/bcftools/bcftools filter - --output "${output_file}" - --output-type "${output_type}" - #if str( $regions_file ) != "None": - --regions-file "${regions_file}" - #end if - #if str( $regions ) != "": - --regions "${regions}" - #end if - #if str( $targets_file ) != "None": - --targets-file "${targets_file}" - #end if - #if str( $targets ) != "": - --targets "${targets}" - #end if - #if str( $expr_cond.set_expr ) == "True": - #if str( $expr_cond.include_or_exclude ) == "include": - --include "${expr_cond.expr}" - #else - --exclude "${expr_cond.expr}" - #end if - #end if - #if str( $mode_plus ) == "true": - #if str( $mode_x ) == "true": - --mode +x - #else - --mode + - #end if - #elif str( $mode_x ) == "true" - --mode x - #end if - #if str( $soft_filter_cond.set_soft_filter ) == "True": - #if str( $soft_filter_cond.string_or_plus_cond.string_or_plus ) == "use_plus": - --soft-filter + - #else - --soft-filter "${soft_filter_cond.string_or_plus_cond.str}" - #end if - #end if - #if str( $set_gts_cond.set_gts ) == "True": - #if str( $set_gts_cond.gts ) == "period": - --set-GTs . - #else - --set-GTs 0 - #end if - #end if - - #if str( $input_file_index ) != "None": - input_file.${input.ext} - #else - $input - #end if - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -**About this tool** - -**BCFtools filter**: Apply fixed-threshold filters. - -Please see https://samtools.github.io/bcftools/bcftools.html for more info on options. - - \ No newline at end of file diff -r 792289298f4b -r 48695211cd65 bcftools_merge.xml --- a/bcftools_merge.xml Thu Jan 14 17:48:01 2016 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,75 +0,0 @@ - - Merge multiple VCF/BCF files - - #for $i, $inp in enumerate( $inputs ): - #if str( $inp.input_file_index ) != "None": - ln -s -f "${inp.input}" "input_file_${i}.${inp.input.ext}" && - ln -s -f "${inp.input_file_index}" "input_file_${i}.${inp.input.ext}.tbi" && - #end if - #end for - /Volumes/drive2/galaxy/dist/tools/bcftools/bcftools merge - --output "${output_file}" - --output-type "${output_type}" - #if str( $regions_file ) != "None": - --regions-file "${regions_file}" - #end if - #if str( $regions ) != "": - --regions "${regions}" - #end if - ${force_samples} - #if str( $info_rules ) != "": - --info-rules "${info_rules}" - #end if - #if str( $merge ) != "None": - --merge "${merge}" - #end if - - #for $i, $inp in enumerate( $inputs ): - #if str( $inp.input_file_index ) != "None": - "input_file_${i}.${inp.input.ext}" - #else - "${inp.input}" - #end if - #end for - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -**About this tool** - -**BCFtools merge**: Merge multiple VCF/BCF files from non-overlapping sample sets to create one multi-sample file. For example, when merging file A.vcf.gz containing samples S1, S2 and S3 and file B.vcf.gz containing samples S3 and S4, the output file will contain four samples named S1, S2, S3, 2:S3 and S4. - -Please see https://samtools.github.io/bcftools/bcftools.html for more info on options. - - \ No newline at end of file diff -r 792289298f4b -r 48695211cd65 bcftools_norm.xml --- a/bcftools_norm.xml Thu Jan 14 17:48:01 2016 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,153 +0,0 @@ - - Left-align and normalize indels, check if REF alleles match reference, change multiallelic format - - #if str( $input_file_index ) != "None": - ln -s -f $input input_file.${input.ext} && - ln -s -f $input_file_index input_file.${input.ext}.tbi && - #end if - #if str( $fasta_ref_cond.set_fasta_ref ) == "True": - #if str( $fasta_ref_cond.fasta_ref_index ) != "None": - ln -s -f $fasta_ref_cond.fasta_ref fasta_ref_file.${fasta_ref.ext}.fa && - ln -s -f $fasta_ref_cond.fasta_ref_index fasta_ref_file.${fasta_ref.ext}.fa.fai && - #end if - #end if - /Volumes/drive2/galaxy/dist/tools/bcftools/bcftools norm - --output "${output_file}" - --output-type "${output_type}" - #if str( $regions_file ) != "None": - --regions-file "${regions_file}" - #end if - #if str( $regions ) != "": - --regions "${regions}" - #end if - #if str( $targets_file ) != "None": - --targets-file "${targets_file}" - #end if - #if str( $targets ) != "": - --targets "${targets}" - #end if - #if str( $check_ref_cond.set_check_ref ) == "True": - #if str( $check_ref_cond.warn ) == "true": - #if str( $check_ref_cond.check_ref ) == "None": - --check-ref "w" - #else - --check-ref "w${check_ref_cond.check_ref}" - #end if - #else - --check-ref "${check_ref_cond.check_ref}" - #end if - #end if - #if str( $fasta_ref_cond.set_fasta_ref ) == "True": - #if str( $fasta_ref_cond.fasta_ref_index ) != "None": - --fasta-ref "fasta_ref_file.${fasta_ref.ext}.fa" - #else - --fasta-ref "${fasta_ref}" - #end if - #end if - #if str( $multiallelics_cond.set_multiallelics ) == "True": - #if str( $multiallelics_cond.minus_or_plus ) == "minus": - #if str ( $multiallelics_cond.multiallelics ) != "None": - --multiallelics "-${multiallelics_cond.multiallelics}" - #else - --multiallelics "-" - #end if - #else - #if str ( $multiallelics_cond.multiallelics ) != "None": - --multiallelics "+${multiallelics_cond.multiallelics}" - #else - --multiallelics "+" - #end if - #end if - #end if - #if str( $rm_dup ) != "None": - --rm-dup "${rm_dup}" - #end if - ${do_not_normalize} - ${strict_filter} - #if str( $site_win ) != "": - --site-win "${site_win}" - #end if - #if str( $input_file_index ) != "None": - input_file.${input.ext} - #else - $input - #end if - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -**About this tool** - -**BCFtools norm**: Left-align and normalize indels, check if REF alleles match the reference, split multiallelic sites into multiple rows, recover multiallelics from multiple rows. Left-alignment and normalization will only be applied if the --fasta-ref option is supplied. - -Please see https://samtools.github.io/bcftools/bcftools.html for more info on options. - - - diff -r 792289298f4b -r 48695211cd65 bcftools_query.xml --- a/bcftools_query.xml Thu Jan 14 17:48:01 2016 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,107 +0,0 @@ - - Output VCF/BCF fields in user-defined format - - #if str( $input_file_index ) != "None": - ln -s -f $input input_file.${input.ext} && - ln -s -f $input_file_index input_file.${input.ext}.tbi && - #end if - - /Volumes/drive2/galaxy/dist/tools/bcftools/bcftools query - --output "${output_file}" - --format "${format}" - #if str( $regions_file ) != "None": - --regions-file "${regions_file}" - #end if - #if str( $regions ) != "": - --regions "${regions}" - #end if - #if str( $targets_file ) != "None": - --targets-file "${targets_file}" - #end if - #if str( $targets ) != "": - --targets "${targets}" - #end if - #if str( $samples_file ) != "None": - --samples-file "${samples_file}" - #end if - #if str( $samples ) != "": - --samples "${samples}" - #end if - #if str( $expr_cond.set_expr ) == "True": - #if str( $expr_cond.include_or_exclude ) == "include": - --include "${expr_cond.expr}" - #else - --exclude "${expr_cond.expr}" - #end if - #end if - #if str( $collapse ) != "None": - --collapse "${collapse}" - #end if - ${print_header} - ${list_samples} - ${allow_undef_tags} - - #if str( $input_file_index ) != "None": - input_file.${input.ext} - #else - $input - #end if - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -**About this tool** - -**BCFtools query**: Extract fields from VCF or BCF files and output them in user-defined format. - -Please see https://samtools.github.io/bcftools/bcftools.html for more info on options. - - \ No newline at end of file diff -r 792289298f4b -r 48695211cd65 bcftools_reheader.xml --- a/bcftools_reheader.xml Thu Jan 14 17:48:01 2016 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,39 +0,0 @@ - - Modify header of VCF/BCF files, change sample names - - #if str( $input_file_index ) != "None": - ln -s -f $input input_file.${input.ext} && - ln -s -f $input_file_index input_file.${input.ext}.tbi && - #end if - - /Volumes/drive2/galaxy/dist/tools/bcftools/bcftools reheader - --output "${output_file}" - #if str( $header ) != "None": - --header "${header}" - #end if - #if str( $samples ) != "None": - --samples "${samples}" - #end if - #if str( $input_file_index ) != "None": - input_file.${input.ext} - #else - $input - #end if - - - - - - - - - - - -**About this tool** - -**BCFtools reheader**: Modify header of VCF/BCF files, change sample names. - -Please see https://samtools.github.io/bcftools/bcftools.html for more info on options. - - diff -r 792289298f4b -r 48695211cd65 bcftools_view.xml --- a/bcftools_view.xml Thu Jan 14 17:48:01 2016 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,224 +0,0 @@ - - Convert, view, subset, and filter VCF/BCF files - - #if str( $input_file_index ) != "None": - ln -s -f $input input_file.${input.ext} && - ln -s -f $input_file_index input_file.${input.ext}.tbi && - #end if - /Volumes/drive2/galaxy/dist/tools/bcftools/bcftools view - ${drop_genotypes} - ${header_only} - ${no_header} - --output-file "${output_file}" - --output-type "${output_type}" - #if str( $regions ) != "": - --regions "${regions}" - #end if - #if str( $targets ) != "": - --targets "${targets}" - #end if - #if str( $samples ) != "": - --samples "${samples}" - #end if - #if str( $regions_file ) != "None": - --regions-file "${regions_file}" - #end if - #if str( $targets_file ) != "None": - --targets-file "${targets_file}" - #end if - #if str( $samples_file ) != "None": - --samples-file "${samples_file}" - #end if - #if str( $apply_filters ) != "": - --apply-filters "${apply_filters}" - #end if - #if str( $min_ac_cond.set_min_ac ) == "True": - --min-ac $min_ac_cond.min_ac:$min_ac_cond.min_ac_type - #end if - #if str( $max_ac_cond.set_max_ac ) == "True": - --max-ac $max_ac_cond.max_ac:$max_ac_cond.max_ac_type - #end if - #if str( $min_af_cond.set_min_af ) == "True": - --min-af $min_af_cond.min_af:$min_af_cond.min_af_type - #end if - #if str( $max_af_cond.set_max_af ) == "True": - --max-af $max_af_cond.max_af:$max_af_cond.max_af_type - #end if - #if str( $expr_cond.set_expr ) == "True": - #if str( $expr_cond.include_or_exclude ) == "include": - --include "${expr_cond.expr}" - #else - --exclude "${expr_cond.expr}" - #end if - #end if - #if str( $genotype_cond.set_genotype ) == "True": - #if str( $genotype_cond.include_or_exclude ) == "include": - --genotype $genotype_cond.genotype - #else - --genotype ^$genotype_cond.genotype - #end if - #end if - #if str( $var_type_cond.set_var_type ) == "True": - #if str( $var_type_cond.include_or_exclude ) == "include": - --types $var_type_cond.var_types - #else - --exclude-types $var_type_cond.var_types - #end if - #end if - ${uncalled} - ${exclude_uncalled} - ${private} - ${exclude_private} - - #if str( $input_file_index ) != "None": - input_file.${input.ext} - #else - $input - #end if - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -**About this tool** - -**BCFtools view**: View, subset and filter VCF or BCF files by position and filtering expression. Convert between VCF and BCF. Former bcftools subset. - -Please see https://samtools.github.io/bcftools/bcftools.html for more info on options. - - \ No newline at end of file