Sol Shenker
07/11/2024, 12:42 PMSol Shenker
07/11/2024, 2:48 PMaws.s5cmdPath = /.../... ? https://github.com/nextflow-io/nextflow/blob/572f2116226bca4686c3540be9bd8b81bdded[…]ins/nf-amazon/src/main/nextflow/cloud/aws/util/S3BashLib.groovyJorge
07/11/2024, 2:49 PMJorge
07/11/2024, 2:50 PMSol Shenker
07/11/2024, 2:50 PMSol Shenker
07/11/2024, 2:52 PMpath('<s3://some/file>', cache: true)Sol Shenker
07/11/2024, 2:53 PMJorge
07/11/2024, 2:55 PMJorge
07/11/2024, 2:57 PMSol Shenker
07/11/2024, 3:04 PMSol Shenker
07/11/2024, 3:07 PMSol Shenker
07/12/2024, 7:25 PM./compile.sh; make assemble . I can see my changes in the files output under the build/ directory, but when I run nextflow the changes I made don't seem to be applied. I tried bumping modules/nextflow/src/main/resources/META-INF/plugins-info.txt and plugins/nf-amazon/src/resources/META-INF/MANIFEST.MF since it looks like that's involved in making a new release, but it didn't seem to help. I'm thinking that it is somehow getting linked to the previous version of nf-amazon. Is there anything else I need to do when changing one of the core plugins?Sol Shenker
07/12/2024, 7:32 PMmake pack seems to have done itSol Shenker
07/16/2024, 8:40 PMaws{
batch {
...
volumes = ['/seqcmd/cache:/seqcmd/cache:rw']
cache = '/seqcmd/cache'
}
}
then if you have a process where you re-use a large input file across many task executions you can set cache:true to tell nextflow to look for the file in the cache before resolving it from s3:
process minimap2 {
input:
tuple(val(meta), path('in.fq.gz'))
path('ref.mmi', cache: true)
...
script:
"""
minimap2 -a ref.mmi in.fq > out.sam
"""
}
Would love any pointers if you have any!Jorge
07/17/2024, 8:51 AMSol Shenker
07/17/2024, 1:38 PM