--
You received this message because you are subscribed to the Google Groups "Nextflow" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nextflow+u...@googlegroups.com.
Visit this group at https://groups.google.com/group/nextflow.
For more options, visit https://groups.google.com/d/optout.
154 process seqcluster_prepare{
155 beforeScript 'export PATH=/BiO/BioTools/miniconda3/envs/smrna/bin/:$PATH'
156
157 publishDir "${params.outdir}/seqcluster/prepare";
158
159 input:
160 val(prefix) from crp_prepare.toList()
161 file(reads) from crf_prepare.toList()
162
163 output:
164 file 'seqs.ma' into seqs_ma
165 file 'seqs.fastq' into seqs_fastq
166 file 'stats_prepare.tsv' into stats_prepare
167
168 exec:
169 prefix = prefix.join(",")
170 reads = reads.toString().tokenize().join(",")
171
172 shell:
173 """
174 python ${params.script_dir}/prepare_data.py ${prefix} ${reads}
175 """
176 }
process seqcluster_prepare{publishDir "${params.outdir}/seqcluster/prepare";input:val(prefix) from crp_prepare.toList()file(reads) from crf_prepare.toList()output:file 'seqs.ma' into seqs_mafile 'seqs.fastq' into seqs_fastqfile 'stats_prepare.tsv' into stats_prepareshell:def prefix = prefix.join(",")def reads = reads.toString().tokenize().join(",")
"""python ${params.script_dir}/prepare_data.py ${prefix} ${reads}"""}
env {PATH='BiO/BioTools/miniconda3/envs/smrna/bin/:$PATH'}
process seqcluster_cluster{ |
|
|
|
publishDir "${params.outdir}/seqcluster/cluster"; |
|
|
|
|
|
input: |
|
|
file '*' from seqcluster_cluster_seqs_ma |
|
|
file (bam:'*') from star_bam_for_cluster |
|
|
|
|
|
output: |
|
|
file 'seqcluster.json' into seqcluster_json |
|
|
|
|
|
""" |
|
|
seqcluster cluster -o ./ -m seqs.ma -a seqs.bam -r ${params.ref_fasta} -g ${params.gtf_srna_transcripts} |
|
|
""" |
|
|
} |