Skip to content

Commit

Permalink
Need bai for dexseq-count (#5926)
Browse files Browse the repository at this point in the history
* update only count

* bump version

* moar quotes!

* try new biocontainer
  • Loading branch information
TomHarrop authored Apr 2, 2024
1 parent e9abd8b commit 0ccfadf
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
22 changes: 12 additions & 10 deletions tools/dexseq/dexseq_count.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,20 @@
<command><![CDATA[
#if $mode.mode_select == "prepare":
dexseq_prepare_annotation.py
-r $mode.aggregate
'$mode.gtffile'
-r '${mode.aggregate}'
'${mode.gtffile}'
'$flattened_gtf_out'
#elif $mode.mode_select == "count":
ln -s -f '${mode.bamfile}' 'input.bam' &&
ln -s -f '${mode.bamfile.metadata.bam_index}' 'input.bam.bai' &&
dexseq_count.py
--format bam
--paired $mode.paired
--stranded $mode.stranded
--minaqual $mode.qual
--order $mode.order
$mode.flattened_gtf_in
'$mode.bamfile'
--paired '${mode.paired}'
--stranded '${mode.stranded}'
--minaqual '${mode.qual}'
--order '${mode.order}'
'${mode.flattened_gtf_in}'
'input.bam'
'$counts_file'
&&
sed -i 's/\"//g' '$counts_file'
Expand Down Expand Up @@ -73,14 +75,14 @@
</outputs>

<tests>
<test>
<test expect_num_outputs="1">
<param name="mode_select" value="prepare" />
<param name="gtffile" ftype="gff" value="original.gtf"/>
<param name="aggregate" value="True"/>
<output name="flattened_gtf_out" ftype="gtf" compare="sim_size" file="flattened.gtf"/>
</test>
<!-- Ensure count mode works -->
<test>
<test expect_num_outputs="1">
<param name="mode_select" value="count" />
<param name="bamfile" ftype="bam" value="in.bam" />
<param name="flattened_gtf_in" ftype="gff" value="flattened.gtf"/>
Expand Down
5 changes: 2 additions & 3 deletions tools/dexseq/macros.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
<?xml version="1.0"?>
<macros>
<token name="@TOOL_VERSION@">1.44</token>
<token name="@TOOL_VERSION@">1.48.0</token>
<token name="@VERSION_SUFFIX@">0</token>
<token name="@PROFILE@">22.01</token>
<xml name="requirements">
<requirements>
<requirement type="package" version="@TOOL_VERSION@">bioconductor-dexseq</requirement>
<requirement type="package" version="1.20.3">r-getopt</requirement>
<requirement type="package" version="1.20.4">r-getopt</requirement>
<requirement type="package" version="0.2.21">r-rjson</requirement>
</requirements>
</xml>
Expand Down

0 comments on commit 0ccfadf

Please sign in to comment.