-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There are too few interaction signals to manually adjust them in Juicebox #3
Comments
Sorry for my late reply, The heatmap plotting from Your genome’s high homozygosity may result in most of the mapping quality of pore-c fragments being smaller than 1. cphasing pairs2mnd porec.pairs.gz -o porec.mnd.txt -q 0 Best regards, |
Thank you for your suggestion. We will fix this limitation in the future or add a function to split long contigs. Best regards, |
Dear Dr. Yibin, Best regards, |
Dear Dr. Yibin:
The resulting groups.q1.500k.wg.png is as shown below: However, the interaction signals in Juicebox are very good, as shown here: I am not sure where the issue lies—whether I made a mistake in my operations—but when I used the phasing mode previously, the generated plots didn’t seem to have any issues. I look forward to your reply. Best regards, |
Sorry, I misspoke earlier. It's still the porec data, but I'm using the --mode haploid. The command is as follows:
|
I am very sorry for replying so late. The problem of losing contacts is a bug of the cphasing pairs2cool command; you can add the parameter of --low-memory to generate a new .cool file to skip it. And we will fix it in the next release. One other note: The Best wishes. |
Dear Dr. Yibin: Since most of my genomes were manually fragmented during scaffolding, I was confused for some time about whether to use the It is obvious that the chromosome sizes do not match those in the Juicebox screenshot above. However, when I used the groups.review.agp file, the heatmap appeared normal, as shown below: So, should groups.review.agp indeed be used, or does the workflow of cphasing not align with your expected output? Best wishes. |
Hello,
First of all, thank you very much for developing such an excellent phasing and scaffolding tool. However, I have encountered some issues while using it.
I first assembled hap1.fa and hap2.fa using hifiasm, each approximately 1 GB in size. Then, I merged them into a single file named output.fa. Subsequently, I used the following commands:
cphasing pipeline -f output.fa -pcd porec.fq.gz -t 100 -n 18:2 -hcr
ln -sf cphasing_output/porec.pairs.gz ./
ln -sf cphasing_output/4.scaffolding/groups.agp ./
cphasing pairs2mnd porec.pairs.gz -o porec.mnd.txt
cphasing utils agp2assembly groups.agp > groups.assembly
docker run -i --rm -w ${PWD} -u $(id -u):$(id -g) -v /calculate:/calculate -v /data:/data hic:v2.1 /software/3d-dna-201008/visualize/run-assembly-visualizer.sh groups.assembly porec.mnd.txt
I then loaded the resulting groups.assembly and groups.hic files into Juicebox for manual adjustment, but I found that the interaction signals were too sparse to make adjustments effectively.

Here is a screenshot of the Juicebox view:
Additionally, the scaffolding plot generated directly by cphasing (without manual adjustment) looks as follows:

The results seem excellent, and I only need to adjust a few contigs to achieve a nearly perfect phased genome. However, due to the low signal visibility in Juicebox, I am unable to complete this task.
As mentioned earlier, the merged genome is 2 GB in size, and the porec data is only about 25 GB. I wonder if the low data volume in phasing mode is causing the weak signal display in Juicebox, or if there is any way to enhance the signal visibility in Juicebox to help me adjust misassembled contigs. Alternatively, what amount of porec data would be required for this genome to display strong interaction signals in Juicebox
Thanks!
The text was updated successfully, but these errors were encountered: