# HG changeset patch # User iuc # Date 1648839771 0 # Node ID 07e8b80f278c356cddee2622b1075f36a2da647e # Parent 841fb4dc3ab365b126cda259a94a5686a876cdf9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit db0b91a784ca0c216345bc488d7d488babf1b53f" diff -r 841fb4dc3ab3 -r 07e8b80f278c bedToBam.xml --- a/bedToBam.xml Wed Jan 12 19:22:14 2022 +0000 +++ b/bedToBam.xml Fri Apr 01 19:02:51 2022 +0000 @@ -1,4 +1,4 @@ - + converter macros.xml @@ -10,7 +10,7 @@ bedtools bedtobam $bed12 -mapq $mapq --g @GENOME_FILE@ +@GENOME_FILE@ -i '$input' > '$output' ]]> diff -r 841fb4dc3ab3 -r 07e8b80f278c bedpeToBam.xml --- a/bedpeToBam.xml Wed Jan 12 19:22:14 2022 +0000 +++ b/bedpeToBam.xml Fri Apr 01 19:02:51 2022 +0000 @@ -1,4 +1,4 @@ - + converter macros.xml @@ -13,7 +13,7 @@ bedtools bedpetobam -mapq $mapq -i '$input' --g @GENOME_FILE@ +@GENOME_FILE@ > '$output' ]]> diff -r 841fb4dc3ab3 -r 07e8b80f278c closestBed.xml --- a/closestBed.xml Wed Jan 12 19:22:14 2022 +0000 +++ b/closestBed.xml Fri Apr 01 19:02:51 2022 +0000 @@ -149,6 +149,13 @@ + + + + + + + + Extract intervals not represented by an interval file macros.xml @@ -9,7 +9,7 @@ '$output' ]]> diff -r 841fb4dc3ab3 -r 07e8b80f278c fisherBed.xml --- a/fisherBed.xml Wed Jan 12 19:22:14 2022 +0000 +++ b/fisherBed.xml Fri Apr 01 19:02:51 2022 +0000 @@ -1,4 +1,4 @@ - + calculate Fisher statistic between two feature files macros.xml @@ -13,7 +13,7 @@ -a '$inputA' -b '$inputB' @OVERLAP@ --g @GENOME_FILE@ +@GENOME_FILE@ $reciprocal $m > '$output' diff -r 841fb4dc3ab3 -r 07e8b80f278c flankBed.xml --- a/flankBed.xml Wed Jan 12 19:22:14 2022 +0000 +++ b/flankBed.xml Fri Apr 01 19:02:51 2022 +0000 @@ -1,4 +1,4 @@ - + create new intervals from the flanks of existing intervals macros.xml @@ -10,7 +10,7 @@ flankBed $pct $strand --g @GENOME_FILE@ +@GENOME_FILE@ -i '$input' #if $addition.addition_select == 'b': diff -r 841fb4dc3ab3 -r 07e8b80f278c getfastaBed.xml --- a/getfastaBed.xml Wed Jan 12 19:22:14 2022 +0000 +++ b/getfastaBed.xml Fri Apr 01 19:02:51 2022 +0000 @@ -91,6 +91,15 @@ + + + + + + + + + + find overlapping intervals in various ways macros.xml @@ -51,6 +51,7 @@ $header $modes @SORTED@ +@GENOME_FILE@ $bed $count > '${output}' @@ -117,6 +118,7 @@ label="When using BAM input, write output as BED instead of BAM." /> + @@ -151,7 +153,7 @@ - + @@ -163,7 +165,7 @@ - + @@ -173,7 +175,7 @@ - + @@ -187,7 +189,7 @@ - + diff -r 841fb4dc3ab3 -r 07e8b80f278c macros.xml --- a/macros.xml Wed Jan 12 19:22:14 2022 +0000 +++ b/macros.xml Fri Apr 01 19:02:51 2022 +0000 @@ -67,48 +67,29 @@ label="Treat split/spliced BAM or BED12 entries as distinct BED intervals when computing coverage." help="If set, the coverage will be calculated based the spliced intervals only. For BAM files, this inspects the CIGAR N operation to infer the blocks for computing coverage. For BED12 files, this inspects the BlockCount, BlockStarts, and BlockEnds fields (i.e., columns 10,11,12). If this option is not set, coverage will be calculated based on the interval's START/END coordinates, and would include introns in the case of RNAseq data." /> - + - + - + - + - - - - - - - - - - - - -#if $genome_file_opts.genome_file_opts_selector == "loc": - '$genome_file_opts.genome.fields.len_path' -#elif $genome_file_opts.genome_file_opts_selector == "hist": - '$genome_file_opts.genome' -#end if - - -#if $genome.genome_choose == "-g": - #if $genome.genome_file_opts.genome_file_opts_selector == "loc": - -g '$genome.genome_file_opts.genome.fields.len_path' - #elif $genome.genome_file_opts.genome_file_opts_selector == "hist": - -g '$genome.genome_file_opts.genome' +#if $genome_file_opts.genome + -g + #if $genome_file_opts.genome_file_opts_selector == "loc": + '$genome_file_opts.genome.fields.len_path' + #elif $genome_file_opts.genome_file_opts_selector == "hist": + '$genome_file_opts.genome' #end if #end if diff -r 841fb4dc3ab3 -r 07e8b80f278c mapBed.xml --- a/mapBed.xml Wed Jan 12 19:22:14 2022 +0000 +++ b/mapBed.xml Fri Apr 01 19:02:51 2022 +0000 @@ -1,4 +1,4 @@ - + apply a function to a column for each overlapping interval macros.xml @@ -19,7 +19,7 @@ $reciprocal $split $header -@GENOME_FILE_MAPBED@ +@GENOME_FILE@ > '${output}' ]]> @@ -36,7 +36,7 @@ - + @@ -88,9 +88,24 @@ - - - + + + + + + + + + + + + + + + + + + diff -r 841fb4dc3ab3 -r 07e8b80f278c randomBed.xml --- a/randomBed.xml Wed Jan 12 19:22:14 2022 +0000 +++ b/randomBed.xml Fri Apr 01 19:02:51 2022 +0000 @@ -1,4 +1,4 @@ - + generate random intervals in a genome macros.xml @@ -8,7 +8,7 @@ + randomly redistrubute intervals in a genome macros.xml @@ -8,7 +8,7 @@ + adjust the size of intervals macros.xml @@ -10,7 +10,7 @@ bedtools slop $pct $strand --g @GENOME_FILE@ +@GENOME_FILE@ -i '$inputA' #if $addition.addition_select == 'b': -b $addition.b diff -r 841fb4dc3ab3 -r 07e8b80f278c sortBed.xml --- a/sortBed.xml Wed Jan 12 19:22:14 2022 +0000 +++ b/sortBed.xml Fri Apr 01 19:02:51 2022 +0000 @@ -1,4 +1,4 @@ - + order the intervals macros.xml @@ -10,7 +10,7 @@ sortBed -i '$input' $option -@GENOME_FILE_MAPBED@ +@GENOME_FILE@ > '$output' ]]> @@ -25,7 +25,7 @@ - + @@ -44,9 +44,10 @@ - - - + + + + diff -r 841fb4dc3ab3 -r 07e8b80f278c test-data/all_gff.loc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/all_gff.loc Fri Apr 01 19:02:51 2022 +0000 @@ -0,0 +1,15 @@ +#This file lists the locations and dbkeys of all the GFF files +#This file has the format (white space characters are +#TAB characters): +# +# +# +#So, all_gff.loc could look something like this: +# +#apiMel3 apiMel3 Honeybee (Apis mellifera): apiMel3 /path/to/annotation/apiMel3/apiMel3.gff +#hg19canon hg19 Human (Homo sapiens): hg19 Canonical /path/to/annotation/hg19/hg19canon.gff +#hg19full hg19 Human (Homo sapiens): hg19 Representative transcripts /path/to/annotation/hg19/hg19_representative_tx.gff +# +#Your all_gff.loc file should contain an entry for each different annotation. +#So there can be multiple gff files for each build, such as with hg19 above. +testid testdbkey testdisplay ${__HERE__}/a.bed diff -r 841fb4dc3ab3 -r 07e8b80f278c test-data/dbkeys.loc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/dbkeys.loc Fri Apr 01 19:02:51 2022 +0000 @@ -0,0 +1,14 @@ +#This file lists the locations and dbkeys of all the genome files +#See here for details: http://bedtools.readthedocs.io/en/latest/content/general-usage.html#genome-file-format +#You can add elements to this data table using the data_manager_fetch_genome_dbkeys_all_fasta data manager. +#Alternatively, index files created using samtools faidx (http://www.htslib.org/doc/faidx.html) contain 3 extra columns, but work fine. +#This file has the format (white space characters are TAB characters): +# +# +# +#So, dbkeys.loc could look something like this: +# +#apiMel3 Honeybee (Apis mellifera): apiMel3 /path/to/genome/apiMel3/apiMel3.len +#hg19 Human (Homo sapiens): hg19 Canonical /path/to/genome/hg19/hg19canon.len +# +mm9 Mus Musculus ${__HERE__}/mm9.len \ No newline at end of file diff -r 841fb4dc3ab3 -r 07e8b80f278c test-data/fasta_indexes.loc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/fasta_indexes.loc Fri Apr 01 19:02:51 2022 +0000 @@ -0,0 +1,30 @@ +#This is a sample file distributed with Galaxy that enables tools +#to use a directory of Samtools indexed sequences data files. You will need +#to create these data files and then create a fasta_indexes.loc file +#similar to this one (store it in this directory) that points to +#the directories in which those files are stored. The fasta_indexes.loc +#file has this format (white space characters are TAB characters): +# +# +# +#So, for example, if you had hg19 Canonical indexed stored in +# +# /depot/data2/galaxy/hg19/sam/, +# +#then the fasta_indexes.loc entry would look like this: +# +#hg19canon hg19 Human (Homo sapiens): hg19 Canonical /depot/data2/galaxy/hg19/sam/hg19canon.fa +# +#and your /depot/data2/galaxy/hg19/sam/ directory +#would contain hg19canon.fa and hg19canon.fa.fai files. +# +#Your fasta_indexes.loc file should include an entry per line for +#each index set you have stored. The file in the path does actually +#exist, but it should never be directly used. Instead, the name serves +#as a prefix for the index file. For example: +# +#hg18canon hg18 Human (Homo sapiens): hg18 Canonical /depot/data2/galaxy/hg18/sam/hg18canon.fa +#hg18full hg18 Human (Homo sapiens): hg18 Full /depot/data2/galaxy/hg18/sam/hg18full.fa +#hg19canon hg19 Human (Homo sapiens): hg19 Canonical /depot/data2/galaxy/hg19/sam/hg19canon.fa +#hg19full hg19 Human (Homo sapiens): hg19 Full /depot/data2/galaxy/hg19/sam/hg19full.fa +testid testdbkey testdisplay ${__HERE__}/nucBed1.fasta \ No newline at end of file diff -r 841fb4dc3ab3 -r 07e8b80f278c test-data/nucBed1.fasta.fai --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/nucBed1.fasta.fai Fri Apr 01 19:02:51 2022 +0000 @@ -0,0 +1,1 @@ +chr1 359 18 80 81 diff -r 841fb4dc3ab3 -r 07e8b80f278c test-data/sortBed_result2.bed --- a/test-data/sortBed_result2.bed Wed Jan 12 19:22:14 2022 +0000 +++ b/test-data/sortBed_result2.bed Fri Apr 01 19:02:51 2022 +0000 @@ -1,3 +1,3 @@ chr1 800 1000 +chr2 1 10 chr10 80 180 -chr2 1 10 diff -r 841fb4dc3ab3 -r 07e8b80f278c tool-data/all_fasta.loc.sample --- a/tool-data/all_fasta.loc.sample Wed Jan 12 19:22:14 2022 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -#This file lists the locations and dbkeys of all the fasta files -#under the "genome" directory (a directory that contains a directory -#for each build). The script extract_fasta.py will generate the file -#all_fasta.loc. This file has the format (white space characters are -#TAB characters): -# -# -# -#So, all_fasta.loc could look something like this: -# -#apiMel3 apiMel3 Honeybee (Apis mellifera): apiMel3 /path/to/genome/apiMel3/apiMel3.fa -#hg19canon hg19 Human (Homo sapiens): hg19 Canonical /path/to/genome/hg19/hg19canon.fa -#hg19full hg19 Human (Homo sapiens): hg19 Full /path/to/genome/hg19/hg19full.fa -# -#Your all_fasta.loc file should contain an entry for each individual -#fasta file. So there will be multiple fasta files for each build, -#such as with hg19 above. -# diff -r 841fb4dc3ab3 -r 07e8b80f278c tool_data_table_conf.xml.sample --- a/tool_data_table_conf.xml.sample Wed Jan 12 19:22:14 2022 +0000 +++ b/tool_data_table_conf.xml.sample Fri Apr 01 19:02:51 2022 +0000 @@ -1,9 +1,4 @@ - - - value, dbkey, name, path - -
value, dbkey, name, path diff -r 841fb4dc3ab3 -r 07e8b80f278c tool_data_table_conf.xml.test --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_data_table_conf.xml.test Fri Apr 01 19:02:51 2022 +0000 @@ -0,0 +1,17 @@ + + +
+ value, dbkey, name, path + +
+ + + value, dbkey, name, path + +
+ + + value, name, len_path + +
+