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

Can't build DB? False | ariba prepare_ref | no such file #37

Open
tseemann opened this issue Apr 2, 2019 · 4 comments
Open

Can't build DB? False | ariba prepare_ref | no such file #37

tseemann opened this issue Apr 2, 2019 · 4 comments

Comments

@tseemann
Copy link

tseemann commented Apr 2, 2019

False
no such file
ariba prepareref -f /home/linuxbrew/db/temp_aribaX5nkguz0r/temp_fasta_ref.fasta -m /home/linuxbrew/db/temp_aribaX5nkguz0r/temp_meta_ref.tsv --cdhit_clusters /home/linuxbrew/db/temp_aribaX5nkguz0r/cdhit_cluster_ref seroba/ariba_db/01/ref
False
no such file
ariba prepareref -f /home/linuxbrew/db/temp_aribaXxkf8ld23/temp_fasta_ref.fasta -m /home/linuxbrew/db/temp_aribaXxkf8ld23/temp_meta_ref.tsv --cdhit_clusters /home/linuxbrew/db/temp_aribaXxkf8ld23/cdhit_cluster_ref seroba/ariba_db/02/ref
False
no such file
ariba prepareref -f /home/linuxbrew/db/temp_aribaXhf22fy64/temp_fasta_ref.fasta -m /home/linuxbrew/db/temp_aribaXhf22fy64/temp_meta_ref.tsv --cdhit_clusters /home/linuxbrew/db/temp_aribaXhf22fy64/cdhit_cluster_ref seroba/ariba_db/03/ref
False
no such file
ariba prepareref -f /home/linuxbrew/db/temp_aribaXkkhn_2b7/temp_fasta_ref.fasta -m /home/linuxbrew/db/temp_aribaXkkhn_2b7/temp_meta_ref.tsv --cdhit_clusters /home/linuxbrew/db/temp_aribaXkkhn_2b7/cdhit_cluster_ref seroba/ariba_db/04/ref
False
@antunderwood
Copy link
Contributor

+1
I get the same thing after installation via conda

@antunderwood
Copy link
Contributor

antunderwood commented Apr 12, 2019

It works if you include a trailing slash!!

seroba createDBs DB/ 71

This can be solved by replacing all instances of os.path.dirname(self.out_dir) with self.out_dir in the file ref_db_creator.py.

See this PR #38

@tseemann
Copy link
Author

Thanks Ant! @aunderwo

@VoronDM
Copy link

VoronDM commented Dec 17, 2019

Hi!
seroba createDBs database/ 71
many ignored sequences in ariba output and "no such file" warnings.

total.log

For example ariba_db folder contain such files:

DB_part.zip

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

3 participants