Skip to content
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

mouse assembly #25

Open
santiago-es opened this issue Jan 26, 2023 · 6 comments
Open

mouse assembly #25

santiago-es opened this issue Jan 26, 2023 · 6 comments

Comments

@santiago-es
Copy link

Hi,

Thank you for making this tool available to the community.

I have a VCF and an assembled genome for mouse long-read sequencing data. I would like to make a circos plot to visualize this. It looks like there are no mouse genome assemblies in the current build. Would you be able to provide one or provide instructions on how to appropriately add one to the Assemblies to make this possible?

Thank you

@JbaptisteLam
Copy link
Collaborator

Hi,
Indeed we don't have set up the mouse assembly in the configuration folder for now but it will be soon available,
I think it will require some adaptations too,

Best,

Jean-Baptiste

@tuannguyen8390
Copy link

Hi there,

Keen to follow up on this, it would be nice if we have some sort of tutorial on how to prepare the assembly.

In my case it is cattle.

Best,

Tuan

@JbaptisteLam
Copy link
Collaborator

Hi, comming to you very late sorry for that,
Effectively I just release a new version (more a patch than a release) handling mouse assembly, and I'm actually updating the README.md with the preparation of genome assembly, it will be there later in the day,

Best,

Jean-Baptiste

@MitoSri
Copy link

MitoSri commented Sep 14, 2023

Hi Jean! Just following up to see if the preparation of genome assembly for mouse is updated. I am trying to create one for mm10. I end up with an error
Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/raulab/Desktop/vcf2circos/vcf2circos/utils.py", line 309, in formatted_refgene with gzip.open(output_exons, "wb+") as out_e: File "/home/raulab/anaconda3/lib/python3.9/gzip.py", line 58, in open binary_file = GzipFile(filename, gz_mode, compresslevel) File "/home/raulab/anaconda3/lib/python3.9/gzip.py", line 173, in __init__ fileobj = self.myfileobj = builtins.open(filename, mode or 'rb') FileNotFoundError: [Errno 2] No such file or directory: '~/Desktop/vcf2circos/config_vcf2circos_09012023/Assembly/mm39/exons.mm39.txt.gz'

@JbaptisteLam
Copy link
Collaborator

Hi,

Sorry about that,
Can you provide me your ncbi file I will try to figure out what's going on,
You can send files to this mail [email protected]

Best,

Jean-Baptiste

@MitoSri
Copy link

MitoSri commented Nov 27, 2023

Hello Jean. Sorry I wasn't following up with the issue for a long time. I downloaded the latest config files and its working. This time its a different issue
I need a solution to display variants in the mitochondrial contigs. My variant calling is mostly in the mitochondrial DNA and when I use the unfiltered VCF with all contigs, I get the output without the chrM region. When I filter the chrM contigs and run, I get the error "No variants in /home/lab/Desktop/vcf2circos/config_vcf2circos/Static/output.vcf EXIT"
I tried including "chrM" in json file chromosome list:"chrM"..still not working.
Is there any other solution ? as I noticed that the assembly for mm10 has MT genes in all files except the cytoband info.

Update: Tried renaming contig ID in vcf file to match with assembly from MT to chrM. The following error is showing up
"Traceback (most recent call last):
File "/home/lab/anaconda3/bin/vcf2circos", line 8, in
sys.exit(main())
File "/home/lab/Desktop/vcf2circos/vcf2circos/main.py", line 135, in main
fig = fig_instance.fig()
File "/home/lab/Desktop/vcf2circos/vcf2circos/utils.py", line 459, in timeit_wrapper
result = func(*args, **kwargs)
File "/home/lab/Desktop/vcf2circos/vcf2circos/./fig.py", line 1415, in fig
trace_obj = self.trace()
File "/home/lab/Desktop/vcf2circos/vcf2circos/./fig.py", line 852, in trace
trace += self.get_traces(key)
File "/home/lab/Desktop/vcf2circos/vcf2circos/./fig.py", line 706, in get_traces
hovertexts = self.get_hovertext(key)
File "/home/lab/Desktop/vcf2circos/vcf2circos/./fig.py", line 678, in get_hovertext
list_count = [*map(lambda x: len(x), self.get_data_complexes(key)[j])]
TypeError: 'NoneType' object is not subscriptable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants