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

error in line 109 Grid_options #20

Open
saras224 opened this issue Jul 29, 2021 · 9 comments
Open

error in line 109 Grid_options #20

saras224 opened this issue Jul 29, 2021 · 9 comments

Comments

@saras224
Copy link

Hi @bsiranosian
I am trying run your tool but it is giving some error:
snakemake -s /home/rsharma/lathe/Snakefile --configfile /home/rsharma/lathe/config.yaml --cores 5
KeyError in line 109 of /home/rsharma/lathe/Snakefile:
'grid_options'
File "/home/rsharma/lathe/Snakefile", line 109, in
How do I resolve the error?

Thanks in Advance
Saraswati

@bsiranosian
Copy link
Contributor

Hi, this looks like it might be an error in the config file, where usegrid is set True when you need it to be false.

Look at rule assemble_canu: in the Snakefile for the different ways canu can be executed.

@saras224
Copy link
Author

Thanks @bsiranosian for the quick response!
I corrected the error line in config.yaml, but now it shows a new error saying that :
Building DAG of jobs...
WildcardError in line 242 of /home/rsharma/lathe/Snakefile:
Wildcards in input files cannot be determined from output files:
'contig_cutoff'
Screenshot from 2021-07-30 11-46-45

Thanks
Saraswati

@bsiranosian
Copy link
Contributor

Can you post your config file and file_names_txt?

@saras224
Copy link
Author

config.yaml:
config.txt
file_names.txt:
file_names.txt

@saras224
Copy link
Author

saras224 commented Jul 30, 2021

Hi @bsiranosian
I have posted the files.
I want to know what should be the genome_size. I have environmental metagenome sample. I have used 50m,100m, What does "m" mean here? Is it mbasepairs?

@saras224
Copy link
Author

saras224 commented Aug 4, 2021 via email

@saras224
Copy link
Author

saras224 commented Aug 6, 2021

just a reminder still waiting for your response :) @bsiranosian

Saraswati

@dgmaghini
Copy link
Collaborator

Hi Saraswati,

To answer your questions:

  1. The "m" in genome size is in megabase pairs. The default parameters in the config file are for a standard human gut - you can adjust these values up or down depending on whether you expect your sample to be more or less diverse.
  2. Please pull the repo; I just made some changes that should hopefully solve that particular error. In general, it's fine to use a contig cutoff size of 0 to avoid filtering out any contigs.
  3. In your file_names.txt file, please delete your header line or add a comment character (#) at the start- otherwise, the Snakefile will think that the header line corresponds to a sample.

@saras224
Copy link
Author

Hi @dgmaghini
Thanks for your response.
I tried running with 0 contig size and it started to process but is not doing assembly and showing strange lines on the terminal that I am not able to figure out. Please help me understand where it demands the changes in the config file. I have given sample name as W1, on the terminal it shows :
find: 'W1/0.basecall/raw_calls//.fastq': No such file or directory
Does it want me to put the nanopore reads in this directory?
But I observed that it makes a W1 directory in my home directory and puts the results in that.
I am pasting the whole terminal output here so that you can see where it is wrong.
terminalout.txt

Thanks in Advance
Saraswati

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