Skip to content

Issue with seq-gc #27

@peebeenojay

Description

@peebeenojay

Hello,

I am trying to run your gggenomes tutorial and I am having some trouble for the GC content as shown in the tutorial (here).
I am using your emales.fna data and have run the protocol (with some hiccups but) successfully until this point.

I believe the issue I am having is related to samtools/bedtools, which are needed for this part of the analysis.

After installing both, I try to run:
seq-gc -Nbw 50 emales.fna > emales-gc.tsv

Actually like this, because I am running on macOS Monterey 12.2.1 Terminal:
perl seq-gc.pl -Nbw 50 emales.fna > emales-gc.tsv

And I get the error messages:

[E::fai_build3_core] Failed to open the file seq-gc
[faidx] Could not build fai index seq-gc.fai
cut: seq-gc.fai: No such file or directory
Error: The requested fasta database file (seq-gc) could not be opened. Exiting!

I have tried running with and without the 'perl' and the '.pl', and this is the only way it recognises there is even a seq-gc to run.

Full disclosure: although I am very comfortable in R, I am not used to using any of the other languages that are present in the tutorial. Nevertheless, I have been able to run everything up until this point, which is what made me think it may be an issue with the code itself.

Thank you for your time in advance, and thank you for gggenomes!
Cátia

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions