# HG changeset patch # User eiriche # Date 1354520282 18000 # Node ID c5fc750e45ab59763f77b93bccc622d420aeeb87 # Parent 19856e4d52356dc7467c34ed71eb068feeb6b572 Deleted selected files diff -r 19856e4d5235 -r c5fc750e45ab bsmap.xml --- a/bsmap.xml Fri Nov 30 09:15:22 2012 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,237 +0,0 @@ - - - - bsmap - - - - bsmap_wrapper.sh - ##Reference genome - ##ref="${reference.fields.path}" - #if $refGenomeSource.genomeSource == "history": - ref="${refGenomeSource.myFile}" - #else - ref="${refGenomeSource.builtinFile.fields.path}" - #end if - ##Output files (SAM output, BSMAP summary) - mapped=$mapped - ##Temp directory - tempdir=$mapped.files_path - summary=$summary - #if str($singlePaired.sPaired) == "single": - library="single" - mate1=$singlePaired.sInput1 - #if str($singlePaired.sParams.sSettingsType) == "full": - fullparam=true - qual=$singlePaired.sParams.qual - threshold=$singlePaired.sParams.threshold - lowqual=$singlePaired.sParams.lowqual - adapter=$singlePaired.sParams.adapter - firstn=$singlePaired.sParams.firstn - repeat_reads=$singlePaired.sParams.repeat_reads - seed_size=$singlePaired.sParams.seed_size - mismatch=$singlePaired.sParams.mismatch - equal_best=$singlePaired.sParams.equal_best - start=$singlePaired.sParams.start - end=$singlePaired.sParams.end - index_interval=$singlePaired.sParams.index_interval - seed_random=$singlePaired.sParams.seed_random - rrbs=$singlePaired.sParams.rrbs - mode=$singlePaired.sParams.mode - align_info=$singlePaired.sParams.align_info - #end if - #else: - library="paired" - mate1=$singlePaired.pInput1 - mate2=$singlePaired.pInput2 - unpaired=$unpaired - #if str($singlePaired.pParams.pSettingsType) == "full": - fullparam=true - qual=$singlePaired.pParams.qual - threshold=$singlePaired.pParams.threshold - lowqual=$singlePaired.pParams.lowqual - adapter=$singlePaired.pParams.adapter - firstn=$singlePaired.pParams.firstn - repeat_reads=$singlePaired.pParams.repeat_reads - seed_size=$singlePaired.pParams.seed_size - mismatch=$singlePaired.pParams.mismatch - equal_best=$singlePaired.pParams.equal_best - start=$singlePaired.pParams.start - end=$singlePaired.pParams.end - index_interval=$singlePaired.pParams.index_interval - seed_random=$singlePaired.pParams.seed_random - rrbs=$singlePaired.pParams.rrbs - mode=$singlePaired.pParams.mode - align_info=$singlePaired.pParams.align_info - maxinsert=$singlePaired.pParams.maxinsert - mininsert=$singlePaired.pParams.mininsert - #end if - #end if - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - (singlePaired['sPaired'] == 'paired') - - - - -**What it does** - -BSMAP is a short reads mapping software for bisulfite sequencing reads. It has the following features: - - - read length up to 144 nt, allow up to 15 mismatches, gap size up to 3 bp. - - - support single end and pair end mapping. support multi-thread mapping. - - - support both "Lister protocol" (sequence 2 forward strands only) and "Cokus protocol" (sequence all 4 bisulfite converted strands) - - - reads are directly mapped to original reference genome sequence, no need to preprocess the reads and reference genome to convert C to T. - - - support both whole genome bisulfite sequencing (WGBS) mode and reduced representation bisulfite sequencing (RRBS) mode, allow changing the digestion site information to support different digestion enzymes for RRBS. - - - allow trimming adapter sequences and low quality nucleotides from the 3'end of reads - - - allow trade off between speed/memory usage/mapping sensitivity. For human genome, the RRBS mode uses ~3GB. In WGBS mode, the typical memory usage is ~9GB, but can be as low as 5GB. - - - allow alignment for other nucleotide transitions, for example, can be set to detect the A=>I(G) transition in RNA editing. - -.. _BSMAP: http://code.google.com/p/bsmap/ - -**Input formats** - -BSMAP accepts files in FASTA/FASTQ format. - -**Outputs** - -The output contains the following files: - - - mapped reads in SAM format - - - mapping summary - - - unpaired hits (only for paired-end mapping) - - - - - - - diff -r 19856e4d5235 -r c5fc750e45ab bsmap_meth_caller.xml --- a/bsmap_meth_caller.xml Fri Nov 30 09:15:22 2012 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,82 +0,0 @@ - - - - bsmap - - - - - samtools - - - - bsmap_meth_caller.sh - input=$bsmap_sam - unique=$unique - properly=$properly - zero_meth = $zero_meth - rem_dup = $rem_dup - combine_cpg = $combine_cpg - trimN = $trimN - depth = $depth - output=$output - tempdir=$output.files_path - #if $refGenomeSource.genomeSource == "history": - ref="${refGenomeSource.myFile}" - #else - ref="${refGenomeSource.builtinFile.fields.path}" - #end if - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -**What it does** - -This methylation caller parses the BSMAP SAM output file into bed format. - - -**Output format** :: - - - Column Description - ---------------------- -------------------------------------- - 1 chr chromosome - 2 pos position - 3 strand strand - 4 context context (CHH,CHG,CpG) - 5 coverage totally sequenced Cs at that position - 6 methylated methylated Cs at that position - 7 percentage methylated percentage of 6 - - -