package jalview.io;
import jalview.datamodel.AlignmentI;
+import jalview.datamodel.DBRefSource;
import jalview.datamodel.PDBEntry;
import jalview.ext.jmol.JmolParser;
import jalview.structure.StructureImportSettings;
return new PhylipFile();
}
},
+ GenBank("GenBank/ENA Flatfile","gb",false,false)
+ {
+ @Override
+ public AlignmentFileReaderI getReader(FileParse source)
+ throws IOException
+ {
+ // Always assume we import from EMBL for now
+ return new EmblFlatFile(source, DBRefSource.EMBL);
+ }
+ @Override
+ public AlignmentFileWriterI getWriter(AlignmentI al)
+ {
+ return null;
+ }
+ }
+ ,
Jnet("JnetFile", "", false, false)
{
@Override
* @param shortName
* @param extensions
* comma-separated list of file extensions associated with the format
- * @param isReadable
- * @param isWritable
+ * @param isReadable - can be recognised by IdentifyFile and imported with the given reader
+ * @param isWritable - can be exported with the returned writer
*/
private FileFormat(String shortName, String extensions,
boolean isReadable, boolean isWritable)