Code Monkey home page Code Monkey logo

Comments (7)

Astahlke avatar Astahlke commented on August 15, 2024

This is how we create .assembly and .hic for yahs

# -a option creates an assembly that is editable in juicebox
juicer_pre -a -o no_ec no_ec.bin no_ec_scaffolds_final.agp genome.fasta.fai \
        2>tmp_juicer_pre_JBAT.log
grep "PRE_C_SIZE" tmp_juicer_pre_JBAT.log | cut -d' ' -f2- > no_ec_JBAT.chrom.sizes

java -jar -Xmx250G $JB_DIR/juicer_tools_1.22.01.jar pre \
        no_ec_scaffolds.txt no_ec_yahs.out.hic.part no_ec_yahs.JBAT.chrom.sizes  --threads 40
mv no_ec_yahs.out.hic.part no_ec_yahs.out.hic

from otb.

molikd avatar molikd commented on August 15, 2024

this requires a Java/Alpine container as base https://hub.docker.com/_/ibmjava

Using 1.22

from otb.

molikd avatar molikd commented on August 15, 2024

hicstuff does actually output a juicer ready level file, that's the agb file. The yahs output needs to be converted however, I added in the juicer_pre from hicstuff into the relevant yahs processes in 977018c

we will need the above container for a juicebox run to run juicer pre, basically we need something like:

(java -jar -Xmx32G juicer_tools.1.9.9_jcuda.0.8.jar pre out_JBAT.txt out_JBAT.hic.part <(cat out_JBAT.log | grep PRE_C_SIZE | awk '{print $2" "$3}')) && (mv out_JBAT.hic.part out_JBAT.hic)

This container will need java, and should probably have the xvfb hack we use for genomescope.

from otb.

Astahlke avatar Astahlke commented on August 15, 2024

You don't need xvfb for the juicer_tools jar to produce the hic file.

from otb.

molikd avatar molikd commented on August 15, 2024

I was thinking about putting it in so that it'd be a fully functional Juicer Singularity

from otb.

github-actions avatar github-actions commented on August 15, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

from otb.

molikd avatar molikd commented on August 15, 2024

this is in and works.

from otb.

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.