Skip to content

Error: wrong header #51

@Chandrima-04

Description

@Chandrima-04

Hi,

I have installed metapi using micromamba. Now am trying to run the code, but getting this error:

`'/pbtech_mounts/homes051/chb4004/micromamba/envs/metapi/lib/python3.11/site-packages/metapi'
wrong header: Index(['short_forward_reads', 'short_reverse_reads'], dtype='object')
Running metapi mag_wf:
snakemake --snakefile /pbtech_mounts/homes051/chb4004/micromamba/envs/metapi/lib/python3.11/site-packages/metapi/snakefiles/mag_wf.smk --configfile ./config.yaml --cores 240 --until all --rerun-incomplete --keep-going --printshellcmds --reason --use-conda --conda-prefix ~/.conda/envs --profile ./profiles/slurm --local-cores 8 --jobs 30

Real running cmd:
snakemake --snakefile /pbtech_mounts/homes051/chb4004/micromamba/envs/metapi/lib/python3.11/site-packages/metapi/snakefiles/mag_wf.smk --configfile ./config.yaml --cores 240 --until all --rerun-incomplete --keep-going --printshellcmds --reason --use-conda --conda-prefix ~/.conda/envs --profile ./profiles/slurm --local-cores 8 --jobs 30
`

I had initialized my folder using
metapi init -d . -s metapi.tsv

This is my slurm script:
`#!/bin/sh

#SBATCH --nodes=1
#SBATCH --ntasks-per-node=1
#SBATCH --cpus-per-task=4
#SBATCH --time=168:00:00
#SBATCH --mem=25GB
#SBATCH --job-name=metapi
#SBATCH --error metapi--%j.err

micromamba shell hook -s bash
eval "$(~/bin/micromamba shell hook -s bash)"
micromamba activate metapi

metapi mag_wf all --use-conda --run-remote`

This is my sample file. The header seems to be correct based on documentation. Can you let me know what is going wrong?
Is there an example code/more documentation available?

metapi - Sheet1.csv

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions