Skip to content

Instantly share code, notes, and snippets.

@winni2k
Created March 26, 2019 10:42
Show Gist options
  • Save winni2k/4ce8b260294011f96ee5e46a3c17e05a to your computer and use it in GitHub Desktop.
Save winni2k/4ce8b260294011f96ee5e46a3c17e05a to your computer and use it in GitHub Desktop.
nextflow conda bug
params.in = "$baseDir/reads.fa"
sequences = file(params.in)
process test {
conda 'transabyss'
input:
file 'input.fa' from sequences
output:
file 'transcripts.fa' into results
"""
transabyss --single input.fa\
--outdir ./tabyss\
--length 100\
--threads 2
"""
}
results.subscribe { println it }
>0/1
TAAAAAT
>1/1
AAAATA
>2/1
GAAAAAC
>3/1
AAAACA
>4/1
TAAAAAT
>5/1
AAAATA
>6/1
GAAAAAC
>7/1
AAAACA
>8/1
TAAAAAT
>9/1
AAAATA
>10/1
GAAAAAC
>11/1
AAAACA
>12/1
TAAAAAT
>13/1
AAAATA
>14/1
GAAAAAC
>15/1
AAAACA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment