an alpha version of a report generator that creats a report of the re… #416
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR is about an alpha version of a report generator that I coded to generate a report using the plots generated in "*.pdf, *.jpg, and *.png" formats in a single doc format.
The way that it works is explained below:
1- Download the zipped folder of the results you want to include in the plots, unzip, and un-tar the folder. Example: let's say using the provided gsutil from your specific workflow you will get the folder named as bwa_samples_aligning_with_dragen_SV_VCF_QC_output.wPlots.tar.gz
you want to go to bwa_samples_aligning_with_dragen_SV_VCF_QC_output folder.
2- to generate the word-doc at the first step, just copy the "alpha_firsttime_report_generator.py" script to the folder containing the plots.
Following the same example: copy the "alphafirst_time_report_generator.py" script in the bwa_samples_aligning_with_dragen_SV_VCF_QC_output/plots/main_plot directory.
3- if you desire to add more plots to the existing document file, please run the "alpha_secondtime_report_generator.py" script and import the name of the desired doc file that exists in the same directory as the plots, "alpha_second_time_report_generator.py" script, and the existing .doc file.
Example:
Let's say that in step 2 you generated a doc being called "bwa_report.doc". So copy the "bwa_report.doc" as well as the "alphasecondtime_report_generator.py" script to the next directory that you want to include the plots in and then run the "alphasecond_time_report_generator.py" script.
Future improvements that I'm working on: