Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gridss setupreference errors if no bam file provided #522

Closed
lkhilton opened this issue Aug 25, 2021 · 0 comments
Closed

gridss setupreference errors if no bam file provided #522

lkhilton opened this issue Aug 25, 2021 · 0 comments

Comments

@lkhilton
Copy link

In version 2.12 the gridss.sh script includes a check to make sure at least one input bam file is provided. This then requires me to provide an input bam file even though setupreference doesn't require a bam file. This wasn't a problem in previous versions. It would be nice to add a condition to only test for the bam file if any of do_preprocess, do_call, or do_assemble are true.

gridss/scripts/gridss

Lines 243 to 247 in d1d1f85

if [[ "$@" == "" ]] ; then
echo "$USAGE_MESSAGE" 1>&2
echo "At least one input bam must be specified." 1>&2
exit $EX_NOINPUT
fi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants