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

fastq-extractor": No such file or directory #317

Open
origami974 opened this issue Oct 11, 2024 · 2 comments
Open

fastq-extractor": No such file or directory #317

origami974 opened this issue Oct 11, 2024 · 2 comments

Comments

@origami974
Copy link

Dear Doctor
Today, my TRUST4 suddenly had a small problem:/ run-trust4 -f hg38_bcrtcr.fa --ref human_IMGT+C.fa
-1 /data/zhanqh/data_all/SRR_data/SRR29767032/SRR29767032_2.fastq.gz
-2 /data/zhanqh/data_all/SRR_data/SRR29767032/SRR29767032_3.fastq
--barcode /data/zhanqh/data_all/SRR_data/SRR29767032/SRR29767032_2.fastq.gz
--readFormat bc:0:15

Then I encountered this type of error:
[Fri Oct 11 11:35:00 2024] SYSTEM CALL: /data/zhanqh/TRUST4/TRUST4/fastq-extractor -t 1 -f hg38_bcrtcr.fa -o TRUST_SRR29767032_3_toassemble --readFormat bc:0:15
-1 /data/zhanqh/data_all/SRR_data/SRR29767032/SRR29767032_3.fastq.gz
-2 /data/zhanqh/data_all/SRR_data/SRR29767032/SRR29767032_3.fastq
--barcode /data/zhanqh/data_all/SRR_data/SRR29767032/SRR29767032_2.fastq.gz
Can't exec "/data/zhanqh/TRUST4/TRUST4/fastq-extractor": No such file or directory at ./run-trust4 line 59.
system /data/zhanqh/TRUST4/TRUST4/fastq-extractor -t 1 -f hg38_bcrtcr.fa -o TRUST_SRR29767032_3_toassemble --readFormat bc:0:15 -1 /data/zhanqh/data_all/SRR_data/SRR29767032/SRR29767032_3.fastq.gz -2 /data/zhanqh/data_all/SRR_data/SRR29767032/SRR29767032_3.fastq --barcode /data/zhanqh/data_all/SRR_data/SRR29767032/SRR29767032_2.fastq.gz failed: -1 at ./run-trust4 line 59.

I first tried reinstalling, but it didn't seem to solve the problem, and then tried modifying FastqExtractor.cpp to fastq-extractor, but the result prompted me:
Can't exec "/data/zhanqh/TRUST4/TRUST4/fastq-extractor": Permission denied at /data/zhanqh/TRUST4/TRUST4/run-trust4 line 59.
I am a bit confused now and I hope to receive your guidance

@origami974
Copy link
Author

When I tried to run the sample file, I still encountered this error:
./run-trust4 -f human_IMGT+C.fa --ref human_IMGT+C.fa -1 example/example_1.fq -2 example/example_2.fq -o TRUST_example
[Fri Oct 11 12:02:39 2024] TRUST4 v1.1.5-r549 begins.
[Fri Oct 11 12:02:39 2024] SYSTEM CALL: /data/zhanqh/TRUST4/TRUST4/fastq-extractor -t 1 -f human_IMGT+C.fa -o TRUST_example_toassemble -1 example/example_1.fq -2 example/example_2.fq
Can't exec "/data/zhanqh/TRUST4/TRUST4/fastq-extractor": No such file or directory at ./run-trust4 line 59.
system /data/zhanqh/TRUST4/TRUST4/fastq-extractor -t 1 -f human_IMGT+C.fa -o TRUST_example_toassemble -1 example/example_1.fq -2 example/example_2.fq failed: -1 at ./run-trust4 line 59.

@mourisl
Copy link
Collaborator

mourisl commented Oct 11, 2024

You need to run "make" to compile TRUST4 from the source code to obtain the executable files like "fastq-extractor" first. The alternative approach is to install TRUST4 through conda as README instructs.

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

2 participants