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

Error with calculation of read length statistics #13

Open
ChloeAmbroset opened this issue May 6, 2021 · 5 comments
Open

Error with calculation of read length statistics #13

ChloeAmbroset opened this issue May 6, 2021 · 5 comments

Comments

@ChloeAmbroset
Copy link

Hey,
I've installed SequelTool and when I run the following command,
srun ./SequelTools.sh -t Q -u ../../0_sequelTool/bam_loc_file.txt -n 15 -o ../../0_sequelTool/
the tool crashed and write this error :
Beginning quality control function
Running in NO_SCRAPS mode
/shared/ifbstor1/projects/mbovis_diversity/Mbv-analyze/SequelTools/Scripts/./SequelTools.sh: line 676: generateReadLenStats_noScraps.py: command not found
ERROR: Calculation of read length statistics failed!

Can you help me to solve the problem ?
Thanks a lot in advance

Best Regards

Chloé

@DavidEHufnagel
Copy link
Collaborator

DavidEHufnagel commented May 6, 2021 via email

@ChloeAmbroset
Copy link
Author

Thanks David for your reply.
I work on a cluster and Python is installed.I bigan with the module load (python, r and samtools). I've check for python "python --version" as you mentionned and indeed it returns the version of Python. So I've try again to run my command line but the problem still persists ...
Do you have any idea ?
thanks again for your help ... (I didn't mentionned that I'm a biologist and sometimes I'm lost in this dark side of bioinfo ;-))

Chloé

@DavidEHufnagel
Copy link
Collaborator

DavidEHufnagel commented May 7, 2021 via email

@msnoon
Copy link

msnoon commented Aug 8, 2022

Hi David, I am getting a similar error and I am sure all required tools are on the path. Could you help resolve this??

SequelTools.sh -t Q -v -u subFiles.txt
Beginning quality control function

Running in NO_SCRAPS mode
Extracting data from .bam files
Data extraction was sucessful
Beginning calculation of read length statistics
Traceback (most recent call last):
File "/hdd_scratch1/msn/tools/SequelTools/Scripts/generateReadLenStats_noScraps.py", line 94, in
start = int(coord.split("")[0]); stop = int(coord.split("")[1])
ValueError: invalid literal for int() with base 10: 'ccs'
ERROR: Calculation of read length statistics failed!

@ywddwed
Copy link

ywddwed commented Apr 12, 2023

Hi David,
I run the command on Linux and got a similar error and I am sure all requires tools are in conda. I try to run it
directly in the command-line, but but the problem still persists ...
Do you have any idea ?
my command : /nfs_genome1/software/SequelTools/Scripts/SequelTools.sh -t Q -u subFiles.txt
the error:
Beginning quality control function

Running in NO_SCRAPS mode
/nfs_genome1/software/SequelTools/Scripts/SequelTools.sh: line 676: generateReadLenStats_noScraps.py: command not found
ERROR: Calculation of read length statistics failed!

Looking forward to your reply!

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

4 participants