ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/gclib/gclib/GBam.h
(Generate patch)
# Line 163 | Line 163
163     char* fname;
164   public:
165     void bopen(const char* filename) {
166 +      //TODO: must detect file type first and accordingly
167 +      FILE* f=fopen(filename, "b");
168 +      
169        bam_file=samopen(filename, "rb", 0);
170        //for .sam files:
171        //bam_file=samopen(fname, "r", 0);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines