farhat-lab / gentb-site

The genTB project, the Django site, variant calling and prediciton pipeline, and mapping pipeline with hooks to two ravens
https://gentb.hms.harvard.edu
Other
8 stars 11 forks source link

Predict PDF report #224

Open mahafarhat opened 3 years ago

mahafarhat commented 3 years ago

Here is a sample report. @mgro lets discuss before we assign it to Martin.

mahafarhat commented 3 years ago

Ok @doctormo here is the PDF report we would like to generate. We can add depth data in the mutation table at a later stage. genTB_samplePDF.docx

doctormo commented 3 years ago

I've added some basic print media adjustments and support, this is a sample of the PDF print available in Firefox with this style sheet: Fighters Test - genTB.pdf

Please confirm that this format, using browser printing, is the method you'd like to use. The alternative is internal PDF creation, which is a lot more problematic (maybe a hundred hours of work)

mahafarhat commented 3 years ago

@doctormo this pdf only gives the heatmap and no report on mutations. hundreds of hours seems a lot of especially give we already produce the result in a different/html format. @mgro and I will discuss perhaps we can write some R code to generate the pdf to help you.

doctormo commented 3 years ago

@mahafarhat The attached pdf isn't an example of the report (I've already started writing that, but it takes time to build a new feature into the website). It's an example of the FORMATTING of the pdf when you create it. Any page on the website can thus be printed with this formatting (if the user wants it to be)

mahafarhat commented 3 years ago

Ok in that case it’s fine!

Maha Sent from my phone

On Mar 8, 2021, at 4:37 PM, Martin Owens notifications@github.com wrote:

 @mahafarhat The attached pdf isn't an example of the report (I've already started writing that, but it takes time to build a new feature into the website). It's an example of the FORMATTING of the pdf when you create it. Any page on the website can thus be printed with this formatting (if the user wants it to be)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.