Show query length at end, better tooltip

Removed d3.tip plugin introduced in 823ffe7e, and changed the
method to show end tick as introduced in e44eefbd.

Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>
Display HSP_Stats based on program type

Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>
Typecast #Query arguments correctly

Also, change the way blast xml file was handled so as to ensure proper
integration of unit tests later.

Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>
Add unit tests to check parsing, BLAST report

Increased existing unit tests coverage to include recent changes about
the way BLAST report is generated.

Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>
Adds sample XML for no hit, corresponding tests

Further unit tests check the behavior of Report object with a sample
file generated when no matching hits are obtained using BLAST+.

Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>
Simplify printing of HSP alignments.

And sort out an error in calculating end coordinates per line.

Slightly refactored HSP class in the process:
  - HSP.start  -> HSP.sstart
  - HSP.hframe -> HSP.sframe
  - HSP.hseq   -> HSP.sseq

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
Fixes error in calculating end coordinates (extends @yeban's work)

Also fix error in displaying proper strand information, and add
explanation for determining the coordinates.

Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>
Make compatiable to r1.8.7, precision fixes

Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>
Remove stray debug statement.

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
Finally fix pretty printing of HSP alignments.

Follow up on SHA: 8aff7ac9 and b3d498cb.

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
Update blast_spec.rb after changes in SHA: 3519a48f.

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>