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 StringSTANDARD_INDEX_EXTENSION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FileindexFile(File file)Return the File of the index file for the providedfileDoes not actually create an indexstatic StringindexFile(String filename)Return the name of the index file for the providedfilenameDoes not actually create an indexstatic PathindexPath(Path path)Return the name of the index file for the providedpathDoes not actually create an indexstatic FiletabixIndexFile(File file)Return the File of the tabix index file for the providedfileDoes not actually create an indexstatic StringtabixIndexFile(String filename)Return the name of the tabix index file for the providedfilenameDoes not actually create an indexstatic PathtabixIndexPath(Path path)Return the name of the tabix index file for the providedpathDoes not actually create an index
-
-
-
Field Detail
-
STANDARD_INDEX_EXTENSION
public static final String STANDARD_INDEX_EXTENSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
indexFile
public static String indexFile(String filename)
Return the name of the index file for the providedfilenameDoes 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 providedfileDoes 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 providedpathDoes 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 providedfilenameDoes 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 providedfileDoes not actually create an index- Parameters:
file- the file- Returns:
- a non-null File representing the index
-
-