Prepocessing does not work

Open
#4 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
bash, python

Research direction

Start with the repository's documented preprocess.sh invocation and inspect how that script is installed or exposed in the Python environment. Reproduce the command and the SLURM example using the metagenomic FASTQ inputs; done means the command can locate and run preprocess.sh without the reported command-not-found error.

Written by the indexing model from the issue text.

Description

Hello, I was trying to use your tool for checking metagenomics fastq.gz files. I am working in HPC, so I created a new environment where I downloaded conda install preprocessing -c Fasnicar. The problem is when I send the command you put parallel -j NCPU 'preprocess.sh -i {} [ other parameters]' ::: ls input_folder

Academic tradition requires you to cite the works on which your paper is based.
If you use programs that use GNU Parallel to process data for an article in a scholarly publication, please cite
scientific publication, please cite:

Tange, O. (2024, Sept. 22). GNU Parallel 20240922 ('Gold Apollo AR924').
Zenodo. https://doi.org/10.5281/zenodo.13826092

This helps fund further development; AND IT DOES NOT COST YOU A CENT.
If you pay 10000 euros you should feel free to use GNU Parallel without citations.

Read more about GNU Parallel funding and the citation notice:
https://www.gnu.org/software/parallel/parallel_design.html#citation-notice

To silence this citation warning: run 'parallel --citation' once.

Come on: You have run Parallel 10 times. Isn't it time
to run 'parallel --citation' once to silence the citation alert?

/usr/bin/bash: preprocess.sh: command not found

and even if I go into the preprocess folder, where I see the file, I get the same error.

I created a sh job I :

#!/bin/bash 
#SBATCH --account=francesconimichela
#SBATCH --nodes=1
#SBATCH --mem=200G
#SBATCH --ntasks=100
python /share/project9/home/francesconimichela/preprocessing/preprocess.sh -i {} ::: /share/project9/home/francesconimichela/concat_I3lung/*

but again, it doesn't work. I can't figure out how to make the command go.
I apologize if this is a silly question or if I didn't explain myself well but there are really few explanations

Michela

Dominant language
Python
Stars
15
Forks
3
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SegataLab/preprocessing

All issues in SegataLab/preprocessing

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.