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

aaftf filter URL issue #28

Open
Bambi3024 opened this issue May 2, 2024 · 3 comments
Open

aaftf filter URL issue #28

Bambi3024 opened this issue May 2, 2024 · 3 comments

Comments

@Bambi3024
Copy link

Hello! I tried to run the script for aaftf filter but terminal gave me always the same error:
Running AAFTF v0.5.0
error with url https://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/000/819/615/GCF_000819615.1_ViralProj14015/GCF_000819615.1_ViralProj14015_genomic.fna.gz aaftf-filter_85caa12f/GCF_000819615.1_ViralProj14015_genomic.fna.gz
Traceback (most recent call last):
File "/mnt/home/dematth2/anaconda3/envs/aaftf/bin/AAFTF", line 8, in
sys.exit(main())
File "/mnt/home/dematth2/anaconda3/envs/aaftf/lib/python3.7/site-packages/AAFTF/AAFTF_main.py", line 1113, in main
args.func(parser, args)
File "/mnt/home/dematth2/anaconda3/envs/aaftf/lib/python3.7/site-packages/AAFTF/AAFTF_main.py", line 53, in run_subtool
submodule.run(parser, args)
File "/mnt/home/dematth2/anaconda3/envs/aaftf/lib/python3.7/site-packages/AAFTF/filter.py", line 65, in run
earliest_file_age = os.path.getctime(acc_file)
File "/mnt/home/dematth2/anaconda3/envs/aaftf/lib/python3.7/genericpath.py", line 65, in getctime
return os.stat(filename).st_ctime
FileNotFoundError: [Errno 2] No such file or directory: 'aaftf-filter_85caa12f/GCF_000819615.1_ViralProj14015_genomic.fna.gz'
======= This is where my script ends! =========

I tried to modify the link because, if i delete the last part and i copy on my internet page i can download the Escherichia coli's sequence but never has changed on the terminal...i obtained the same error.
I tried also to modify the script first by adding the genome directory (before i downloaded it) with the options -u but it keeps insisting on the URL and then i tried to add the right URL instead, but it keeps giving an error on that initial URL.

Thank you 👍

Copy link
Member

I’ll see why the downloads may have an issue. You can also download manually.

@Bambi3024
Copy link
Author

Thank you. Is there a manual, or a more detailed documentation, for this pipeline I can use? Or maybe is it included in a publication?
Thanks again,
Martina

@hyphaltip
Copy link
Member

hyphaltip commented Dec 11, 2024 via email

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