You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ adam-submit transformAlignments \
-sort_by_reference_position_and_index \
NA12878.alignedHg38.duplicateMarked.baseRealigned.bam \
NA12878.alignedHg38.duplicateMarked.baseRealigned.alignments.adam
$ INPUT=NA12878.alignedHg38.duplicateMarked.baseRealigned.alignments.adam \
OUTPUT=NA12878.alignedHg38.duplicateMarked.baseRealigned.out.cram \
adam-shell -i convert_parquet_alignments_adam_dataset.scala
...
java.lang.IllegalArgumentException: requirement failed: To save as CRAM, input must be sorted.
at scala.Predef$.require(Predef.scala:224)
at org.bdgenomics.adam.rdd.read.AlignmentRecordDataset$$anonfun$saveAsSam$2.apply(AlignmentRecordDataset.scala:896)
at scala.Option.fold(Option.scala:158)
at org.apache.spark.rdd.Timer.time(Timer.scala:48)
at org.bdgenomics.adam.rdd.read.AlignmentRecordDataset.saveAsSam(AlignmentRecordDataset.scala:832)
at org.bdgenomics.adam.rdd.read.AlignmentRecordDataset$$anonfun$saveAsSam$1.apply$mcV$sp(AlignmentRecordDataset.scala:823)
at org.bdgenomics.adam.rdd.read.AlignmentRecordDataset$$anonfun$saveAsSam$1.apply(AlignmentRecordDataset.scala:823)
at org.bdgenomics.adam.rdd.read.AlignmentRecordDataset$$anonfun$saveAsSam$1.apply(AlignmentRecordDataset.scala:823)
at scala.Option.fold(Option.scala:158)
at org.apache.spark.rdd.Timer.time(Timer.scala:48)
at org.bdgenomics.adam.rdd.read.AlignmentRecordDataset.saveAsSam(AlignmentRecordDataset.scala:822)
... 65 elided
See convert_parquet_alignments_adam_dataset.scala
The text was updated successfully, but these errors were encountered: