Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Submit feedback
  • Sign in
I
IMP
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 39
    • Issues 39
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • IMP
  • IMP
  • Issues
  • #62

Closed
Open
Opened Nov 07, 2015 by Shaman Narayanasamy@shaman.narayanasamy
  • Report abuse
  • New issue
Report abuse New issue

NoFiltering rule issue

The Nofiltering rule doesn't seem to be working. I get the following error:

rule PREPROCESSING_NO_FILTER:
	input: /output/Preprocessing/MG.R1.trimmed.fq, /output/Preprocessing/MG.R2.trimmed.fq, /output/Preprocessing/MG.SE.trimmed.fq, /output/Preprocessing/MT.R1.trimmed.rna_filtered.fq, /output/Preprocessing/MT.R2.trimmed.rna_filtered.fq, /output/Preprocessing/MT.SE.trimmed.rna_filtered.fq
	output: /output/Preprocessing/MG.R1.preprocessed.fq, /output/Preprocessing/MG.R2.preprocessed.fq, /output/Preprocessing/MG.SE.preprocessed.fq, /output/Preprocessing/MT.R1.preprocessed.fq, /output/Preprocessing/MT.R2.preprocessed.fq, /output/Preprocessing/MT.SE.preprocessed.fq
	log: /output/Preprocessing/Preprocessing.log
	benchmark: /output/Preprocessing/benchmarks/PREPROCESSING_NO_FILTER.json
8 of 43 steps (19%) done
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/snakemake/__init__.py", line 379, in snakemake
    greediness=greediness)
  File "/usr/local/lib/python3.4/dist-packages/snakemake/workflow.py", line 427, in execute
    success = scheduler.schedule()
  File "/usr/local/lib/python3.4/dist-packages/snakemake/scheduler.py", line 203, in schedule
    run = self.job_selector(needrun)
  File "/usr/local/lib/python3.4/dist-packages/snakemake/scheduler.py", line 322, in job_selector
    c = list(map(self.job_reward, jobs))  # job rewards
  File "/usr/local/lib/python3.4/dist-packages/snakemake/scheduler.py", line 404, in job_reward
    job.inputsize)
  File "/usr/local/lib/python3.4/dist-packages/snakemake/jobs.py", line 93, in inputsize
    self._inputsize = sum(map(os.path.getsize, self.input))
  File "/usr/lib/python3.4/genericpath.py", line 50, in getsize
    return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: '/output/Preprocessing/MT.R1.trimmed.rna_filtered.fq'

The strange thing is that the files actually exist...

This is confusing. When I run the steps indivudually, there seems to be no issue. But, when I simply launch snakemake, i.e. all the steps, it crashes because it runs almost all the preprocessing steps all over again. I guess this is because snakemake is looking for those intermediate preprocessed fastq files, but does not find it :(

Linked issues

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
2
Labels
bug Urgent
Assign labels
  • View project labels
Reference: IMP/IMP#62