Package htsjdk.tribble
Class Tribble
- java.lang.Object
-
- htsjdk.tribble.Tribble
-
public class Tribble extends Object
Common, tribble wide constants and static functions
-
-
Field Summary
Fields Modifier and Type Field Description static String
STANDARD_INDEX_EXTENSION
Deprecated.since June 2019 UseFileExtensions.TRIBBLE_INDEX
instead.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static File
indexFile(File file)
Return the File of the index file for the providedfile
Does not actually create an indexstatic String
indexFile(String filename)
Return the name of the index file for the providedfilename
Does not actually create an indexstatic Path
indexPath(Path 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 Detail
-
STANDARD_INDEX_EXTENSION
@Deprecated public static final String STANDARD_INDEX_EXTENSION
Deprecated.since June 2019 UseFileExtensions.TRIBBLE_INDEX
instead.- See Also:
- Constant Field Values
-
-
Method Detail
-
indexFile
public static String indexFile(String filename)
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
public static File indexFile(File file)
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
public static Path indexPath(Path path)
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
public static String tabixIndexFile(String filename)
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
public static File tabixIndexFile(File file)
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
-
-