-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Visualize.py? #222
Comments
Aha..... I think reinstall isoquant with v3.5.0 will address this issue, since visualize.py does not use scr package installed via pip. |
Hi @ccmeth - just checking in to see if you resolved your issue? While visualization.py was implemented in version 3.5, we have added functionality to process Isoquant runs from previous versions - it just takes longer! |
Thanks for your reply! In fact, reinstall isoquant with v3.5 could directly use visualize.py, however, I met with several issues needed to be addressed. Firstly, I run isoquant (v3.5) with fastq files and generate an output dir named "PG_VS_AG_new", within which two dir existed, PG and AG, which could be seen below. However, based on the instruction, I firstly run "visualize.py PG_VS_AG_new/ --gene_list genelist.txt --viz_output PG_VS_AG_new_vis", one issue occurred: "Directory not found: PG_VS_AG_new/OUT" "FileNotFoundError: Specified sample subdirectory does not exist." Therefore, based on it, I changed the path of output dir from "PG_VS_AG_new/" to "PG_VS_AG_new/PG/", unfortunately, another issue occurred: "AssertionError: Params file not found: PG_VS_AG_new/PG/.params". What's the meaning of params? |
HI @ccmeth I see, thank you for the context. ".params" is a file (pickle serialization) we generate that captures all your parameters. Would you mind sending your isoquant.log? Thanks! |
Sure. Please see the attachment. Thanks again for your help! |
Thank you! I've identified the issue and will patch hopefully within the day! |
hi @ccmeth I have opened up a PR that will address this issue! I know Andrey is OOO at the moment, so the changes are on the find_genes branch if it doesn't get pulled in immediately! |
Thanks for your help! Look forward to it! |
Hi, developer This is a little strange since I did not use "--ref-only". I therefore checked the visualize.py and found lines 100-101 were related to it. What's the meaning of output.extended_annotation? I did not find the definition. |
Another question is related to read_assignments.tsv. |
Dear @ccmeth Each line in read_assignments contain only a single read assignment to a single known isoform. Thus, all event are related only to one isoform indicated in column 4. If a read is assigned ambiguously (as in your example), it has several entries, each containing information about a single assignment. Best |
The original visualization issue should be fixed now in IsoQuant 3.5.1. |
Hi, developers,
Thanks a lot for providing such a powerful tool for us to analyze ONT data. I installed isoquant with version 3.4.2 by means of "conda create -c conda-forge -c bioconda -n isoquant python=3.8 isoquant". Today, I noticed that visualize.py could be utilized to interpret data, however, I did not found it in 3.4.2 environment and thus directly downloaded it from github. Unfortunately, I ran an issue in installing src module via "pip install src":
AttributeError: 'NoneType' object has no attribute 'has_pure_modules'
By the way, I guessed that visualize.py may be an update introduced in the latest version in v3.5.0, therefore I wondered whether reinstall isoquant with 3.5.0 will address this issue?
The text was updated successfully, but these errors were encountered: