I have attempted to use SRFAligner on some of my own graphs, which are generated by some arbitrary third party tool. When I run SRFAligner I get the following output:
./SRFAligner -g graph.gfa -f sequences.fasta -a test_srf.gaf -c
Reading the graph...Error: sum of block heights does not correspond to node number!
done.
Indexing the graph... done.
Locate
Cannot find any semi-repeat-free match of 92_1
Cannot find any semi-repeat-free match of 158_1
Cannot find any semi-repeat-free match of 116_1
GraphAligner Branch master commit daec67f67a2f50d648a6aa30cbbe5a2949583061 2024-01-19 10:52:13 +0200
GraphAligner Branch master commit daec67f67a2f50d648a6aa30cbbe5a2949583061 2024-01-19 10:52:13 +0200
GraphAligner Branch master commit daec67f67a2f50d648a6aa30cbbe5a2949583061 2024-01-19 10:52:13 +0200
GraphAligner Branch master commit daec67f67a2f50d648a6aa30cbbe5a2949583061 2024-01-19 10:52:13 +0200
Load graph from graph.gfa
Load graph from graph.gfa
Build alignment graph
Build alignment graph
Build minimizer seeder from the graph
Seeds from file
Seed cluster size 1
Extend up to 5 seed clusters
Alignment bandwidth 10
Clip alignment ends with identity < 66%
X-drop DP score cutoff 14705
Backtrace from 10 highest scoring local maxima per cluster
write alignments to test_srf.gaf
Align
Minimizer seeds, length 15, window size 20, density 10
Seed cluster size 1
Extend up to 5 seed clusters
Alignment bandwidth 10
Clip alignment ends with identity < 66%
X-drop DP score cutoff 14705
Backtrace from 10 highest scoring local maxima per cluster
write alignments to ./unaligned_reads_19749.gaf
Align
Alignment finished
Input reads: 293 (367168bp)
Seeds found: 641
Seeds extended: 144
Reads with a seed: 144 (180480bp)
Reads with an alignment: 144 (180341bp)
Alignments: 144 (180341bp)
End-to-end alignments: 54 (67696bp)
awk: not an option: -i
And then when I look at the output GAF, I see that there are only 144 lines, which does not correspond to the 293 input sequences.
I see that stderr/stdout has the following concerning messages:
Reading the graph...Error: sum of block heights does not correspond to node number!
Cannot find any semi-repeat-free match of 92_1
Cannot find any semi-repeat-free match of 158_1
Cannot find any semi-repeat-free match of 116_1
and unaligned_reads_19749.gaf is empty.
Maybe there is some mistake in my usage? If so, could you clarify the intended usage?
Thanks
I have attempted to use SRFAligner on some of my own graphs, which are generated by some arbitrary third party tool. When I run SRFAligner I get the following output:
And then when I look at the output GAF, I see that there are only 144 lines, which does not correspond to the 293 input sequences.
I see that stderr/stdout has the following concerning messages:
and
unaligned_reads_19749.gafis empty.Maybe there is some mistake in my usage? If so, could you clarify the intended usage?
Thanks