# NOT RUN {
# Create alignment object from scratch
align<-bamAlign("HWUSI-0001", "ATGTACGTCG", "Qual/Strng", "4M10N6M",
refid=0, position=100)
# Print and access data
align
name(align)
alignSeq(align)
alignQual(align)
cigarData(align)
refID(align)
position(align)
# }
Run the code above in your browser using DataLab