Giter Site home page Giter Site logo

mogen's People

Contributors

jianlin-cheng avatar trieuat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mogen's Issues

The first non-comment line of the file pos_max_dist_weight.txt must contain one number for pairs(i,j) where i <> j

Here is my command and error
`$java -jar /annoroad/data1/bioinfo/PMO/yuanzan/MOGEN/MOGEN-master/bin/3DGenerator.jar parameters_normal.txt

Reading parameters for genome..........................

The first non-comment line of the file pos_max_dist_weight.txt must contain one number for pairs(i,j) where i <> j

Subsequent lines of the file pos_max_dist_weight.txt must contain 2 numbers in format: chromosome value

java.lang.NullPointerException
at java.util.regex.Matcher.toMatchResult(libgcj.so.10)
at java.util.Scanner.myCoreNext(libgcj.so.10)
at java.util.Scanner.myPrepareForNext(libgcj.so.10)
at java.util.Scanner.myNextLine(libgcj.so.10)
at java.util.Scanner.hasNextLine(libgcj.so.10)
at utility.Helper.readMatrix(Helper.java:601)
at genomeReconstruction.GenomeGenerator.readGenomeParameters(GenomeGenerator.java:548)
at genomeReconstruction.GenomeGenerator.initialization(GenomeGenerator.java:157)
at genomeReconstruction.GenomeGenerator.generateStructure(GenomeGenerator.java:247)
at genomeReconstruction.GenomeGenerator.main(GenomeGenerator.java:1022)
at java.lang.reflect.Method.invoke(libgcj.so.10)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
java.lang.NullPointerException
at java.util.regex.Matcher.toMatchResult(libgcj.so.10)
at java.util.Scanner.myCoreNext(libgcj.so.10)
at java.util.Scanner.myPrepareForNext(libgcj.so.10)
at java.util.Scanner.myNextLine(libgcj.so.10)
at java.util.Scanner.hasNextLine(libgcj.so.10)
at utility.Helper.readMatrix(Helper.java:601)
at genomeReconstruction.GenomeGenerator.readGenomeParameters(GenomeGenerator.java:548)
at genomeReconstruction.GenomeGenerator.initialization(GenomeGenerator.java:157)
at genomeReconstruction.GenomeGenerator.generateStructure(GenomeGenerator.java:247)
at genomeReconstruction.GenomeGenerator.main(GenomeGenerator.java:1022)
at java.lang.reflect.Method.invoke(libgcj.so.10)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
No structure is generated !
Exception in thread "main" java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(libgcj.so.10)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Caused by: java.lang.NullPointerException
at java.util.regex.Matcher.toMatchResult(libgcj.so.10)
at java.util.Scanner.myCoreNext(libgcj.so.10)
at java.util.Scanner.myPrepareForNext(libgcj.so.10)
at java.util.Scanner.myNextLine(libgcj.so.10)
at java.util.Scanner.hasNextLine(libgcj.so.10)
at utility.Helper.readMatrix(Helper.java:601)
at genomeReconstruction.GenomeGenerator.readGenomeParameters(GenomeGenerator.java:548)
at genomeReconstruction.GenomeGenerator.initialization(GenomeGenerator.java:157)
at genomeReconstruction.GenomeGenerator.generateStructure(GenomeGenerator.java:247)
at genomeReconstruction.GenomeGenerator.main(GenomeGenerator.java:1022)
at java.lang.reflect.Method.invoke(libgcj.so.10)
...1 more
`

my pos_max_dist_weight.txt is this:
#the first coefficient is for all (chr1,chr2) where chr1 != chr2 1.0 ##coefficients for intrachromosomal contacts of chromosomes 1 1.0 2 1.0 3 1.0 4 1.0 5 1.0
pos_min_dist_weight.txt
#the first coefficient is for all (chr1,chr2) where chr1 != chr2 2.0 #coefficients for intrachromosomal contacts of chromosomes 1 4.0 2 4.0 3 4.0 4 4.0 5 4.0
neg_max_dist_weight.txt
#the first coefficient is for all (chr1,chr2) where chr1 != chr2 0.5 #coefficients for intrachromosomal contacts of chromosome 1 5.0 2 5.0 3 5.0 4 5.0 5 5.0

neg_min_dist_weight.txt
#the first coefficient is for all (chr1,chr2) where chr1 != chr2 0.5 #coefficients for intrachromosomal contacts of chromosomes 1 1.2 2 1.35 3 2.2 4 2.2 5 2.0
chr_upper_bound_id.txt
1 31 2 51 3 75 4 94 5 121

what should I do?

How to adjust the weight parameters?

I use the MOGEN to reconstruct the 3D model of xenopus tropicalis using the default parameters. The resulting evaluation file are as follows. But I am confused that how to adjust the weight parameters to improve the contact score to keep both of contact and non-contact scores for chromosomes to be maximized.

image

Looking forward to your reply, Thanks !

How to use this program?

Dear the author:

Thanks for developing such an useful tool. But I am confused about the parameters set for this tool.

I do not know how to generate the input files for the program. I seems that the tool need a detialed

manual.

I will be very grateful if you could give me some valuable advice.

I am looking forward to your help.

Very thanks.

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.