Code Monkey home page Code Monkey logo

Comments (8)

cimendes avatar cimendes commented on August 19, 2024

Hello! Thank you for your interest in DEN-IM!

I've just cloned a new version and everything seems to be working well.
image

I've used the latest commit in the master.

$ git log | head
commit c47e6f1
Author: Inês Mendes [email protected]
Date: Tue May 5 15:51:48 2020 +0100

What command are you using and where are you trying to run it? You're supposed to call DEN-IM.nf in the root of the repository, as exemplified in the README file.

single-end reads: nextflow run DEN-IM.nf --fastq="/path/to/input/files/*.fq.gz"
paired-end reads: nextflow run DEN-IM.nf --fastq="/path/to/input/files/*_{1,2}.fq.gz"

More information on how to run DEN-IM is available in the README or on our wiki

Let me know if you need further assistance :)

from den-im.

TeacherHZ avatar TeacherHZ commented on August 19, 2024

Hello! I am running in UABNTU, I installed NextFlow with Conda, and then cloned the code directly from Github, the running code is:
nextflow run DEN-IM.nf --fastq="out1.R1.fq.gz out1.R2.fq.gz"
nextflow run DEN-IM.nf --fastq="/path/to/input/files/out1.R1.fq.gz.fq.gz out1.R2.fq.gz"
They don't work, and the result is:
Not a valid project name: DEN-IM.nf
What should I do
thank you!

from den-im.

TeacherHZ avatar TeacherHZ commented on August 19, 2024

After I put den-im.nf into the home directory and run it, an error is reported:
Launching DEN-IM.nf [exotic_torricelli] - revision: d8505888f2
Script compilation error

  • file : /home/heng/DEN-IM.nf
  • cause: unable to resolve class Helper
    @ line 3, column 1.
    import Helper
    ^

Script compilation error

  • file : /home/heng/DEN-IM.nf
  • cause: unable to resolve class CollectInitialMetadata
    @ line 4, column 1.
    import CollectInitialMetadata
    ^

2 errors
I am a novice, did I not install Docker correctly?
thank you

from den-im.

cimendes avatar cimendes commented on August 19, 2024

Hello!
After cloning DEN-IM, you need to go inside the repository folder and run DEN-IM from there.

Let's do it in steps!

  1. Clone the DEN-IM repository to your machine
    https://github.com/B-UMMI/DEN-IM.git

  2. Go inside the DEN-IM repository folder
    cd DEN-IM

  3. Check that you see the correct files with ls. Here's how it's supposed to look like
    image

  4. Once you've made sure you're inside the DEN-IM repository directory, you can run it with the following command for paired-end data
    nextflow run DEN-IM.nf --fastq="/path/to/input/files/*_{1,2}.fq.gz"

from den-im.

TeacherHZ avatar TeacherHZ commented on August 19, 2024

Hello! It looks like this after I input ls
image
Then I type nextflow run DEN-IM.nf --help like this
Uploading image.png…
my paired-end reads is out11.R1.fq.gz and out11.R2.fq.gz
I paste the two files into DEN-IM repository folder,Then run the code:
nextflow run DEN-IM.nf --fastq="/path/to/input/files/out11.R1.fq.gz.fq.gz out11.R2.fq.gz"
The result is:

No such file: /path/to/input/files/out11.R1.fq.gz.fq.gz out11.R2.fq.gz

-- Check script 'DEN-IM.nf' at line: 21 or see '.nextflow.log' file for more details
How should I enter my running code? Does the file to be run have to be put in DEN-IM repository folder?
thank you

from den-im.

TeacherHZ avatar TeacherHZ commented on August 19, 2024

It looks like this after entering ls
image

from den-im.

TeacherHZ avatar TeacherHZ commented on August 19, 2024

Hello! I installed Singularity using sudo apt install Singularity
Merge the paired-end reads sequence into the Den-im Repository Folder and run the code:
nextflow run DEN-IM.nf --fastq="D-DC11pear.assembled.fastq.gz"
结果是:
image
image
May I ask what causes this? Thank you

from den-im.

cimendes avatar cimendes commented on August 19, 2024

Hello! Apologies for the very late reply! Unfortunately, this got lost in a bit of GitHub spam in my inbox. :(
Your issue seems to be related to singularity, and not with nextflow or the workflow. Please check what version of singularity you have installed. Nextflow documentation advises having version 2.3.x or higher (https://www.nextflow.io/docs/latest/singularity.html#singularity-docker-hub). Alternatively, you can give Docker a go. :)

from den-im.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.