[Gmod-help] insert size dependent color in gbrowse
Mundry, Marvin
mundry at uni-muenster.de
Tue Apr 27 02:55:33 EDT 2010
hi,
i am visualizing illumia paired end reads using Bio::DB::Sam.
i would like to set the fgcolor of the pairs according to the insert size in order to easily identify structural variation.
fgcolor = sub {
my insertsize=???
if (insertsize>350) {
return 'red';
}else{
if (insertsize<300) {
return 'red';
}else{
return 'green';
}
}
}
how can i retrieve the insert size?
regards,
Marvin Mundry
Evolutionary Bioinformatics
Institute for Evolution and Biodiversity
Huefferstrasse 1, D-48149 Muenster, Germany
Phone: +49-251-83-21633
Fax: +49-251-83-24668
http://www.uni-muenster.de/Evolution.ebb
More information about the Gmod-help
mailing list