picard_reordersam

picard_reordersam reorders Sequence Alignment/Map (SAM) and Binary Alignment/Map (BAM) files to match the contig ordering of a specified reference file for downstream genomic analyses.


Key Features:

  • Exact Name Matching: Reorders reads according to exact contig or chromosome name matches between the input SAM/BAM and the specified reference.
  • Exclusion of Non-Matching Reads: Omits reads mapped to contigs that are not present in the provided reference from the output file.
  • Complementary to SortSam: Performs name-based reordering distinct from SortSam, which sorts by coordinate values or query names.

Scientific Applications:

  • Comparative Genomics: Ensures alignment files use a consistent contig order for comparative analyses across references or samples.
  • Variant Calling: Provides contig-order consistency required by variant-calling workflows that depend on a specific reference ordering.
  • Reference Version Control and Custom Assemblies: Prevents discrepancies arising from different reference versions or custom assemblies by matching contig order to a target reference.
  • Next-Generation Sequencing Data Processing: Supports accurate downstream analyses of high-throughput sequencing datasets by aligning file contig order to the chosen reference.

Methodology:

Parses input SAM/BAM files, matches read mappings to contig/chromosome names in the specified reference, reorders reads to mirror the reference contig order, and excludes reads mapped to contigs absent from the reference.

Topics

Collections

Details

Maturity:
Mature
Tool Type:
web application
Operating Systems:
Linux, Windows, Mac
Programming Languages:
Java
Added:
12/19/2016
Last Updated:
11/25/2024

Operations

Data Inputs & Outputs

Publications

Afgan E, Baker D, van den Beek M, Blankenberg D, Bouvier D, Čech M, Chilton J, Clements D, Coraor N, Eberhard C, Grüning B, Guerler A, Hillman-Jackson J, Von Kuster G, Rasche E, Soranzo N, Turaga N, Taylor J, Nekrutenko A, Goecks J. The Galaxy platform for accessible, reproducible and collaborative biomedical analyses: 2016 update. Nucleic Acids Research. 2016;44(W1):W3-W10. doi:10.1093/nar/gkw343. PMID:27137889. PMCID:PMC4987906.

Mareuil F, Doppelt-Azeroual O, Ménager H. A public Galaxy platform at Pasteur used as an execution engine for web services. Unknown Journal. 2017. doi:10.7490/f1000research.1114334.1.

Documentation

Links