Open nrizzo opened 2 months ago
The above comment asking you to download a file is malware to steal your account; do not under any circumstances download or run it. The post needs to be removed. If you have attempted to run it please have your system cleaned and your account secured immediately.
Knowing that the incompatibility is in lines src/Aligner.cpp:810-818
, a not-so-nice trick to make GraphAligner
read the graph, index it, and wait for the reads, is
mkfifo test/fiforead.fa
GraphAligner -g test/graph.gfa -f test/fiforead.fa -a test/aln.gaf -x vg &
# give GraphAligner a file to open and close
echo > test/fiforead.fa &
# GraphAligner here reads and indexes the graph
sleep 10s
cat test/read.fa > test/fiforead.fa
A caveat is that command echo > test/fiforead.fa &
terminates with a SIGPIPE error.
Hello!
GraphAligner is not nice to Unix named pipes for the input reads (see below). I think named pipe compatibility could be useful in pipelines that feed GraphAligner the reads and do not want to store them on disk, would you consider adding a flag parameter about it?
Execution proceeds as normal if I rerun command
cat test/read.fa > test/fiforead.fa
in the first shell. Culprits are the linessrc/Aligner.cpp:810-818
opening and closing the read file, commenting out those lines fixes the problem.~Nicola