Package htsjdk.tribble
Class Tribble
java.lang.Object
htsjdk.tribble.Tribble
Common, tribble wide constants and static functions
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic File
Return the File of the index file for the providedfile
Does not actually create an indexstatic String
Return the name of the index file for the providedfilename
Does not actually create an indexstatic Path
Return the name of the index file for the providedpath
Does not actually create an indexstatic File
tabixIndexFile
(File file) Return the File of the tabix index file for the providedfile
Does not actually create an indexstatic String
tabixIndexFile
(String filename) Return the name of the tabix index file for the providedfilename
Does not actually create an indexstatic Path
tabixIndexPath
(Path path) Return the name of the tabix index file for the providedpath
Does not actually create an index
-
Field Details
-
STANDARD_INDEX_EXTENSION
Deprecated.since June 2019 UseFileExtensions.TRIBBLE_INDEX
instead.- See Also:
-
-
Method Details
-
indexFile
Return the name of the index file for the providedfilename
Does not actually create an index- Parameters:
filename
- name of the file- Returns:
- non-null String representing the index filename
-
indexFile
Return the File of the index file for the providedfile
Does not actually create an index- Parameters:
file
- the file- Returns:
- a non-null File representing the index
-
indexPath
Return the name of the index file for the providedpath
Does not actually create an index- Parameters:
path
- the path- Returns:
- Path representing the index filename
-
tabixIndexFile
Return the name of the tabix index file for the providedfilename
Does not actually create an index- Parameters:
filename
- name of the file- Returns:
- non-null String representing the index filename
-
tabixIndexFile
Return the File of the tabix index file for the providedfile
Does not actually create an index- Parameters:
file
- the file- Returns:
- a non-null File representing the index
-
tabixIndexPath
Return the name of the tabix index file for the providedpath
Does not actually create an index- Parameters:
path
- the path- Returns:
- Path representing the index filename
-
FileExtensions.TRIBBLE_INDEX
instead.