Comments (4)
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.
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.
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.
Great! Yes, it's working now. Thanks for all your help!
Kyle
from juicer.
Related Issues (20)
- After manual correction of juicebox convert to fasta
- awk error
- Java memory error
- ***! Error! Either inter.hic or inter_30.hic were not created HOT 4
- The sample data link in the wiki docs are no longer accessible
- More restriction enzyme sites of Arima than Juicer provided, how to modified juicer.sh HOT 4
- Juicer memory usage
- Installation files absent HOT 1
- Error while Normalizations HOT 1
- juicebox format to fasta: coordinates conversion error HOT 1
- error with Java when generating out_JBAT.assembly following Yahs protocol (Yet another HIC scaffolding tool)
- strange output of merged1.txt
- Matrix size
- .hic file chr names NC_000001.11
- insufficient memory for the Java Runtime Environment - CPU HOT 1
- samtools sort: fail to open "./samtools.36604.8950.tmp.1019.bam": Too many open files HOT 2
- Trio-binning genome assembly and juicer error
- Sorted file and dups/no dups files do not add up in dedup step HOT 1
- Juicer changes chromosome names HOT 1
- Not able to see the specified normalizations (using -k) in the hic file after juicertools pre
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from juicer.