I am still having trouble with this, and maybe I am not describing what I am wanting to do properly. I have a hic file that I generated using the following command:
java -Xmx10G -jar juicer_tools.jar pre -f assembly.fasta_MboI.txt alignments_sorted.txt scaffolds.hic chromosome_sizes.tsv
Where the alignments_sorted.txt file is of the following format:
0 Chr01 100000028 0 1 Chr01 99999941 1
0 Chr01 100000050 0 1 Chr01 99999949 1
0 Chr01 100000051 0 1 Chr01 99999941 1
0 Chr01 100000089 0 1 Chr01 99999941 1
0 Chr01 100000091 0 1 Chr01 99999941 1
I then generated an assembly file using the following command:
awk -f ./3d-dna-master/utils/generate-assembly-file-from-fasta.awk assembly.fasta > assembly.fasta.assembly
However, when I load scaffolds.hic and assembly.fasta.assembly into JUICEBOX, all of the assembly information (blue boxes) are placed into the first chromosome.
What I am trying to do is to get to a point where I can use the *.assembly file to make edits on an existing assembly in a manner similar to what I do when working with an assembly that I have scaffolded using JUICER. However, assembly.fasta was not generated using JUICER.
My question is: How can I generate a *.hic and *.assembly file using an existing *.fasta file that will enable me to perform edits in a manner similar to a JUICER-scaffolded assembly?
Thank you,
Jerry Jenkins