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

defining an output file #184

Open
Sabrin2020 opened this issue Aug 30, 2023 · 7 comments
Open

defining an output file #184

Sabrin2020 opened this issue Aug 30, 2023 · 7 comments

Comments

@Sabrin2020
Copy link

Hi all, I have difficulty defining an output file for my relative abundance run, any hints please what am I missing here?

coverm genome --genome-fasta-extension fasta  --genome-fasta-files *.fa \
> -t 24    \
> -1  *-FILTERED_R1.fastq.gz \
> -2  *-FILTERED_R1.fastq.gz --output-format dense \
> --min-read-percent-identity 95 \
> --min-read-aligned-percent 75 -o Bur_relative_abundance.tsv
error: Found argument '-o' which wasn't expected, or isn't valid in this context

USAGE:
   coverm genome --coupled <coupled>... --genome-definition <genome-definition> --genome-fasta-directory <genome-fasta-directory> --genome-fasta-extension <genome-fasta-extension> --genome-fasta-files <genome-fasta-files>... --interleaved <interleaved>... --min-read-aligned-percent <min-read-aligned-percent> --min-read-percent-identity <min-read-percent-identity> --output-format <output-format> -1 <read1>... -2 <read2>... --separator <separator> --single <single>... --threads <threads>

For more information try --help
@wwood
Copy link
Owner

wwood commented Aug 30, 2023 via email

@Sabrin2020
Copy link
Author

Sabrin2020 commented Aug 30, 2023

conda create -n coverm -c bioconda coverm
conda activate coverm
conda install -c bioconda coverm


[2023-08-30T10:18:27Z INFO  coverm] CoverM version 0.4.0
[2023-08-30T10:18:27Z INFO  coverm] Using min-covered-fraction 10%
[2023-08-30T10:18:27Z INFO  bird_tool_utils::external_command_checker] Found minimap2 version 2.22-r1101
[2023-08-30T10:18:28Z INFO  bird_tool_utils::external_command_checker] Found samtools version 1.9

@wwood
Copy link
Owner

wwood commented Aug 30, 2023 via email

@Sabrin2020
Copy link
Author

I tried to update , I uninstalled and reinstalled from here https://anaconda.org/bioconda/coverm but ended up with same version. How can I install latest version with conda please?

@wwood
Copy link
Owner

wwood commented Aug 30, 2023

Try making a new environment, or installing with install coverm==0.6.1

@franlat
Copy link

franlat commented Sep 7, 2023

I had the same issue: using conda install -c bioconda coverm would install version 0.4.0 by default, and installing version 0.6.1 raised an error. However, I stated the order of the channels (conda-forge > bioconda) and then it worked like a charm: conda install -c conda-forge -c bioconda coverm=0.6.1.

@Sabrin2020
Copy link
Author

@franlat thank you so much it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants