HINGE icon indicating copy to clipboard operation
HINGE copied to clipboard

cannot open ./reads.fasta for 'r'

Open gabster opened this issue 5 years ago • 11 comments

when trying to download the ecoli reads for the Hinge demo, I get the following message: cannot open ./reads.fasta for 'r'. How can I solve this? Thanks, Gabi

gabster avatar Aug 22 '18 14:08 gabster

Could you run this command in the demo?

seqtk seq -a ecoli_p4_filtered.fastq > reads.fasta

Is there a reads.fasta in the current directory?

govinda-kamath avatar Aug 22 '18 15:08 govinda-kamath

Hi Govinda, thanks for the email. The problem was that I did not realize that the data needed to be downloaded from the website via wget. I did not know that the commands on the website were incomplete. It is solved now. Thanks Gabi

Gabriele Margos German National Reference Centre for Borrelia Bavarian Health and Food Safety Authority Veterinärstrasse 2 85764 Oberschleißheim Tel. 09131/68085883 email: [email protected]mailto:[email protected] [email protected]mailto:[email protected]

Von: Govinda Kamath [mailto:[email protected]] Gesendet: Mittwoch, 22. August 2018 17:03 An: HingeAssembler/HINGE Cc: Margos, Gabriele, Dr. (LGL); Author Betreff: Re: [HingeAssembler/HINGE] cannot open ./reads.fasta for 'r' (#151)

Could you run this command in the demo?

seqtk seq -a ecoli_p4_filtered.fastq > reads.fasta

Is there a reads.fasta in the current directory?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/HingeAssembler/HINGE/issues/151#issuecomment-415064209, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Aoo3YR7K4jSbEH0yw_KcXZblC8haaYBZks5uTXKwgaJpZM4WHum4.

gabster avatar Aug 22 '18 15:08 gabster

Hi there, Every time I try to run the command below, I get the error message ‘command not found’. What can I do? Thanks

hinge filter --db ecoli --las ecoli.las -x ecoli --config ../../utils/nominal.ini hinge: command not found

Gabriele Margos German National Reference Centre for Borrelia Bavarian Health and Food Safety Authority Veterinärstrasse 2 85764 Oberschleißheim Tel. 09131/68085883 email: [email protected]mailto:[email protected] [email protected]mailto:[email protected]

Von: Govinda Kamath [mailto:[email protected]] Gesendet: Mittwoch, 22. August 2018 17:03 An: HingeAssembler/HINGE Cc: Margos, Gabriele, Dr. (LGL); Author Betreff: Re: [HingeAssembler/HINGE] cannot open ./reads.fasta for 'r' (#151)

Could you run this command in the demo?

seqtk seq -a ecoli_p4_filtered.fastq > reads.fasta

Is there a reads.fasta in the current directory?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/HingeAssembler/HINGE/issues/151#issuecomment-415064209, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Aoo3YR7K4jSbEH0yw_KcXZblC8haaYBZks5uTXKwgaJpZM4WHum4.

gabster avatar Aug 23 '18 15:08 gabster

Have you run

source utils/setup.sh

That should set up the relevant paths.

govinda-kamath avatar Aug 23 '18 15:08 govinda-kamath

Hi Govinda, Thanks very much for coming back to me. yes I had run

source utils/setup.sh.

The problem that I encounter now is:

“hinge: line 10: Reads_filter: command not found”

Thanks

Gabriele Margos German National Reference Centre for Borrelia Bavarian Health and Food Safety Authority Veterinärstrasse 2 85764 Oberschleißheim Tel. 09131/68085883 email: [email protected]mailto:[email protected] [email protected]mailto:[email protected]

Von: Govinda Kamath [mailto:[email protected]] Gesendet: Donnerstag, 23. August 2018 17:56 An: HingeAssembler/HINGE Cc: Margos, Gabriele, Dr. (LGL); Author Betreff: Re: [HingeAssembler/HINGE] cannot open ./reads.fasta for 'r' (#151)

Have you run

source utils/setup.sh

That should set up the relevant paths.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/HingeAssembler/HINGE/issues/151#issuecomment-415469279, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Aoo3YS0QHfkyt4xruDJ_-vvJLb0_IPaTks5uTtCcgaJpZM4WHum4.

gabster avatar Aug 24 '18 07:08 gabster

It looks like the path set up did not work. I'm not completely sure why. @fxia22 any ideas?

govinda-kamath avatar Aug 25 '18 00:08 govinda-kamath

@govinda-kamath It looks like either the build failed or the path is not setup correctly. @gabster can you show us the output of ls -lAh HINGE/inst/lib/hinge? Thanks.

fxia22 avatar Aug 27 '18 00:08 fxia22

Hi Fei,

ls -lAh HINGE/inst/lib/hinge ls: cannot access 'HINGE/inst/lib/hinge': No such file or directory

I have installed ‘HINGE’ according to information given in GitHub Cheers G

Gabriele Margos German National Reference Centre for Borrelia Bavarian Health and Food Safety Authority Veterinärstrasse 2 85764 Oberschleißheim Tel. 09131/68085883 email: [email protected]mailto:[email protected] [email protected]mailto:[email protected]

Von: Fei Xia [mailto:[email protected]] Gesendet: Montag, 27. August 2018 02:19 An: HingeAssembler/HINGE Cc: Margos, Gabriele, Dr. (LGL); Mention Betreff: Re: [HingeAssembler/HINGE] cannot open ./reads.fasta for 'r' (#151)

@govinda-kamathhttps://github.com/govinda-kamath It looks like either the build failed or the path is not setup correctly. @gabsterhttps://github.com/gabster can you show us the output of ls -lAh HINGE/inst/lib/hinge? Thanks.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/HingeAssembler/HINGE/issues/151#issuecomment-416083875, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Aoo3YSjM9G28Szvmsg43Eky1Dv-1njtiks5uUzr3gaJpZM4WHum4.

gabster avatar Aug 27 '18 09:08 gabster

Hi again, this is what I get when I put ls –lah in the HINGE folder

HINGE$ ls -lah total 116K drwxrwxr-x 13 gabriele gabriele 4,0K Aug 23 18:15 . drwxr-xr-x 49 gabriele gabriele 4,0K Aug 27 12:28 .. drwxrwxr-x 2 gabriele gabriele 4,0K Aug 22 15:02 build -rw-rw-r-- 1 gabriele gabriele 186 Aug 22 14:57 CMakeLists.txt drwxrwxr-x 3 gabriele gabriele 4,0K Aug 22 17:29 data -rw-rw-r-- 1 gabriele gabriele 1,3K Aug 22 14:57 default.nix drwxrwxr-x 7 gabriele gabriele 4,0K Aug 22 14:57 demo drwxrwxr-x 5 gabriele gabriele 4,0K Aug 22 14:57 docker drwxrwxr-x 9 gabriele gabriele 4,0K Aug 22 15:00 .git -rw-rw-r-- 1 gabriele gabriele 119 Aug 22 14:57 .gitignore -rw-rw-r-- 1 gabriele gabriele 594 Aug 22 14:57 .gitmodules -rw-rw-r-- 1 gabriele gabriele 1,8K Aug 23 18:15 HINGE code demo -rw-rw-r-- 1 gabriele gabriele 2,7K Aug 22 14:57 licence.txt drwxrwxr-x 2 gabriele gabriele 4,0K Aug 22 14:57 misc drwxrwxr-x 10 gabriele gabriele 4,0K Aug 22 15:21 numpy -rw-rw-r-- 1 gabriele gabriele 4,9K Aug 22 14:57 parameter_description.md -rw-rw-r-- 1 gabriele gabriele 5,7K Aug 22 14:57 README.md -rw-rw-r-- 1 gabriele gabriele 213 Aug 22 14:57 requirements_frozen.txt -rw-rw-r-- 1 gabriele gabriele 7,7K Aug 22 14:57 requirements.nix -rw-rw-r-- 1 gabriele gabriele 36 Aug 22 14:57 requirements_override.nix drwxrwxr-x 2 gabriele gabriele 4,0K Aug 22 14:57 scripts -rw-rw-r-- 1 gabriele gabriele 148 Aug 22 14:57 shell.nix drwxrwxr-x 10 gabriele gabriele 4,0K Aug 22 14:57 src drwxrwxr-x 6 gabriele gabriele 4,0K Aug 22 14:57 thirdparty -rw-rw-r-- 1 gabriele gabriele 778 Aug 22 14:57 .travis.yml drwxrwxr-x 2 gabriele gabriele 4,0K Aug 22 14:57 utils

Gabriele Margos German National Reference Centre for Borrelia Bavarian Health and Food Safety Authority Veterinärstrasse 2 85764 Oberschleißheim Tel. 09131/68085883 email: [email protected]mailto:[email protected] [email protected]mailto:[email protected]

Von: Fei Xia [mailto:[email protected]] Gesendet: Montag, 27. August 2018 02:19 An: HingeAssembler/HINGE Cc: Margos, Gabriele, Dr. (LGL); Mention Betreff: Re: [HingeAssembler/HINGE] cannot open ./reads.fasta for 'r' (#151)

@govinda-kamathhttps://github.com/govinda-kamath It looks like either the build failed or the path is not setup correctly. @gabsterhttps://github.com/gabster can you show us the output of ls -lAh HINGE/inst/lib/hinge? Thanks.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/HingeAssembler/HINGE/issues/151#issuecomment-416083875, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Aoo3YSjM9G28Szvmsg43Eky1Dv-1njtiks5uUzr3gaJpZM4WHum4.

gabster avatar Aug 27 '18 10:08 gabster

Do you think there is a problem here:

./utils/build.shmake: Nothing to be done for 'all'. make: Nothing to be done for 'all'. make: Nothing to be done for 'all'. gcc -O3 -Wall -Wextra -Wno-unused-result -fno-strict-aliasing -I/usr/local/hdf5/include -L/usr/local/hdf5/lib -o dextract dextract.c DB.c QV.c -lhdf5 dextract.c:23:18: fatal error: hdf5.h: No such file or directory compilation terminated. Makefile:13: recipe for target 'dextract' failed make: *** [dextract] Error 1 mkdir: cannot create directory ‘build’: File exists ./utils/build.sh: line 19: cmake: command not found make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target 'install'. Stop.

If yes, how can I solve it? Thanks, Gabi

Gabriele Margos German National Reference Centre for Borrelia Bavarian Health and Food Safety Authority Veterinärstrasse 2 85764 Oberschleißheim Tel. 09131/68085883 email: [email protected]mailto:[email protected] [email protected]mailto:[email protected]

Von: Fei Xia [mailto:[email protected]] Gesendet: Montag, 27. August 2018 02:19 An: HingeAssembler/HINGE Cc: Margos, Gabriele, Dr. (LGL); Mention Betreff: Re: [HingeAssembler/HINGE] cannot open ./reads.fasta for 'r' (#151)

@govinda-kamathhttps://github.com/govinda-kamath It looks like either the build failed or the path is not setup correctly. @gabsterhttps://github.com/gabster can you show us the output of ls -lAh HINGE/inst/lib/hinge? Thanks.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/HingeAssembler/HINGE/issues/151#issuecomment-416083875, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Aoo3YSjM9G28Szvmsg43Eky1Dv-1njtiks5uUzr3gaJpZM4WHum4.

gabster avatar Aug 27 '18 17:08 gabster

How could I solve it? Any ideas? Thanks Gabi

Gabriele Margos German National Reference Centre for Borrelia Bavarian Health and Food Safety Authority Veterinärstrasse 2 85764 Oberschleißheim Tel. 09131/68085883 email: [email protected]mailto:[email protected] [email protected]mailto:[email protected]

Von: Margos, Gabriele, Dr. (LGL) Gesendet: Montag, 27. August 2018 19:14 An: 'HingeAssembler/HINGE'; HingeAssembler/HINGE Cc: Mention Betreff: AW: [HingeAssembler/HINGE] cannot open ./reads.fasta for 'r' (#151)

Do you think there is a problem here:

./utils/build.shmake: Nothing to be done for 'all'. make: Nothing to be done for 'all'. make: Nothing to be done for 'all'. gcc -O3 -Wall -Wextra -Wno-unused-result -fno-strict-aliasing -I/usr/local/hdf5/include -L/usr/local/hdf5/lib -o dextract dextract.c DB.c QV.c -lhdf5 dextract.c:23:18: fatal error: hdf5.h: No such file or directory compilation terminated. Makefile:13: recipe for target 'dextract' failed make: *** [dextract] Error 1 mkdir: cannot create directory ‘build’: File exists ./utils/build.sh: line 19: cmake: command not found make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target 'install'. Stop.

If yes, how can I solve it? Thanks, Gabi

Gabriele Margos German National Reference Centre for Borrelia Bavarian Health and Food Safety Authority Veterinärstrasse 2 85764 Oberschleißheim Tel. 09131/68085883 email: [email protected]mailto:[email protected] [email protected]mailto:[email protected]

Von: Fei Xia [mailto:[email protected]] Gesendet: Montag, 27. August 2018 02:19 An: HingeAssembler/HINGE Cc: Margos, Gabriele, Dr. (LGL); Mention Betreff: Re: [HingeAssembler/HINGE] cannot open ./reads.fasta for 'r' (#151)

@govinda-kamathhttps://github.com/govinda-kamath It looks like either the build failed or the path is not setup correctly. @gabsterhttps://github.com/gabster can you show us the output of ls -lAh HINGE/inst/lib/hinge? Thanks.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/HingeAssembler/HINGE/issues/151#issuecomment-416083875, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Aoo3YSjM9G28Szvmsg43Eky1Dv-1njtiks5uUzr3gaJpZM4WHum4.

gabster avatar Aug 28 '18 07:08 gabster