Problems reading multiple MAQ map files with ShortRead ReadAligned
0
0
Entering edit mode
David Rossell ▴ 100
@david-rossell-3353
Last seen 10.2 years ago
Hi, I'm using ShortRead package version 1.0.7 on R 2.8.0. I have three binary map files produced by MAQ that I want to read into Bioconductor. I can read one file at a time with the function ReadAligned, by typing aln <- readAligned(dir,"S1.map",type="MAQMap") This works like a charm. However, I cannot read all files in the directory > aln <- readAligned(dirPath=dir,type="MAQMap") Error: UserArgumentMismatch 'dirPath', 'pattern' must be 'character(1)' I tried specifying the pattern argument but the function still doesn't work. > aln <- readAligned(dirPath=dir,pattern="S.*",type="MAQMap") Error: UserArgumentMismatch 'dirPath', 'pattern' must be 'character(1)' Is this a bug or am I doing something wrong? Any ideas/help are most welcome. David [[alternative HTML version deleted]]
ShortRead charm ShortRead charm • 1.0k views
ADD COMMENT

Login before adding your answer.

Traffic: 451 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6