-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support VCF v4.3 (read only). (#1359)
* Support VCF v4.3 (read only). * Add UTF-8 source declarations for compile and javadoc tasks.
- Loading branch information
1 parent
1e3f1fa
commit d5ac863
Showing
30 changed files
with
1,200 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package htsjdk.variant.vcf; | ||
|
||
import java.util.*; | ||
|
||
/** | ||
* A class representing ALT fields in the VCF header | ||
*/ | ||
public class VCFAltHeaderLine extends VCFSimpleHeaderLine { | ||
private static final long serialVersionUID = 1L; | ||
|
||
private static List<String> expectedTags = Collections.unmodifiableList( | ||
new ArrayList<String>(2) {{ | ||
add(ID_ATTRIBUTE); | ||
add(DESCRIPTION_ATTRIBUTE); | ||
}} | ||
); | ||
|
||
public VCFAltHeaderLine(final String line, final VCFHeaderVersion version) { | ||
super(VCFConstants.ALT_HEADER_KEY, new VCF4Parser().parseLine(line, expectedTags)); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.