-
Notifications
You must be signed in to change notification settings - Fork 0
Troubleshooting
The auto-detection heuristic did not recognise any known signature in the first 4 096 bytes. Use the explicit ToolType overload instead, or verify that the file is not corrupted or empty.
When a parser cannot find an explicit nucleotide label for a position, it inserts 'N' as a placeholder. This is expected for positions that appear in interaction lines but not in the sequence header. A WARN log entry is emitted for each such case.
Wrap your InputStream in new BufferedInputStream(...) before passing it to any auto-detecting method:
try (BufferedInputStream bis = new BufferedInputStream(new FileInputStream(myFile))) {
String result = unifier.process(bis, true);
}- Make sure you passed the correct
ToolType. Mismatched tool types can cause a grammar mismatch and silently produce incomplete structures or throwParseException. - Check
WARN-level log output: skipped pairs are always reported with a reason. See Logging for how to enableWARNoutput.
Positions in the Pair model are zero-based. The BPSEQ output is 1-based (the exporter adds 1 when printing). If you read positions from Pair.getPos1() / getPos2() directly, add 1 to compare with BPSEQ output.
← Advanced Usage | Home →
RNA2DUnifier – Copyright © 2026 Francesco Palozzi.
University of Camerino – Licensed under the Apache License, Version 2.0.