# HG changeset patch # User nilesh # Date 1373335378 14400 # Node ID e73f30d518f9679dcee725e60d5d2cda7d94a70a Uploaded diff -r 000000000000 -r e73f30d518f9 bam2wig.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bam2wig.xml Mon Jul 08 22:02:58 2013 -0400 @@ -0,0 +1,125 @@ + + + converts all types of RNA-seq data from .bam to .wig + + + R + + + samtools + + + rseqc + + + samtoolshelper.py /home/nilesh/RSeQC-2.3.3/scripts/bam2wig.py -i $input -s $chromsize -o outfile + + #if str($strand_type.strand_specific) == "pair" + -d + #if str($strand_type.pair_type) == "sd" + '1++,1--,2+-,2-+' + #else + '1+-,1-+,2++,2--' + #end if + #end if + + #if str($strand_type.strand_specific) == "single" + -d + #if str($strand_type.single_type) == "s" + '++,--' + #else + '+-,-+' + #end if + #end if + + #if $wigsum.wigsum_type + -t $wigsum.totalwig + #end if + + #if $skipmultihits + -u + #end if + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + strand_type['strand_specific'] == 'none' + + + strand_type['strand_specific'] != 'none' + + + strand_type['strand_specific'] != 'none' + + + +.. image:: https://code.google.com/p/rseqc/logo?cct=1336721062 + +----- + +About RSeQC ++++++++++++ + +The RSeQC package provides a number of useful modules that can comprehensively evaluate high throughput sequence data especially RNA-seq data. “Basic modules” quickly inspect sequence quality, nucleotide composition bias, PCR bias and GC bias, while “RNA-seq specific modules” investigate sequencing saturation status of both splicing junction detection and expression estimation, mapped reads clipping profile, mapped reads distribution, coverage uniformity over gene body, reproducibility, strand specificity and splice junction annotation. + +The RSeQC package is licensed under the GNU GPL v3 license. + +Inputs +++++++++++++++ + +Input BAM file + Alignment file in BAM format (SAM is not supported). BAM file will be sorted and indexed using samTools. + +Chromosome size file + Tab or space separated text file with 2 columns: first column is chromosome name, second column is size of the chromosome. Chromosome names (such as "chr1") should be consistent between this file and BAM file. + +Specified wigsum (default=none) + Specified wigsum. Wigsum of 100000000 equals to coverage achieved by 1 million 100nt reads. Ignore this option to disable normalization. + +Skip multiple Hit reads + skips multiple hit reads or only use uniquely mapped reads + +Strand-specific (default=none) + How read(s) were stranded during sequencing. If you are not sure about the strand rule, run infer_experiment.py + +Outputs +++++++++++++++ + +If RNA-seq is not strand specific, one wig file will be generated, if RNA-seq +is strand specific, two wig files corresponding to Forward and Reverse will be generated. + + + + \ No newline at end of file