-
Notifications
You must be signed in to change notification settings - Fork 29
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
Improper folder specification; file missing / extra file present. See documentation Calls: importMito -> checkGrep. Execution halted #100
Comments
Getting the same error, hopefully some solution will be cool, also stuck for last few days. |
Can you clarify if you are able to run |
This is the yml file for the conda environment which works for me at the moment, and does not show any error: name: /home/h4/abso493b/$/data/horse/ws/abso493b-conda_mgatk/mgatk_kernel
|
Hijacking the thread - @caleblareau I was able to run the test data ( |
### Dear Authors @caleblareau , @vincent6liu @ruochiz @AntonJMLarsson
When I'm trying to run the mgatk tenx command on my data, it collapses with the error code submitted below, and also, no snakemake.log.txt file is being populated with results, it's an empty file, with nothing.
Is there any help that I could retrieve on this issue.
**Please can you suggest how to resolve this ISSUE. It would be a great help. As I'm stuck with this since 1.5 months.
I tried the dependencies version compatibilities, like downgrading the pulp version, checking the Picard.jar installation, checking the JAVA compatibility, and also keeping the flag --keep duplicates, so my bam files are generated. but it stucks with the error above, and it crashes in the middle of the pipeline, so my snakelike .log file is empty.**
(mgatk) srishty@collin-r-server:/mnt/claw-raid/Srishty/mtscATAC/results/masked/241121-PBMC_results_masked$ ./run_mgatk.sh
Thu Jan 30 17:23:09 GMT 2025: mgatk v0.7.0
Thu Jan 30 17:23:10 GMT 2025: Found bam file: /mnt/claw-raid/Srishty/mtscATAC/results/masked/241121-PBMC_results_masked/outs/possorted_bam.bam for genotyping.
Thu Jan 30 17:23:10 GMT 2025: Found file of barcodes to be parsed: /mnt/claw-raid/Srishty/mtscATAC/results/masked/241121-PBMC_results_masked/outs/filtered_peak_bc_matrix/barcodes.tsv
Thu Jan 30 17:23:10 GMT 2025: User specified mitochondrial genome matches .bam file
Thu Jan 30 17:30:34 GMT 2025: Finished determining/splitting barcodes for genotyping.
Thu Jan 30 17:30:34 GMT 2025: Genotyping samples with 40 threads
Config file /mnt/claw-raid/Srishty/mtscATAC/results/masked/241121-PBMC_results_masked/mgatk_output/.internal/parseltongue/snake.scatter.yaml is extended by additional config specified via the command line.
Assuming unrestricted shared filesystem usage.
host: collin-r-server
Building DAG of jobs...
Using shell: /usr/bin/bash
Provided cores: 40
Rules claiming more threads will be scaled down.
Job stats:
job count
all 1
call_variants 1
make_depth_table 1
make_final_sparse_matrices 1
process_one_slice 40
total 44
Select jobs to execute...
Execute 40 jobs...
host: collin-r-server
Error in checkGrep(grep(".A.txt", files)) :
Improper folder specification; file missing / extra file present. See documentation
Calls: importMito -> checkGrep
Execution halted
(mgatk) srishty@collin-r-server:/mnt/claw-raid/Srishty/mtscATAC/results/masked/241121-PBMC_results_masked$ [E::hts_open_format] Failed to open file "/mnt/claw-raid/Srishty/mtscATAC/results/masked/241121-PBMC_results_masked/mgatk_output/temp/temp_bam/barcodes.40.temp0.bam" : No such file or directory
RuleException:
SamtoolsError in file /home/srishty/miniconda3/envs/mgatk/lib/python3.12/site-packages/mgatk/bin/snake/Snakefile.tenx, line 97:
'samtools returned with error 1: stdout=, stderr=samtools sort: can't open "/mnt/claw-raid/Srishty/mtscATAC/results/masked/241121-PBMC_results_masked/mgatk_output/temp/temp_bam/barcodes.40.temp0.bam": No such file or directory\n'
File "/home/srishty/miniconda3/envs/mgatk/lib/python3.12/site-packages/mgatk/bin/snake/Snakefile.tenx", line 97, in __rule_process_one_slice
File "/home/srishty/miniconda3/envs/mgatk/lib/python3.12/site-packages/pysam/utils.py", line 83, in call
[Thu Jan 30 17:31:14 2025]
Error in rule process_one_slice:
jobid: 0
input: /mnt/claw-raid/Srishty/mtscATAC/results/masked/241121-PBMC_results_masked/mgatk_output/.internal/samples/barcodes.40.bam.txt
output: /mnt/claw-raid/Srishty/mtscATAC/results/masked/241121-PBMC_results_masked/mgatk_output/qc/depth/barcodes.40.depth.txt, /mnt/claw-raid/Srishty/mtscATAC/results/masked/241121-PBMC_results_masked/mgatk_output/temp/sparse_matrices/barcodes.40.A.txt, /mnt/claw-raid/Srishty/mtscATAC/results/masked/241121-PBMC_results_masked/mgatk_output/temp/sparse_matrices/barcodes.40.C.txt, /mnt/claw-raid/Srishty/mtscATAC/results/masked/241121-PBMC_results_masked/mgatk_output/temp/sparse_matrices/barcodes.40.G.txt, /mnt/claw-raid/Srishty/mtscATAC/results/masked/241121-PBMC_results_masked/mgatk_output/temp/sparse_matrices/barcodes.40.T.txt, /mnt/claw-raid/Srishty/mtscATAC/results/masked/241121-PBMC_results_masked/mgatk_output/temp/sparse_matrices/barcodes.40.coverage.txt
Exiting because a job execution failed. Look above for error message
WorkflowError:
At least one job did not complete successfully.
[Thu Jan 30 17:31:14 2025]
Error in rule process_one_slice:
jobid: 25
input: /mnt/claw-raid/Srishty/mtscATAC/results/masked/241121-PBMC_results_masked/mgatk_output/.internal/samples/barcodes.40.bam.txt
output: /mnt/claw-raid/Srishty/mtscATAC/results/masked/241121-PBMC_results_masked/mgatk_output/qc/depth/barcodes.40.depth.txt, /mnt/claw-raid/Srishty/mtscATAC/results/masked/241121-PBMC_results_masked/mgatk_output/temp/sparse_matrices/barcodes.40.A.txt, /mnt/claw-raid/Srishty/mtscATAC/results/masked/241121-PBMC_results_masked/mgatk_output/temp/sparse_matrices/barcodes.40.C.txt, /mnt/claw-raid/Srishty/mtscATAC/results/masked/241121-PBMC_results_masked/mgatk_output/temp/sparse_matrices/barcodes.40.G.txt, /mnt/claw-raid/Srishty/mtscATAC/results/masked/241121-PBMC_results_masked/mgatk_output/temp/sparse_matrices/barcodes.40.T.txt, /mnt/claw-raid/Srishty/mtscATAC/results/masked/241121-PBMC_results_masked/mgatk_output/temp/sparse_matrices/barcodes.40.coverage.txt
[E::hts_open_format] Failed to open file "/mnt/claw-raid/Srishty/mtscATAC/results/masked/241121-PBMC_results_masked/mgatk_output/temp/temp_bam/barcodes.39.temp0.bam" : No such file or directory
RuleException:
SamtoolsError in file /home/srishty/miniconda3/envs/mgatk/lib/python3.12/site-packages/mgatk/bin/snake/Snakefile.tenx, line 97:
'samtools returned with error 1: stdout=, stderr=samtools sort: can't open "/mnt/claw-raid/Srishty/mtscATAC/results/masked/241121-PBMC_results_masked/mgatk_output/temp/temp_bam/barcodes.39.temp0.bam": No such file or directory\n'
File "/home/srishty/miniconda3/envs/mgatk/lib/python3.12/site-packages/mgatk/bin/snake/Snakefile.tenx", line 97, in __rule_process_one_slice
File "/home/srishty/miniconda3/envs/mgatk/lib/python3.12/site-packages/pysam/utils.py", line 83, in call
[Thu Jan 30 17:31:21 2025]
Error in rule process_one_slice:
jobid: 0
input: /mnt/claw-raid/Srishty/mtscATAC/results/masked/241121-PBMC_results_masked/mgatk_output/.internal/samples/barcodes.39.bam.txt
output: /mnt/claw-raid/Srishty/mtscATAC/results/masked/241121-PBMC_results_masked/mgatk_output/qc/depth/barcodes.39.depth.txt, /mnt/claw-raid/Srishty/mtscATAC/results/masked/241121-PBMC_results_masked/mgatk_output/temp/sparse_matrices/barcodes.39.A.txt, /mnt/claw-raid/Srishty/mtscATAC/results/masked/241121-PBMC_results_masked/mgatk_output/temp/sparse_matrices/barcodes.39.C.txt, /mnt/claw-raid/Srishty/mtscATAC/results/masked/241121-PBMC_results_masked/mgatk_output/temp/sparse_matrices/barcodes.39.G.txt, /mnt/claw-raid/Srishty/mtscATAC/results/masked/241121-PBMC_results_masked/mgatk_output/temp/sparse_matrices/barcodes.39.T.txt, /mnt/claw-raid/Srishty/mtscATAC/results/masked/241121-PBMC_results_masked/mgatk_output/temp/sparse_matrices/barcodes.39.coverage.txt
Exiting because a job execution failed. Look above for error message
WorkflowError:
At least one job did not complete successfully.
The text was updated successfully, but these errors were encountered: