public final class FileExtensionHelper extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FileExtensionHelper.CompactFileType
Possible types for compact files.
|
| Modifier and Type | Field and Description |
|---|---|
static String[] |
COMPACT_ALIGNMENT_FILE_EXTS
File extensions for alignment data in "compact reads" format.
|
static String[] |
COMPACT_READS_FILE_EXTS
File extenstion for sequence data in "compact reads" format.
|
static String[] |
COMPACT_SEQUENCE_BASE_INFORMATION
File extenstion for sequence base information data.
|
static String[] |
FASTX_FILE_EXTS
Probable file extensions for FASTA/FASTQ files.
|
| Modifier and Type | Method and Description |
|---|---|
static FileExtensionHelper.CompactFileType |
determineCompactFileType(File file)
Determine the type of data within a file in compact reads format.
|
static FileExtensionHelper.CompactFileType |
determineCompactFileType(String file)
Determine the type of data within a file in compact reads format.
|
static boolean |
hasCompactAlignmentExtension(File file)
Does the given file have an extension that matches a known Goby compact alignment format?
|
static boolean |
hasCompactAlignmentExtension(String file)
Does the given filename have an extension that matches a known Goby compact alignment format?
|
static boolean |
hasCompactReadsExtension(File file)
Does the given file have an extension that matches a known Goby compact reads format?
|
static boolean |
hasCompactReadsExtension(String file)
Does the given filename have an extension that matches a known Goby compact reads format?
|
public static final String[] FASTX_FILE_EXTS
public static final String[] COMPACT_READS_FILE_EXTS
public static final String[] COMPACT_ALIGNMENT_FILE_EXTS
public static final String[] COMPACT_SEQUENCE_BASE_INFORMATION
public static FileExtensionHelper.CompactFileType determineCompactFileType(File file)
file - The file to checkpublic static FileExtensionHelper.CompactFileType determineCompactFileType(String file)
file - The name of file to checkpublic static boolean hasCompactReadsExtension(File file)
file - The file to checkpublic static boolean hasCompactReadsExtension(String file)
file - The name of file to checkpublic static boolean hasCompactAlignmentExtension(File file)
file - The file to checkpublic static boolean hasCompactAlignmentExtension(String file)
file - The name of file to checkCopyright © 2017 Campagne Laboratory. All rights reserved.