Skip to content
This repository was archived by the owner on May 22, 2026. It is now read-only.

Commit 37131df

Browse files
committed
Rebased and updated submodule. Updated docs.
1 parent 5701a72 commit 37131df

6 files changed

Lines changed: 14 additions & 3 deletions

File tree

VarDict

src/main/java/com/astrazeneca/vardict/VarDict.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ public VarDict(Configuration conf, ReferenceResource referenceResource) {
3838
}
3939
/**
4040
* The main method to start Vardict in any mode.
41-
* @param conf prepared configuration object from arguments
4241
* @throws IOException if BAM file can't be read
4342
*/
4443
public void start() throws IOException {
@@ -517,6 +516,7 @@ private static Tuple2<String, String> getSampleNames(String sample,
517516
* @param splice set of strings representing introns in splice
518517
* @param ampliconBasedCalling string of maximum_distance:minimum_overlap for amplicon based calling
519518
* @param rlen max read length
519+
* @param referenceResource object for access to reference map
520520
* @param conf Configuration
521521
* @param out output stream
522522
* @return maximum read length
@@ -782,7 +782,7 @@ && isGoodVar(v1.var.get(n), v1.ref, v1.var.get(n).varType(), splice, conf)) {
782782
* @param chr chromosome
783783
* @param p position
784784
* @param nt nucleotide
785-
*
785+
* @param referenceResource object for access to reference map
786786
* @param chrs map of chromosome lengths
787787
* @param sample sample name
788788
* @param splice set of strings representing introns in splice

src/main/java/com/astrazeneca/vardict/modules/SAMFileParser.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ static String getBaseQualityString(SAMRecord record) {
6767
* @param sclip3 map of soft clips 3' on positions
6868
* @param sclip5 map of soft clips 5' on positions
6969
* @param svflag true if BAM file is re-parsed due to structural variants analysis on extended region of interest
70+
* @param referenceResource object for access to reference map
7071
* @return Tuple of (noninsertion variant structure, insertion variant structure, coverage, maxmimum read length)
7172
* @throws IOException if BAM file can't be read
7273
*/

src/main/java/com/astrazeneca/vardict/modules/StructuralVariantsProcessor.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,7 @@ private static Sclip getLastSVStructure(List<Sclip> svStructure) {
367367
* @param sclip5 map of soft clips 5' on positions
368368
* @param svStructures Contains all structural variants ends for deletions, duplications, inversions, insertions
369369
and structures for structural variant analysis
370+
* @param referenceResource object for access to reference map
370371
* @throws IOException if BAM file can't be read
371372
*/
372373
static void findAllSVs(Region region, String bam, Map<String, Integer> chrs, String sample,
@@ -1102,6 +1103,7 @@ && isHasAndEquals(complement(ref.get(bp + 1)), ref, p3 - 1)) {
11021103
* @param svrinv3 list of INV SVs in reverse direction of 3'
11031104
* @param svrinv5 list of INV SVs in reverse direction of 5'
11041105
* @param conf Configuration
1106+
* @param referenceResource object for access to reference map
11051107
* @param RLEN max read length
11061108
* @param chrs map of chromosome lengths
11071109
*/
@@ -1308,6 +1310,7 @@ static void findINVdisc (Map<Integer, VariationMap<String, Variation>> hash,
13081310
* @param svrdup list of DUP SVs in discordant pairs in reverse direction
13091311
* @param conf Configuration
13101312
* @param RLEN max read length
1313+
* @param referenceResource object for access to reference map
13111314
* @param chrs map of chromosome lengths
13121315
* @throws IOException if BAM file can't be read
13131316
*/
@@ -1824,6 +1827,7 @@ static Tuple.Tuple2<Integer, String> findMatch(Configuration conf,
18241827
* @param svfdel list of DEL SVs in discordant pairs in forward direction
18251828
* @param svrdel list of DEL SVs in discordant pairs in reverse direction
18261829
* @param conf Configuration
1830+
* @param referenceResource object for access to reference map
18271831
* @param rlen max read length
18281832
* @param chrs map of chromosome lengths
18291833
*/
@@ -1975,6 +1979,7 @@ static void findDELdisc(Configuration conf,
19751979
* @param rlen max read length
19761980
* @param chrs map of chromosome lengths
19771981
* @param sample sample name
1982+
* @param referenceResource object for access to reference map
19781983
* @param splice set of strings representing spliced regions
19791984
* @param ampliconBasedCalling string of maximum_distance:minimum_overlap for amplicon based calling
19801985
* @throws IOException if BAM file can't be read
@@ -2333,6 +2338,7 @@ static void findDEL(Configuration conf,
23332338
* @param svrinv5 list of INV SVs in reverse direction in 5'
23342339
* @param rlen max read length
23352340
* @param chrs map of chromosome lengths
2341+
* @param referenceResource object for access to reference map
23362342
* @param sample sample name
23372343
* @param splice set of strings representing spliced regions
23382344
* @param ampliconBasedCalling string of maximum_distance:minimum_overlap for amplicon based calling
@@ -2380,6 +2386,7 @@ static void findINV(Configuration conf,
23802386
* @param side 3 or 5 end
23812387
* @param rlen max read length
23822388
* @param chrs map of chromosome lengths
2389+
* @param referenceResource object for access to reference map
23832390
* @param sample sample name
23842391
* @param splice set of strings representing spliced regions
23852392
* @param ampliconBasedCalling string of maximum_distance:minimum_overlap for amplicon based calling

src/main/java/com/astrazeneca/vardict/modules/ToVarsBuilder.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ public class ToVarsBuilder {
4242
* @param SPLICE set of strings representing spliced regions
4343
* @param ampliconBasedCalling string of maximum_distance:minimum_overlap for amplicon based calling
4444
* @param Rlen maximum read length
45+
* @param referenceResource object for access to reference map
4546
* @param conf VarDict configuration
4647
* @return Tuple of (maximum read length, variant structure)
4748
* @throws IOException if BAM file can't be read

src/main/java/com/astrazeneca/vardict/modules/VariationRealigner.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -676,6 +676,7 @@ && noPassingReads(chr, p, pe, bams, conf)
676676
* @param bam BAM file list
677677
* @param svfdel list of DEL SVs in forward strand
678678
* @param svrdel list of DEL SVs in reverse strand
679+
* @param referenceResource object for access to reference map
679680
* @param conf configuration
680681
* @throws IOException if BAM file can't be read
681682
*/
@@ -1094,6 +1095,7 @@ && isEquals(ref.get(bp - 1), ref.get(bp + dellen - 1))) {
10941095
* @param bam BAM file list
10951096
* @param svfdup list of DUP SVs in forward strand
10961097
* @param svrdup list of DUP SVs in reverse strand
1098+
* @param referenceResource object for access to reference map
10971099
* @param conf configuration
10981100
* @throws IOException if BAM file can't be read
10991101
*/

0 commit comments

Comments
 (0)