Skip to main content

How to obtain Sequence/Alignment file paths

Comments

4 comments

  • Richard Moir
    Can you provide a bit more detail? Where did the files come from?
    0
  • Mark Miller

    I want to get the file path of the alignment and sequences displayed in Geneious.

    0
  • Richard Moir

    It's not really possible to get the file location because documents aren't necessarily stored as a file, they may be on a shared SQL server. Even if you could, they are stored in a format that is internal to Geneious and generally cannot be read by other tools.

    If you need a file for input to another program then you have to export to a format compatible with that tool first:

    AnnotatedPluginDocument alignmentDocument;
    File nexusInputFile = FileUtilities.createTempFile("input", ".nex", false);
    PluginUtilities.exportDocuments(nexusInputFile, alignmentDocument);
    // TODO: use nexusInputFile to run MrBayes
    0
  • Mark Miller

    This is very helpful. Thank you Richard.

    0

Please sign in to leave a comment.