Skip to content

python: can't open file 'features':  #31

@complexgenome

Description

@complexgenome

Hi there,

I am using example bladder data to test and get going with 20/20+
I've data folder that has

$ ls data/
snvboxGenes.bed  snvboxGenes.fa  snvboxGenes.fa.fai

I run it as:
snakemake -s 2020plus-1.2.3/Snakefile pretrained_predict -p --cores 1 --config mutations="bladder.txt" output_dir="output_bladder" trained_classifier="2020plus_10k.Rdata"

Error I get:

python which 2020plus.py features -s output_bladder/summary.txt --tsg-test output_bladder/tsg.txt -og-test output_bladder/oncogene.txt -o output_bladder/features.txt
python: can't open file 'features': [Errno 2] No such file or directory
Error in rule features:
jobid: 2
output: output_bladder/features.txt

RuleException:
CalledProcessError in line 282 of /mnt/data1/users/sanjeev/drivers/2020/2020plus-1.2.3/Snakefile:
Command ' set -euo pipefail; python which 2020plus.py features -s output_bladder/summary.txt --tsg-test output_bladder/tsg.txt -og-test output_bladder/oncogene.txt -o output_bladder/features.txt ' returned non-zero exit status 2.
File "/mnt/data1/users/sanjeev/drivers/2020/2020plus-1.2.3/Snakefile", line 282, in __rule_features
File "/data1/software/miniconda/envs/2020plus/lib/python3.6/concurrent/futures/thread.py", line 56, in run
Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message
Complete log: /mnt/data1/users/sanjeev/drivers/2020/.snakemake/log/2024-08-06T171147.906096.snakemake.log

Which features file is it looking and where do I put?

There are files generated in output folder:

$ ls output_bladder/
oncogene.txt  simulated_summary  summary.txt  tsg.txt

Please let me know if any other information is required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions