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

VIBRANT PATH ERROR #28

Open
CynthiaChibani opened this issue Dec 19, 2024 · 1 comment
Open

VIBRANT PATH ERROR #28

CynthiaChibani opened this issue Dec 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@CynthiaChibani
Copy link

Description of the bug

Hey there, i am trying to run the pipeline but we are getting error at step 15

It seems that the path is not set up correctly here and I have no idea how to resolve this as the script is created automatically upon running the pipeline.

Command used and terminal output

[b3/c9d89b] VIROPROFILER:VIRCONTIGS_PRE    | 1 of 1, failed: 1 ✘
Command error:
  cat: VIBRANT_contigs: Is a directory
  cat: VIBRANT_log_run_contigs.log/VIBRANT_phages_contigs/contigs.phages_combined.fna: Not a directory

This is due to the following command (cat VIBRANT_contigs VIBRANT_log_run_contigs.log/), which is probably a bug as the input file is stored as
/work_beegfs/sunam162/viro/work/b3/c9d89b208746dc12ad8c7f06ef20e3/VIBRANT_contigs/VIBRANT_phages_contigs/contigs.phages_combined.fna

Problematic script:

$ cat /work_beegfs/sunam162/viro/work/b3/c9d89b208746dc12ad8c7f06ef20e3/.command.sh
#!/bin/bash -euo pipefail
cat VIBRANT_contigs VIBRANT_log_run_contigs.log/VIBRANT_phages_contigs/contigs.phages_combined.fna | seqkit fx2tab -n > vibrant_vcontigs.list
csvtk grep -t -r -f checkv_quality -p 'Complete|High-quality|Medium-quality|Low-quality' quality_summary.tsv | cut -f1 | sed 1d > checkv_vcontigs.list
cat virus_dvf.list checkv_vcontigs.list vibrant_vcontigs.list | sort -u > putative_vcontigs_pref1.list
seqkit grep -f putative_vcontigs_pref1.list contigs_nrclib.fasta > putative_vcontigs_pref1.fasta

Relevant files

No response

System information

No response

@CynthiaChibani CynthiaChibani added the bug Something isn't working label Dec 19, 2024
@rujinlong
Copy link
Collaborator

Hi Cynthia, did you modified the /work_beegfs/sunam162/viro/work/b3/c9d89b208746dc12ad8c7f06ef20e3/.command.sh script manually? The first cat command in this script should look like cat VIBRANT_contigs/VIBRANT_..., but yours missed an / after the VIBRANT_contigs folder. Could you please try to fix this by deleting the output of VIBRANT step, and rerun the pipeline?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants