# HG changeset patch # User peterjc # Date 1462963731 14400 # Node ID 60ade555476f763fc8e0d2db77ad4cbc4fe323a4 # Parent 8b1c2e40af8ef7ff0d4ada71b6aa00882686050f v0.0.5 option to discard unmapped read; env var bugfix diff -r 8b1c2e40af8e -r 60ade555476f test-data/SRR639755_mito_pairs_vs_NC_010642_clc.bam Binary file test-data/SRR639755_mito_pairs_vs_NC_010642_clc.bam has changed diff -r 8b1c2e40af8e -r 60ade555476f test-data/SRR639755_mito_pairs_vs_NC_010642_clc_u.bam Binary file test-data/SRR639755_mito_pairs_vs_NC_010642_clc_u.bam has changed diff -r 8b1c2e40af8e -r 60ade555476f tools/clc_assembly_cell/README.rst --- a/tools/clc_assembly_cell/README.rst Tue Sep 01 06:39:41 2015 -0400 +++ b/tools/clc_assembly_cell/README.rst Wed May 11 06:48:51 2016 -0400 @@ -89,6 +89,10 @@ - Added citation tags. - Planemo for Tool Shed upload (``.shed.yml``, internal change only). v0.0.4 - Bug fix for ```` to capture tool version. +v0.0.5 - Support the ``-u`` or ``--discardunmapped`` option to discard + unmapped reads in the CLC Mapper wrapper. + - Bug fix to use the ``$CLC_ASSEMBLY_CELL`` environment variable when + calling ``clc_cas_to_sam`` in the CLC MApper wrapper. ======= ====================================================================== diff -r 8b1c2e40af8e -r 60ade555476f tools/clc_assembly_cell/clc_mapper.xml --- a/tools/clc_assembly_cell/clc_mapper.xml Tue Sep 01 06:39:41 2015 -0400 +++ b/tools/clc_assembly_cell/clc_mapper.xml Wed May 11 06:48:51 2016 -0400 @@ -1,4 +1,4 @@ - + Maps reads giving a SAM/BAM file clc_mapper @@ -48,7 +48,11 @@ ## use the offset 33, rather then the CLCbio default of 64 which is only for ## obsolete Illumina FASTQ files. Really need this option per input file... && echo Converting CAS file to BAM with clc_cas_to_sam... -&& /mnt/apps/clcBio/clc-assembly-cell-4.1.0-linux_64/clc_cas_to_sam --cas "temp_job.cas" -o "temp_job.bam" --no-progress --qualityoffset 33 +&& \${CLC_ASSEMBLY_CELL:-/mnt/apps/clcBio/clc-assembly-cell-4.1.0-linux_64/}clc_cas_to_sam --cas "temp_job.cas" -o "temp_job.bam" --no-progress --qualityoffset 33 +#if $discard_unmapped: +## -u / --discardunmapped: Discard the unmapped reads +-u +#end if && rm "temp_job.cas" ##=========================================== && echo Sorting BAM file with samtools... @@ -125,7 +129,7 @@ - + @@ -142,8 +146,22 @@ + + + + + + + + + + + + + +