#!/usr/bin/env nextflow
params.query = "RSnSeQ_110Fruit-rm-clean-rmsmrtbell-gt-1k-unique.fastq"
params.chunk = 100
Channel
.fromPath(params.query)
.splitFasta(by: params.chunk)
.set { chunks }
During the run I have got the following error:
nextflow run splitFastq.nf
N E X T F L O W ~ version 0.24.2
Launching `splitFastq.nf` [amazing_hoover] - revision: 872559dc0d
ERROR ~ Can't open cache DB: /lustre/work-lustre/Fruit_team/Fruit/contamination-free-pacbio/.nextflow/cache/6b7c1d06-32ff-46d8-b998-586a80df2dcf/db
-- Check '.nextflow.log' file for details
.nextflow.log output
Jun-12 10:55:52.416 [main] DEBUG nextflow.cli.Launcher - $> /work/Fruit_team/miniconda2/bin/nextflow run splitFastq.nf
Jun-12 10:55:52.905 [main] INFO nextflow.cli.CmdRun - N E X T F L O W ~ version 0.24.2
Jun-12 10:55:52.933 [main] INFO nextflow.cli.CmdRun - Launching `splitFastq.nf` [amazing_hoover] - revision: 872559dc0d
Jun-12 10:55:54.548 [main] DEBUG nextflow.Session - Session uuid: 6b7c1d06-32ff-46d8-b998-586a80df2dcf
Jun-12 10:55:54.548 [main] DEBUG nextflow.Session - Run name: amazing_hoover
Jun-12 10:55:54.551 [main] DEBUG nextflow.Session - Executor pool size: 32
Jun-12 10:55:54.685 [main] DEBUG nextflow.cli.CmdRun -
Version: 0.24.2 build 4271
Modified: 05-04-2017 16:50 UTC (06-04-2017 02:50 AEDT)
System: Linux 3.12.69-60.64.32-default
Runtime: Groovy 2.4.10 on OpenJDK 64-Bit Server VM 1.8.0_102-b14
Encoding: UTF-8 (UTF-8)
CPUs: 32 - Mem: 62.7 GB (545.4 MB) - Swap: 2 GB (984.3 MB)
Jun-12 10:55:54.878 [main] DEBUG nextflow.Session - Work-dir: /lustre/work-lustre/Fruit_team/Fruit/contamination-free-pacbio/work [lustre]
Jun-12 10:55:54.879 [main] DEBUG nextflow.Session - Script base path does not exist or is not a directory: /lustre/work-lustre/Fruit_team/Fruit/contamination-free-pacbio/bin
Jun-12 10:55:55.378 [main] ERROR nextflow.cli.Launcher - Can't open cache DB: /lustre/work-lustre/Fruit_team/Fruit/contamination-free-pacbio/.nextflow/cache/6b7c1d06-32ff-46d8-b998-586a80df2dcf/db
java.io.IOException: Can't open cache DB: /lustre/work-lustre/Fruit_team/Fruit/contamination-free-pacbio/.nextflow/cache/6b7c1d06-32ff-46d8-b998-586a80df2dcf/db
at nextflow.CacheDB.openDb(CacheDB.groovy:117)
at nextflow.CacheDB.open(CacheDB.groovy:128)
at nextflow.Session.init(Session.groovy:290)
at nextflow.script.ScriptRunner.execute(ScriptRunner.groovy:148)
at nextflow.cli.CmdRun.run(CmdRun.groovy:223)
at nextflow.cli.Launcher.run(Launcher.groovy:410)
at nextflow.cli.Launcher.main(Launcher.groovy:564)
Caused by: java.io.IOException: Function not implemented
at sun.nio.ch.FileDispatcherImpl.lock0(Native Method)
at sun.nio.ch.FileDispatcherImpl.lock(FileDispatcherImpl.java:90)
at sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1115)
at java.nio.channels.FileChannel.tryLock(FileChannel.java:1155)
at org.iq80.leveldb.impl.DbLock.<init>(DbLock.java:47)
at org.iq80.leveldb.impl.DbImpl.<init>(DbImpl.java:167)
at org.iq80.leveldb.impl.Iq80DBFactory.open(Iq80DBFactory.java:59)
at nextflow.CacheDB.openDb(CacheDB.groovy:100)
... 6 common frames omitted