# HG changeset patch # User yhoogstrate # Date 1446730158 18000 # Node ID 8544e51f79bbd77e673ff98e3e2a3eebfed0ba41 # Parent a92c2ae342c447f5c78aeb279bc26246f2a3b39d Deleted selected files diff -r a92c2ae342c4 -r 8544e51f79bb samtools-parallel-mpileup.xml --- a/samtools-parallel-mpileup.xml Thu Nov 05 08:21:31 2015 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,300 +0,0 @@ - - - Samtools mpileup (supporting parallelization) - - - samtools_parallel_mpileup_0_1_19a - package_samtools_0_1_19 - - - samtools 2>&1 | grep Version - - - #if $reference_genome_source.source_select == "attribute" and len({ alignment.metadata.dbkey:True for alignment in $alignments }.keys()) != 1 - echo "Invalid number of dbkeys are found: ${ len({ alignment.metadata.dbkey:True for alignment in $alignments }.keys()) }, while only one should be used. Make sure that the alignments are done on the same reference genome and that 'tool-data/all_fasta.loc' is configured properly!" >&2 - #else - #if $mpileup_parallelization.mpileup_parallelization_select == "true" - samtools-parallel-mpileup mpileup - -t $mpileup_parallelization.samtools_threads - #else - samtools mpileup - #end if - -f - #if $reference_genome_source.source_select == "indexed_filtered" - "$reference_genome_source.reference_genome" - #else if $reference_genome_source.source_select == "indexed_all" - "$reference_genome_source.reference_genome" - #else if $reference_genome_source.source_select == "history" - "$reference_genome_source.reference_genome" - #else - - "${ filter( lambda x: str( x[0] ) == str( { alignment.metadata.dbkey:True for alignment in $alignments }.keys()[0] ), $__app__.tool_data_tables[ 'all_fasta' ].get_fields() )[0][-1] }" - #end if - - #if $extended_parameters_regions.samtools_regions == "region" - -r $extended_parameters_regions.$samtools_r - #elif $extended_parameters_regions.samtools_regions == "regions_file_pos" or $extended_parameters_regions.samtools_regions == "regions_file_bed" - -l $extended_parameters_regions.$samtools_l - #end if - - #if $extended_parameters.parameters == "extended" - $extended_parameters.samtools_6 - $extended_parameters.samtools_A - $extended_parameters.samtools_B - -C $extended_parameters.samtools_C - -d $extended_parameters.samtools_d - $extended_parameters.samtools_E - -M $extended_parameters.samtools_M - $extended_parameters.samtools_R - -q $extended_parameters.samtools_q - -Q $extended_parameters.samtools_Q - - -e $extended_parameters.samtools_e - -F $extended_parameters.samtools_F - -h $extended_parameters.samtools_h - $extended_parameters.samtools_I - -L $extended_parameters.samtools_L - -m $extended_parameters.samtools_m - -o $extended_parameters.samtools_o - $extended_parameters.samtools_p - -P $extended_parameters.samtools_P - #end if - - #for $alignment in $alignments - ${alignment} - #end for - - 2> stderr_1.txt - - #if $sort_mpileup - | sort -k1,1V -k2,2g - #end if - - > $output ; - cat stderr_1.txt - #end if - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -**Samtools mpileup (supporting parallelization)** - -SAM (Sequence Alignment/Map) format is a generic format for storing large nucleotide sequence alignments. SAM aims to be a format that: - -Is flexible enough to store all the alignment information generated by various alignment programs; -Is simple enough to be easily generated by alignment programs or converted from existing alignment formats; -Is compact in file size; -Allows most of operations on the alignment to work on a stream without loading the whole alignment into memory; -Allows the file to be indexed by genomic position to efficiently retrieve all reads aligning to a locus. -SAM Tools provide various utilities for manipulating alignments in the SAM format, including sorting, merging, indexing and generating alignments in a per-position format. - -SAMtools is hosted by SourceForge.net. The project page is http://samtools.sourceforge.net/. The source code releases are available from the download page. You can check out the most recent source code from the github project page with: -git clone git://github.com/samtools/samtools.git -https://github.com/mydatascience/parallel-mpileup/ - -Because samtools does not support parallization of the mpileup command, the project was forked to include paralellization support: - - -However, since the project seems to lack support and contains fatal bugs this project was continued at: -https://github.com/yhoogstrate/parallel-mpileup/ - - -**Input formats** - -Satmools accepts sequencing alignments in the same, either SAM or BAM format (http://samtools.sourceforge.net/). The alignment files have to be linked to a reference genome by galaxy. This is indicated under every history item with e.g.: *"database: hg19"* for a link to hg19, or *"database: ?"* if the link is missing. - -**Installation** - -The installation is fully automatic. - -**License** - -* parallel-mpileup: MIT License (https://github.com/yhoogstrate/parallel-mpileup/blob/master/samtools-0.1.19/COPYING) -* samtool: MIT License - - -Contact -------- - -The tool wrapper has been written by Youri Hoogstrate from the Erasmus -Medical Center (Rotterdam, Netherlands) on behalf of the Translational -Research IT (TraIT) project: - -http://www.ctmm.nl/en/programmas/infrastructuren/traitprojecttranslationeleresearch - -More tools by the Translational Research IT (TraIT) project can be found -in the following toolsheds: - -http://toolshed.dtls.nl/ - -http://toolshed.g2.bx.psu.edu/ - -http://testtoolshed.g2.bx.psu.edu/ - - - - @unpublished{samtools_parallel_mpileup, - author = {Youri Hoogstrate}, - title = { Samtools parallel-mpileup, fork of classical samtools }, - year = 2014, - url = { https://github.com/yhoogstrate/parallel-mpileup } - } - - - @misc{SAM_def, - title={Definition of SAM/BAM format}, - url = {https://samtools.github.io/hts-specs/SAMv1.pdf},} - - - @misc{SamTools_github, - title={SAMTools GitHub page}, - url = {https://github.com/samtools/samtools},} - - - \ No newline at end of file