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

I can't find the compare_methylation.py script and I can't download the sample data #1096

Closed
lanyunxin opened this issue Jul 25, 2023 · 6 comments

Comments

@lanyunxin
Copy link

--2023-07-25 20:11:51-- http://s3.climb.ac.uk/nanopolish_tutorial/methylation_example.tar.gz
Resolving s3.climb.ac.uk (s3.climb.ac.uk)... 147.188.173.14
Connecting to s3.climb.ac.uk (s3.climb.ac.uk)|147.188.173.14|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://s3.climb.ac.uk/nanopolish_tutorial/methylation_example.tar.gz [following]
--2023-07-25 20:11:51-- https://s3.climb.ac.uk/nanopolish_tutorial/methylation_example.tar.gz
Connecting to s3.climb.ac.uk (s3.climb.ac.uk)|147.188.173.14|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-07-25 20:11:52 ERROR 404: Not Found.

@rdeborja
Copy link
Contributor

The script and example data can be found in the following bundle:

warwick.s3.climb.ac.uk/nanopolish_tutorial/methylation_example.tar.gz

Issue reference:
#1069

@lanyunxin
Copy link
Author

There is only sample data in this bundle, and there is no script, please check it again, trouble

@rdeborja
Copy link
Contributor

Hi @lanyunxin,

I just re-downloaded and unarchived the file and the script is in the directory:

$ ls -lah methylation_example/compare_methylation.py
-rwxr-x--x  1 user  staff   2.9K 14 May  2018 methylation_example/compare_methylation.py
$ tree -L 1 methylation_example
methylation_example
├── albacore_output.fastq
├── bisulfite.ENCFF835NTC.example.tsv
├── compare_methylation.py
├── fast5_files
└── reference.fasta

@rdeborja
Copy link
Contributor

Note that I used both wget and curl to download the file. Here are the specific commands I used to download and unarchive:

Using wget

$ wget warwick.s3.climb.ac.uk/nanopolish_tutorial/methylation_example.tar.gz
$ tar xvfz methylation_example.tar.gz

Using curl:

$ curl -O warwick.s3.climb.ac.uk/nanopolish_tutorial/methylation_example.tar.gz
$ tar xvfz methylation_example.tar.gz

@lanyunxin
Copy link
Author

Can you send me the script directly as I really didn't find the script in the sample data

@rdeborja
Copy link
Contributor

rdeborja commented Aug 4, 2023

While the script should be in the root of the extracted methylation_example directory,
I have submitted a PR to include the compare_methylation.py script as part of nanpolish: #1099

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

2 participants