# HG changeset patch # User eiriche # Date 1354202097 18000 # Node ID be88d0f3f6f243697b413eb9c5734dc424e6c5e7 # Parent bce9005066b1ffd14007ee1df54c5651903561de Uploaded diff -r bce9005066b1 -r be88d0f3f6f2 bsmap.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bsmap.xml Thu Nov 29 10:14:57 2012 -0500 @@ -0,0 +1,229 @@ + + + + bsmap + + + + bsmap_wrapper.sh + ##Reference genome + ref="${reference.fields.path}" + ##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) + + + + + + +