-
Notifications
You must be signed in to change notification settings - Fork 23
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
SquigglePlot command is not working #64
Comments
Hello, That looks like you are putting a gzipped signal file to SquigglePlot. It currently doesn't accept gzipped signal files. Try unzipping it and trying again. James |
Hi James, [tmhtxt53@cn001 ~]$ python /cm/shared/apps/squigglekit/1.5.1a/SquigglePlot.py /condo/kisslab/tmhtxt53/GridIon/m6Apaper_data/SquiggleKit/SRR8767348_squiggle-pull.tsv --raw_signal --save SRR8767348_squigglePlot.png --save_path /condo/kisslab/tmhtxt53/GridIon/m6Apaper_data/SquiggleKit SquigglePlot - plotting the raw signal data after (optional) conversion to pA |
Hello, You are missing the argument in front of the signal file in your command. It should be
James |
Hi, sorry for my mistake. I did again like you suggested, and it gave me warning/error like below: [tmhtxt53@cn001 ~]$ python /cm/shared/apps/squigglekit/1.5.1a/SquigglePlot.py -s /condo/kisslab/tmhtxt53/GridIon/m6Apaper_data/SquiggleKit/SRR8767348_squiggle-pull.tsv --raw_signal --save SRR8767348_squigglePlot.png --save_path /condo/kisslab/tmhtxt53/GridIon/m6Apaper_data/SquiggleKit And endless output png files as here. Is it supposed like this? Thanks! |
Hello, SquiggleKit does not do base-to-signal alignment or modification detection. It was built primarily to allow users to visualise the signal data to get more comfortable with the data to use in other methods, or to visually check strange results. If you are looking for base-to-signal alignment, please use https://github.com/hiruna72/squigualiser by Hiruna from our group. The output for RNA004 being in fast5 format from MinKNOW is a bug by ONT. I think they have fixed it now. Either way, nanopore has a conversion tool for fast5->pod5 in their pod5 tools here https://github.com/nanoporetech/pod5-file-format/ or if you want to use slow5, we have a fast5->slow5 in slow5tools https://github.com/hasindu2008/slow5tools I hope this helps. James |
Hi,
I tried the SquigglePlot command, and it gave me error like below. Could you please let me know how to fix it?
python /cm/shared/apps/squigglekit/1.5.1a/SquigglePlot.py -s /condo/kisslab/tmhtxt53/GridIon/m6Apaper_data/SquiggleKit/SRR8767348_squiggle-pull.tsv.gz --raw_signal --save SRR8767348_squigglePlot.png --save_path /condo/kisslab/tmhtxt53/GridIon/m6Apaper_data/SquiggleKit
Error:
Cannot convert the signal file. Will plot the values provided as is.
Traceback (most recent call last):
File "/cm/shared/apps/squigglekit/1.5.1a/SquigglePlot.py", line 474, in
main()
File "/cm/shared/apps/squigglekit/1.5.1a/SquigglePlot.py", line 198, in main
for l in sz:
File "/cm/local/apps/python3/lib/python3.9/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
The text was updated successfully, but these errors were encountered: