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

Issues running on cluster and locally #8

Open
HJeffery opened this issue Sep 16, 2021 · 3 comments
Open

Issues running on cluster and locally #8

HJeffery opened this issue Sep 16, 2021 · 3 comments

Comments

@HJeffery
Copy link

Issue for running locally:

Command:
./princess all -d /path/to/output/directory -r ont -e False -a minimap -s /path/to/fastq.gz -f /path/to/reference.fna -c chr15 -m -md /path/to/fast5/folder/

Error:
Invalid config definition: Config entries have to be defined as name=value pairs.

Issue for running on cluster:

Command:
./princess all -d /path/to/output/directory -r ont -a minimap -s /path/to/fastq.gz -f /path/to/reference.fna -c chr15 -m -md /path/to/fast5/folder/

Error:

Traceback (most recent call last):
  File "/path/to/working/directory/cluster/scheduler.py", line 79, in <module>
    raise Exception("Job can't be submitted\n"+output.decode("utf-8")+error.decode("utf-8"))
Exception: Job can't be submitted
Unable to run job: attribute "m_numa_nodes" is not a integer value.
Exiting.
@MeHelmy
Copy link
Owner

MeHelmy commented Sep 16, 2021

Thank you,

Which conda and snakemake version you are using?
What is your cluster?
Do not forget you need to decide which cluster you are using in this file princess/cluster/key_mapping.yaml
by default, it is set to system: "pbs" there is support for slurm and lsf.

The command
./princess all -d /path/to/output/directory -r ont -e False -a minimap -s /path/to/fastq.gz -f /path/to/reference.fna -c chr15 -m -md /path/to/fast5/folder/

./princess all -d /path/to/output/directory -r ont -e -a minimap -s /path/to/fastq.gz -f /path/to/reference.fna -c chr15 -m -md /path/to/fast5/folder/

Thanks,
Medhat

@HJeffery
Copy link
Author

HJeffery commented Sep 16, 2021

Hi Medhat,

I'm using a UGE cluster which is probably where the issues are coming from....

Other versions are: conda v4.10.3, snakemake v5.7.1.

Thanks for clarifying the -e is fine on its own without the False (assumed as the default was True that it required a False).

Really appreciate the help!

Heather

@MeHelmy
Copy link
Owner

MeHelmy commented Sep 16, 2021

Sure!

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