Load files to ngsbrowser from command line

I am looking for a way to load files (both reference fasta and sam) into the ngsbrowser from the command line - ie without clicking file load or file add data. Does anyone know of a solution? Or does anyone know how to code mouse clicks/keystrokes so that a script (I am writing a GUI using GUIDE) could 'do' the clicking for the user?
Thank!

Answers (1)

This is undocummented, unfortunately it is only possible for short read data:
bm1 = BioMap('mysamfile.sam')
bm2 = BioMap('mybamfile.bam')
ngsbrowser
ngsbrowser(bm1)
ngsbrowser(bm2)

1 Comment

Thanks so much. Luckily I only have short read data.

Sign in to comment.

Categories

Find more on Data Import and Analysis in Help Center and File Exchange

Asked:

on 9 Sep 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!