Comments (7)
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.
this requires a Java/Alpine container as base https://hub.docker.com/_/ibmjava
Using 1.22
from otb.
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.
You don't need xvfb
for the juicer_tools jar to produce the hic
file.
from otb.
I was thinking about putting it in so that it'd be a fully functional Juicer Singularity
from otb.
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.
this is in and works.
from otb.
Related Issues (20)
- Bring in gfastats --seq-report? HOT 5
- add -l to the params
- otb.sh needs to be updated for hic/mat/pat reads HOT 1
- gfa2fasta error in phasing mode
- ragtag on haplotypes for scaffolding should be optional. HOT 2
- contributions wiki page and README HOT 2
- process K_mer_counting filt_fastq_ch needs to be flattened so that all input hifi reads are k-mer counted. HOT 1
- env_check needs to check NXF_SINGULARITY_LIBRARYDIR, added to slurm scritps and tutorials HOT 2
- ragtag patch step is hella slow. HOT 4
- procedures for major tool changes and versioning for otb genomes HOT 1
- otb.sh doesn't handle wildcards handover to nextflow
- FCS-adaptor process add HOT 1
- juicer pre needs to be run again
- Multiple BAM inputs cause bad link to data
- Singularity library cache environmental variables not propagating to scripts
- Possible issue with $BUSCO check in template.slurm files HOT 1
- HiC forward/reverse read files swapped in run.nf HiFiASM call HOT 1
- Pipeline not starting scaffolding steps due to missing --scaffold flag HOT 1
- yahs not finding inter-contig links due to missorted aln.bam file HOT 1
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 otb.