Skip to content

Instantly share code, notes, and snippets.

@MVesuviusC
Created August 22, 2023 13:22
Show Gist options
  • Save MVesuviusC/27868610d2ea9e83b659e7bb7fb1981f to your computer and use it in GitHub Desktop.
Save MVesuviusC/27868610d2ea9e83b659e7bb7fb1981f to your computer and use it in GitHub Desktop.
Check if a bam file format is valid
ml picard/2.21.6-Java-11.0.2
java -jar \
$EBROOTPICARD/picard.jar \
ValidateSamFile \
I=/gpfs0/scratch/mvc002/testTwoTumors/split_sams_2//S0149_1.sam \
MODE=VERBOSE
# Can optionally include ignore arguments to ignore specific error types
IGNORE=MISSING_TAG_NM \
IGNORE=RECORD_OUT_OF_ORDER
See https://broadinstitute.github.io/picard/command-line-overview.html for more possible IGNORE options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment