Skip to content

Commit

Permalink
Fix some common problems in CIRIquant and HISAT2_ALIGN
Browse files Browse the repository at this point in the history
  • Loading branch information
nictru committed Mar 18, 2024
1 parent c4a3e8e commit 72dd514
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions modules/local/ciriquant/yml/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ process CIRIQUANT_YML {
'quay.io/biocontainers/ciriquant:1.1.2--pyhdfd78af_2' }"

input:
path gtf
path fasta
tuple val(meta), path(gtf)
tuple val(meta2), path(fasta)
path bwa
path hisat2

Expand All @@ -19,7 +19,7 @@ process CIRIQUANT_YML {
task.ext.when == null || task.ext.when

script:
hisat2_prefix = fasta.toString() - ~/.(fa|fasta)$/
hisat2_prefix = meta2.id
fasta_path = fasta.toRealPath()
gtf_path = gtf.toRealPath()
bwa_path = bwa.toRealPath()
Expand Down
1 change: 1 addition & 0 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ profiles {
podman.enabled = false
shifter.enabled = false
charliecloud.enabled = false
apptainer.runOptions = '--no-mount tmp --writable-tmpfs'
}
gitpod {
executor.name = 'local'
Expand Down
2 changes: 1 addition & 1 deletion subworkflows/local/circrna_discovery.nf
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ workflow CIRCRNA_DISCOVERY {

// only need path to bwa, only need path to hisat2.
// do not want to upset the collect declr for all indices just for this.
CIRIQUANT_YML( gtf, fasta, bwa_index.map{ meta, index -> return index }, hisat2_index.map{ meta, index -> return index } )
CIRIQUANT_YML( ch_gtf, ch_fasta, bwa_index.map{ meta, index -> return index }, hisat2_index.map{ meta, index -> return index } )
CIRIQUANT( reads, CIRIQUANT_YML.out.yml.collect() )
CIRIQUANT_FILTER( CIRIQUANT.out.gtf.map{ meta, gtf -> [ meta + [tool: "ciriquant"], gtf ] }, bsj_reads )

Expand Down

0 comments on commit 72dd514

Please sign in to comment.