# HG changeset patch # User iuc # Date 1494343047 14400 # Node ID a4a10c7924d117b81332ba191cf7ac65b99ba7d3 # Parent 2b474ebbfc7d377c87ce58af6959d691b2dc9b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_slice_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40 diff -r 2b474ebbfc7d -r a4a10c7924d1 macros.xml --- a/macros.xml Tue Apr 21 17:37:49 2015 -0400 +++ b/macros.xml Tue May 09 11:17:27 2017 -0400 @@ -1,16 +1,17 @@ - samtools + samtools + 1.3.1 @misc{SAM_def, title={Definition of SAM/BAM format}, - url = {https://samtools.github.io/hts-specs/SAMv1.pdf},} + url = {https://samtools.github.io/hts-specs/},} 10.1093/bioinformatics/btp352 10.1093/bioinformatics/btr076 @@ -41,7 +42,7 @@ - samtools --version | head -n 1 | awk '{ print $2 }' + &1 | grep Version]]> @@ -64,7 +65,5 @@ 5. Click **Save** The medatada will be re-detected and you will be able to see the list of reference sequences in the "**Select references (chromosomes and contigs) you would like to restrict bam to**" drop-down. - - diff -r 2b474ebbfc7d -r a4a10c7924d1 samtools_slice_bam.xml --- a/samtools_slice_bam.xml Tue Apr 21 17:37:49 2015 -0400 +++ b/samtools_slice_bam.xml Tue May 09 11:17:27 2017 -0400 @@ -1,43 +1,40 @@ - - BAM by genomic regions - - macros.xml - - - - - - - + BAM by genomic regions + + macros.xml + + + + + + + - + samtools sort + -O bam + -T sorted + -@ \${GALAXY_SLOTS:-1} + -o '${output_bam}' + unsorted_output.bam + ]]> - + @@ -45,7 +42,7 @@ - + @@ -75,49 +72,43 @@ - - - - + - + - - + + - + - + - + - + - - UCSC Main**. +Allows to restrict (slice) input BAM dataset to a list of intervals defined in a BED file, individual chromosomes, or manually set list of coordinates. +BED datasets can be obtained from **Get Data -> UCSC Main**. This tool is based on ``samtools view`` command. @no-chrom-options@ - -]]> - - + ]]> + diff -r 2b474ebbfc7d -r a4a10c7924d1 tool_dependencies.xml --- a/tool_dependencies.xml Tue Apr 21 17:37:49 2015 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,6 +0,0 @@ - - - - - -