Data Management
Reconcile Paired-Read Membership and Order Before Processing
The decision
Use this audit after a synthetic filtering or sorting exercise to check whether paired identifier lists still align by position. Equal record counts and equal identifier sets are insufficient: many paired-processing programs require corresponding records to occur in the same order. This tool reports discrepancies without modifying either list.
Compare deliberately
- Establish the naming convention from the export documentation. Only terminal /1 and /2 suffixes are normalized here.
- Prepare two tab-separated identifier columns in their current order. Use a dash for a missing record, not a fabricated identifier.
- Check uniqueness after normalization. Duplicate names make this simple reconciliation ambiguous and are rejected.
- Compare membership to identify names present on only one side.
- Compare each position independently. A clean membership comparison can coexist with order mismatches.
- Repair the upstream paired workflow locally, then rerun the full-file check with an established tool. Preserve before-and-after counts.
Worked hypothetical example
Take R1 names A/1, B/1, C/1 and R2 names A/2, C/2, B/2. All three normalized identifiers occur on both sides, but only the first position matches. The other two positions are mismatched. This establishes a synthetic order problem; it does not justify exchanging real biological reads without checking provenance.
Close the audit
Record the source step that changed ordering, the normalization convention and the repair command. Keep unpaired records according to a prespecified policy rather than dropping them silently.
Reporting example: “The synthetic lists had identical membership but two of three positions were inconsistent.” The check does not infer sample identity, pair orientation or sequence quality. For other naming conventions, prepare explicit normalized identifiers and keep the mapping, rather than extending suffix removal by guesswork.
Sources and checking
Primary documentation, checked 2 December 2026. Examples are hypothetical. This page does not claim human expert review.