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

genome_info.txt file not created by build_midas_db.py #60

Closed
snayfach opened this issue Jun 3, 2017 · 0 comments
Closed

genome_info.txt file not created by build_midas_db.py #60

snayfach opened this issue Jun 3, 2017 · 0 comments

Comments

@snayfach
Copy link
Owner

snayfach commented Jun 3, 2017

Causes the following error when running merge_midas.py snps:

Traceback (most recent call last):
  File "/global/projectb/scratch/snayfach/tools/MIDAS-dev/scripts/merge_midas.py", line 441, in <module>
    run_program(program, args)
  File "/global/projectb/scratch/snayfach/tools/MIDAS-dev/scripts/merge_midas.py", line 431, in run_program
    snps.run_pipeline(args)
  File "/global/projectb/scratch/snayfach/tools/MIDAS-dev/midas/merge/snps.py", line 382, in run_pipeline
    species_list = merge.select_species(args, dtype='snps')
  File "/global/projectb/scratch/snayfach/tools/MIDAS-dev/midas/merge/merge.py", line 161, in select_species
    species = init_species(samples, args, dtype)
  File "/global/projectb/scratch/snayfach/tools/MIDAS-dev/midas/merge/merge.py", line 130, in init_species
    genome_info = read_genome_info(args['db'])
  File "/global/projectb/scratch/snayfach/tools/MIDAS-dev/midas/merge/merge.py", line 100, in read_genome_info
    for r in csv.DictReader(open(path), delimiter='\t'):
IOError: [Errno 2] No such file or directory: '/global/projectb/scratch/snayfach/projects/dc4/midas_db/genome_info.txt'
snayfach pushed a commit that referenced this issue Jun 6, 2017
-<genome>.features no longer required input file; file built automatically by identifying genomic locations of <genome>.ffn
-replaced usearch with vsearch
-added function to write genome_info.txt file; addresses issue #60
@snayfach snayfach closed this as completed Jun 6, 2017
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

1 participant