diff --git a/uk/ac/sanger/artemis/components/alignment/BamUtils.java b/uk/ac/sanger/artemis/components/alignment/BamUtils.java index b4ddf4df1d304b29364105407f8012c519a21f66..68f3f421ffeeedf4a8f32bafcf2b79c51509afab 100644 --- a/uk/ac/sanger/artemis/components/alignment/BamUtils.java +++ b/uk/ac/sanger/artemis/components/alignment/BamUtils.java @@ -116,8 +116,14 @@ class BamUtils DecimalFormat df = new DecimalFormat("0.00##"); StringBuffer buff = new StringBuffer(); - for(String bam : bamList) - buff.append("#BAM: "+bam+"\n"); + for(int j=0; j<bamList.size(); j++) + { + String bam = bamList.get(j); + buff.append("#BAM: "+bam); + if(mappedReads != null) + buff.append(" Mapped Reads/million: "+ df.format( ((float)mappedReads[j]) / 1000000.f) ); + buff.append("\n"); + } buff.append("\n"); for (String fId : featureReadCount.keySet() ) {