Closed holmeso closed 3 years ago
Why didn't any unit tests update?
Why didn't any unit tests update?
This PR was created as a draft (not ready for review). It looks like you've marked the PR as ready for review. I'll switch it back to draft, and when I'm finished, will revert the status again.
SignatureGenerator.java is deprecated, could you please remove deprecated annotation?
I think that class should keep the deprecated annotation because it is still deprecated. There is an issue ( #233 ) dealing with deprecated classes in this package so best to keep this work and the deprecation work seperate.
Description
A requirement has been raised to enable qsignature to report upon positions listed within a gff3 file. The rational for this is that it would be desirable to see the coverage that BAM files have in selected genes. This would assist in determining if any calls were able to be made in these genes.
Entries in gff3 files can represent ranges (ie. gene positional information) as follows:
The
SignatureGeneratorBespoke
class has been modified to allow agenePositions
file to be supplied as an option. When this is supplied, the class will examine each entry in the gff3 file. For each entry, it will add an element to a list for each position. eg. for the following entry:there would be 4923 (39692524 - 39687601) elements added to the list, from chr19:39687601 to chr19:39692524.
This results in the output vcf file containing coverage information for each of those positions.
To enable the
REF
field of the output vcf to be populated (and thus for the vcf file to validate), an option to add the reference fasta file (-reference
) has also been added. If a genePositions file is provided without a reference file, an error will be thrown.Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Existing unit tests pass. New code has been tested against
genePositions
andsnpPositions
inputsCompare
class has been run against generated vcf files.Checklist: