Giter Site home page Giter Site logo

juicer.sh SLURM script about juicer HOT 4 CLOSED

aidenlab avatar aidenlab commented on May 29, 2024
juicer.sh SLURM script

from juicer.

Comments (4)

imachol avatar imachol commented on May 29, 2024

Oh, this is bash version dependent issue.
Were checking if variable is defined, not empty.

If it does not work for you, try
[ -z ${shortread+x} ]
Instead.

from juicer.

keagen avatar keagen commented on May 29, 2024

Ok. That fixed the error message.

Looking at the debug files for the alignment it is running bwa aln and not bwa mem, though I didn't change anything else in the juicer.sh script to tell it to do short read alignment. Is this normal?

In case related to the version of bash I am running:

GNU bash, version 4.1.2(1)-release (x86_64-redhat-linux-gnu)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

from juicer.

imachol avatar imachol commented on May 29, 2024

The check is working now, but is actually opposite to what you need -

try [ ! -z ${shortread+x} ] instead.

-v will return 1 if variable is unset, and 0 if it is set.

-v is only supported in version > 4.2, so I really recommend upgrading, or setting the value explicitly.

Ido

from juicer.

keagen avatar keagen commented on May 29, 2024

Great! Yes, it's working now. Thanks for all your help!

Kyle

from juicer.

Related Issues (20)

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.