Episode 5: How to Generate a Geneious Variant Report

In this video we are going to talk about how to generate a Geneious variant call report file.

Load the File

We are going to assume that you already have Geneious Prime launched and running, that you have already imported your sample FastQ files, you have already run the sequence alignment variant call algorithms against those FastQ files, and now you want to know how to generate the variant report. So that’s where we are going to start.

In this case, we already have Geneious launched. There should be a contig file (a three diagonal bar icon). You will have your sample name in here and it will say that it is assembled to some reference genome. In this case ours is Staph. aureus. So it would be “sample_name_assembled_to_reference_genome”.

Set Up the Geneious Panels

The first thing you want to do is check that record. This is the document field or document panel in Geneious up here. That should bring up three other panels. This may depend on where you are at with Geneious. If you have already run Geneious a few times it may look a little bit different than this. It depends on how your configuration, but you should be able to bring up this sequence view panel in the middle. On the right, there will be this configuration panel. Then down on the bottom, there will be a spreadsheet panel.

The first thing you want to do is make sure that you look at this tab list along the top here and click on Contig View. You want to make sure that is highlighted. The next step is to go over to the configuration panel on the right, and you will see this list of options along the right panel. The one you want to choose is this yellow right arrow. Click the Annotation and Tracks panel.

Check the following checkbox options:

  • Show Annotations
  • Types
  • CDS
  • Tracks
  • Variants

The other options should be left unchecked.

Then if you look along the bottom panel, it’ll say Columns, Track, and Export Table. We want to go to the Track option, left mouse click that to highlight it, and there should be a “Variants” track in here. We want to check that. That’s going to bring up another spreadsheet. I have already configured this, so I have some columns already set here, but you should see some kind of a spreadsheet down at the bottom at this point.

Changing the Variant Report Headers

The next step is to go to the Columns option and click on that. It will bring up a fairly long list of column names or column headers that you can choose to configure the spreadsheet. You can see some of these are already checked. You have “Name”, “Min” and “Max”, “Genomic Loci”, you can have things like the “Length”, “Amino Acid Change”, “Quality”, “CDS”, “Codeon Changes, and so on and so forth.

Go to the top, click Manage Columns and that will bring up this view. The list on the left shows all the available column headers that you can choose from. The list on the right shows the ones we’ve already selected. If you want, you can pick any available column, choose the right arrow, and that’ll move it over to the selected column. Here it is over on the selected side. If you want to rearrange the order of the spreadsheet headers, you can click the up button and the down button to move it around, whatever you want to do there.

I already have these in order. I don’t really want “Quality” in this report, so I’m going to move it back out to the available column with the left arrow. What I’m left with is the selected list showing all the column headers that I want in this spreadsheet. So then I click “Ok” and now what’ll happen is in the bottom panel you’ll see those headers show up here. You can see “Name”, “Minimum”, “Maximum”, “Loci”, the length of the polymorphism, “Polymorphism Type”, “Amino Acid Change”, coding sequence and so forth.

Export the Variant CSV Report

Now you can export the table. Just click on the Export Table option and that will bring up a dialog box. You can go to this Look in: field and choose whatever directory want to store in the file in. Down here we have the file name. There’s a default naming convention. You can either leave that as it is or change it. You will see that there’s a couple of file types. One is the Excel .csv file, you can also use tab-separated values or .tsv file if you want. We always just choose the default, the the standard .csv file, and then we save it. That’s really all there is to creating the variant spreadsheet file.

Change to an Excel File

At this point we have the .csv file saved on our local workstation. You can also format that in a different Excel format so I’ll show you how to do that right now.

I went ahead and closed out Geneious and launched Excel. I’m going to assume that you have some version of Excel installed. One reason I want to walk through this is that most people wanted to convert the .csv file to an Excel formatted file that they can view and work with. I’ll show you how we do that here, it’s pretty straightforward, but there’s a couple of nice little tricks I can show you.

Choose File – Open, look for the .csv file, and open it. The formatting is not great here, so we’re going to reformat this a little bit. I want to save it in a different format so we chose File > Save As and it brings up this dialog box. This might be a bit different on your system depending on what operating system you’re using or what version of Excel, but somewhere it should say something like File Format, and by default it’s .csv. What we are going to do is change that to .xls, it’s a standard Microsoft Excel format and it will say something like “Microsoft Excel 5.0/95 Workbook” with the .xls suffix. Click on that and then save it.

Formatting the Excel File

There are a couple of nice things we can do here. We can highlight the header record and convert it to a bold format. One thing I like to do here is go to View > Freeze the Top Row. If we scroll up and down the top row was frozen.

Then Edit > Select All, we want to select the entire spreadsheet in this case. Then we can go up to Format > Columns > Auto Fit Selection. Auto Fit looks at all the cells and tries to reformat them so that every cell has served this optimal formatting. It just lays it out very nicely for you.

Go up to Data > Sort, which brings up this dialog box. The first thing I want to do is make sure I have My List has Headers is checked. Go to the first field here and I normally choose Minimum, the minimum genomic loci. I click on that, and then we use Smallest to Largest in this case. Then you go to the (+) option to add another level. Go back up here again and sort by the Maximum genomic loci, then Smallest to Largest again, and click OK.

It has now sorted this across the genome from left to right, from smallest to largest genomic locus. If we do a little scrolling here, you’ll see that the it’s increasing across the genome, left to right, smallest to largest. That’s kind of nice, because then we can just go scrolling through here and look at different polymorphism types. You can see what kind of coding sequences there are, if there are any codeon changes, protein effects, and all that.

  • Don’t forget to save that, go to File > Save. Now you have yourself the variant report.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *