# HG changeset patch # User peterjc # Date 1462963798 14400 # Node ID 9fe1a922353bdb164c8d9cd40b37f779a12b308c # Parent 139b6f0a0bb5807b40bab4abb92a7dc2d3ba6016 v0.0.5 option to discard unmapped read; env var bugfix diff -r 139b6f0a0bb5 -r 9fe1a922353b 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 139b6f0a0bb5 -r 9fe1a922353b 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 139b6f0a0bb5 -r 9fe1a922353b tools/clc_assembly_cell/README.rst --- a/tools/clc_assembly_cell/README.rst Tue Sep 01 06:55:13 2015 -0400 +++ b/tools/clc_assembly_cell/README.rst Wed May 11 06:49:58 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 139b6f0a0bb5 -r 9fe1a922353b tools/clc_assembly_cell/clc_mapper.xml --- a/tools/clc_assembly_cell/clc_mapper.xml Tue Sep 01 06:55:13 2015 -0400 +++ b/tools/clc_assembly_cell/clc_mapper.xml Wed May 11 06:49:58 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 @@ + + + + + + + + + + + + + +