Comments (3)
Actually, I think this is the easiest way to do it?
genome=sys.argv[2]
if len(sys.argv) == 4:
filename=sys.argv[3]
elif genome == 'hg19':
filename='/seq/references/Homo_sapiens_assembly19.fasta'
elif genome == 'mm9':
filename='/seq/references/Mus_musculus_assembly9.fasta'
elif genome == 'mm10':
filename='/seq/references/Mus_musculus_assembly10.fasta'
elif genome == 'hg18':
filename='/seq/references/Homo_sapiens_assembly18.fasta'
else:
print 'Usage: %s <restriction enzyme> <genome> [location]' % (sys.argv[0])
print '<genome> not found and [location] not defined'
sys.exit(1)
from juicer.
Oh. I see that this is fixed in master. My bad. Sorry.
from juicer.
I keep getting this error message:
$ python ./generate_site_positions.py 'DpnII' 'hg19'
File "./generate_site_positions.py", line 9
print 'Usage: %s [location]' % (sys.argv[0])
^
SyntaxError: invalid syntax
I tried by adding the location in the command line (python generate_site_positions.py DpnII hg19 ~/test/references/Homo_sapiens_assembly19.fasta --> got same error
Then, I changed the paths in the file generate_site_positions.py, I changed the path from
filename='/seq/references/Homo_sapiens_assembly19.fasta' to
filename='~/test/references/Homo_sapiens_assembly19.fasta' and it did not work.
Could you please help me to figure out what is wrong?
Thanks,
Anyi
from juicer.
Related Issues (20)
- Calculating norms for zoom BP_100000java.lang.ArrayIndexOutOfBoundsException: 1296 HOT 1
- GPU/CUDA Installation Not Detected HOT 2
- sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
- 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
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.