101 things you (maybe) didn’t know about MacVector: #22 – Aligning Primers To A Reference Sequence

There are a number of different ways that you can find the potential binding locations of primers on a sequence using MacVector. You can use the Quicktest Primer function, or create a Primer database and scan for potential primer binding sites using the Analyze | Nucleic Acid Subsequence analysis algorithm. You can also use the Edit | Find function to search for the primer sequence, though that does currently require a perfect match between the primer and the target sequence.

All of these approaches are great, but they do have the one limitation that they will not report potential binding sites if there are any insertions or deletions in the primer or target binding site sequences. To find potential binding sites where the primer has an insertion or deletion relative to the target sequence, you need to use the Analyze | Align To Reference function. However, you do need to adjust some of the alignment parameters to get this to work correctly. Here’s how to do that;

First, you need to get your primer sequences in a suitable file format that the Align To Reference function can read – this means any standard sequence format that MacVector can read. You can either save each primer as a single file with the name of the file being the name of the primer, or you can create a single “multiple sequence” file with all of the primers contained in that file. If you use the second approach, by far the easiest format to use is the FastA multiple sequence format. This is a simple text format where the primers appear in the format;

>name_without_spaces optional comment that can have spaces
AGCTGTAGCTGTGTTGATTCTT

So a more complete example might look like this;

>Primer1
TTTTGCTAAAGACGTAAAACAAG
> Primer1delta deletion at 9
TTTTGCTAAGACGTAAAACAAG
> Primer1insert insertion at 9
TTTTGCTAGAAGACGTAAAACAAG

Once you have your primers in a suitable format, open the sequence of interest and choose Analyze | Align To Reference. In the window that opens, click on the Add Seqs toolbar button and then select the file(s) containing your primer sequences.

ReadyToALignPrimers.png

After import, the individual primer sequences are shown in italics to indicate they have not been aligned. Click on the Align toolbar button to run the alignment algorithm. However, to ensure these short primers will align correctly, we need to adjust the alignment parameters because the defaults are tuned for long sequence confirmation experiments;

Align to Reference Parameters.png

In particular, note that the Score Threshold needs to be reduced – a value of 20 means that with a match value of 2, there needs to be an unbroken run of at least 10 residues to match or exceed the value, or 13 residues containing a single mismatch (work it out!). To better handle short runs of gaps, increasing sensitivity to 6 or more will produce better alignments at the cost of slower alignments.

After the alignments are complete, you can see the gapped primers aligned in the Editor tab;

AfterAlignmentPrimers.png

For an overview of the alignment, checkout the Map tab;

AfterAlignmentPrimers-Map.png

Note how unaligned primers pile up at the beginning of the sequence and are shown in a paler color than the aligned primers.

This is an article in a long running series of tips to help you get the most out of MacVector. If you want to get notified every time a new tip gets published, follow us @MacVector on twitter (or check the feed for the hashtag #101MacVectorTips) or like us on Facebook.

Posted in 101 Tips | Tagged , | Comments closed

MacVector 12.7 is now out.

We’re pleased to announce that MacVector 12.7 has just been released.

The most exciting new feature is the Cloning Clipboard. We’ve had a lot of user requests over the past few years for help with designing cloning operations and the user feedback we had during the beta testing of MacVector 12.7 makes us think we’ve done it. The Cloning Clipboard makes cloning even complex multi fragment operations easy and quick. You literally drag and drop fragments from the Cloning Clipboard into a vector. You can join molecules together by dragging the end of one fragment to the end of another. The tool also lets you easily accomplish cloning constructs that were difficult with earlier versions of MacVector. You can easily design and document all subcloning operations from simple digests to complex multi fragment procedures such as Multisite Gateway.

Fig9 pDEST R3R4

Another user request has been for help in documenting the history of a construct. So now all ligation events are documented and saved to the sequence. The Frag feature (in Genbank format) is annotated to the sequence showing the enzymes used, the date and any end modifications.
ClickCloningHistory

There’s also been some significant performance enhancements to the Dot Plot (DNA Matrix) analyses and to the Align To Reference analyses, allowing you to now run pairwise alignments of whole genomes in just a few minutes or to align hundreds of thousands of NGS Reads against a reference genome in an hour or so.

MacVector 12.7 also sees the introduction of a new free basic edition, Macvector Free. You can use MacVector Free to open or download sequences in any supported format, edit them, print, copy sequences, text and graphics, and save in any supported format. This is great for sharing sequences with your non-MacVector using colleagues without having to convert sequences into a common format, often losing information (such as graphical appearance and layout) in the process. Although do remember that MacVector will always export to a full Genbank format sequence. You’ll never be locked out of your data!

CloningClipboard

Due to the requirement for signed applications on Lion and Mountain Lion since Apple introduced Gatekeeper there are two installers.

Download MacVector 12.7 Installer for Leopard (10.5) and Snow Leopard (10.6)

Download MacVector 12.7 Installer for Lion (10.7) and Mountain Lion (10.8)

Posted in Releases | Tagged , , | Comments closed

101 things you (maybe) didn’t know about MacVector: #21 – MacVector Free

MacVector Free is a version on MacVector that provides many of MacVector’s most popular functions completely free of charge. This is a new feature of MacVector that we introduced with the latest MacVector 12.7 version. Here’s how to get it – simply register for the fully functional 21-day time-limited trial version and install the trial license that we will e-mail to you. After the 21-day trial period expires, you can still continue to use MacVector, but with reduced functionality. However, you can still accomplish many common molecular biological manipulations with MacVector Free, for example;

• All of the file opening, saving and printing functions are active so you can use MacVector to convert between file formats and open sequences and alignments in any format supported by MacVector.

• All of the feature creation and editing tools are functional, including the tools for changing the graphical appearance of features so you can customize your sequence to create gorgeous plasmid maps and copy those into other graphics applications or print them out with high resolution.

• The automatic restriction enzyme searching and digest/ligate “Click Cloning” functions are active. This means you can create and document new constructs by simply clicking on restriction enzyme sites and copying and pasting into vectors. This also works for documenting simple Gateway recombinational cloning constructs.

• All of the basic editing capabilities are active in the Multiple Sequence Alignment and Align To Reference windows. You can’t run the automatic alignment tools, but you can manually tweak and print alignments sent to you by colleagues or imported from other formats.

• The Internet Entrez and BLAST functions are available and fully functional.

Obviously, there are many advanced features that are not available in MacVector Free, but if you have relatively simple needs, MacVector Free is a great way of keeping track of constructs you’ve made in the lab and for preparing high quality maps for lab meetings. If you are a regular MacVector user, you can send MacVector files to collaborators who do not have MacVector and point them to MacVector Free so that they can open, view, edit, print and save the files in any format they wish.

For more details of the functionality included in MacVector Free, please follow this link.

This is an article in a long running series of tips to help you get the most out of MacVector. If you want to get notified every time a new tip gets published, follow us @MacVector on twitter (or check the feed for the hashtag #101MacVectorTips) or like us on Facebook.

Posted in 101 Tips | Comments closed

101 things you (maybe) didn’t know about MacVector: #20 – Customizable Toolbars

This is more of a Mac OS X tip than anything specific to MacVector. However, it does come up again and again and it illustrates just one way that MacVector is tightly integrated into the Apple operating system.

If you right-click on the toolbar of any MacVector window, a drop down menu will appear (ctrl-click if you don’t have a two button mouse or trackpad);

ToolbarPopupMenu.png

The first three items (Icon and Text, Icon Only and Text Only) simply control the combination of Icon/Text to be displayed in the toolbar – you can save a little space by choosing not to display one or the other. Similarly, the Use Small Size option reduces the size of the icon to save space. However, the most useful item is the Customize Toolbar item. When you select this, you can completely customize the buttons on the toolbar;

CustomizeToolbar.png

Notice how there are many more buttons available in the customizable collection than are used by default in the single sequence Editor toolbar (we trade-off between useful buttons and space when choosing the defaults). You can drag your favorite buttons onto the toolbar (or remove those you never use) to create your own personal set of buttons. Once you click on Done, the toolbars of all nucleic acid sequence windows displaying the Editor tab will update to reflect the new selections and the custom settings are remembered permanently. Each tab has its own separate customizable toolbar, so you can create different sets for the Editor, Map, Features and Annotations tabs, each containing your preferred buttons for working within that tab. In addition to tabs in the nucleic acid and protein single sequence windows, you can also customize the Multiple Sequence Alignment, Align to Reference and Contig Editor toolbars along with the main Analysis Toolbar that runs across the top of the screen whenever MacVector is active.

This is an article in a long running series of tips to help you get the most out of MacVector. If you want to get notified every time a new tip gets published, follow us @MacVector on twitter (or check the feed for the hashtag #101MacVectorTips) or like us on Facebook.

Posted in 101 Tips | Tagged | Comments closed

101 things you (maybe) didn’t know about MacVector: #19 – Preview Releases and Beta Testing

Here at MacVector we do try to listen to our users and love getting feedback and suggestions for features to add to future versions. We also like to have “real world users” test each version before we finally release it as an upgrade. No matter how much internal testing we perform, there always seems to be some combination of sequences and workflow that reveal bugs we would never have discovered in years of our own testing. Beta releases are also great ways for interested users to suggest tweaks to new functionality that can be included in the final release.

Chris has just blogged about the latest Preview Release of MacVector 12.7. A Preview Release is one that contains the final set of functionality, has been well tested internally, and we are just making sure there are no surprises before we release it publicly. You can download the Preview Release from this page.

With MacVector 12.7 now essentially complete, its time to turn our attention to the next release of MacVector, to be released sometime in 2013. If you have a suggestion for an enhancement, upgrade or new feature you would like to see in MacVector 13.0, now is a great time to let us know. In addition, if you would like to be notified when our first Beta releases are available, do send us an e-mail. For both of these requests, the best contact address for us is support@macvector.com.

This is an article in a long running series of tips to help you get the most out of MacVector. If you want to get notified every time a new tip gets published, follow us @MacVector on twitter (or check the feed for the hashtag #101MacVectorTips) or like us on Facebook.

Posted in 101 Tips | Comments closed

MacVector 12.7 preview release

Our next release is MacVector 12.7 and it will be out very soon. However, if don’t want to wait then you can download a preview before the real release in November.

Fig9 pDEST R3R4

MacVector 12.7 has a new Cloning Clipboard tool that dramatically simplifies the creation of new DNA constructs. The new functionality not only lets you join molecules together using an intuitive drag and drop interface, but also lets you easily accomplish cloning constructs that were difficult with earlier versions of MacVector. This tool is great for designing and documenting all your subcloning from simple digests to complex multi fragment procedures such as Multisite Gateway.

There’s also been some significant performance enhancements to the Dot Plot (DNA Matrix) analyses and to the Align To Reference analyses, allowing you to now run pairwise alignments of whole genomes in just a few minutes or to align hundreds of thousands of NGS Reads against a reference genome in an hour or so

Due to the requirement for signed applications on Lion and Mountain Lion since Apple introduced Gatekeeper there are two installers.

Download MacVector 12.7 Installer for Leopard (10.5) and Snow Leopard (10.6)

Download MacVector 12.7 Installer for Lion (10.7) and Mountain Lion (10.8)

MacVector 12.7 will be released during November, 2012

Posted in Development, Releases | Tagged , | Comments closed

Workshop series in Boston – November, 6th to 9th

If you are a user of MacVector and work in Boston, then you may be interested to know that MacVector are heading your way!

Our trainer, Kevin Kendall, will be presenting a series of workshops on MacVector aimed at both beginners and advanced users. He will review basic and advanced functionality within MacVector, focusing on the new features introduced over the last two years. He’ll also give you a preview of the new functionality in our latest release, MacVector 12.7. The style will be very informal and participants are encouraged to ask questions.

CloningClipboard

UMass – Worcester

S6-310
Worcester, MA 01655

Wed. Nov. 7, 2:00 – 4:00

Children’s Hospital, Boston

1 Autumn St. (Basement level), Auditorium B, Boston MA 02115

Thurs. Nov 8, 10:00 to 12:00

If you are affiliated with either UMass – Worcester or Children’s Hospital – Boston, Harvard Medical School or Brigham and Women’s Hospital and are interested in attending, please email Rosemary to register.

If you are interested in a workshop at your institute or company please contact Support.

Posted in Meetings, Tutorials | Tagged | Comments closed

101 things you (maybe) didn’t know about MacVector: #18 – Aligning Chromatogram (ABI) Sequences

I blogged about this a few years ago, but its something that still comes up on a regular basis. The blog link discusses the 6 main alignment algorithms in MacVector and how to decide which is the most appropriate for accomplishing different tasks. One common request we get is “I want to see my chromatograms/traces aligned so that I can edit the alignments”. For this, there are two main approaches. Note that you should NOT use the Multiple Sequence Alignment (ClustalW, Muscle or T-Coffee) interface unless you are truly looking for the evolutionary relationships between the sequences and know that they are already all in the correct orientation. None of these algorithms will “flip” the chromatograms when required, but the strategies described below will do that.

Typically, if you are aligning chromatograms it is because you are re-sequencing something. Admittedly, that is not always the case – if you are trying to determine the sequence of an unknown piece of DNA, then you need to use the add-on Assembler module. I’m not going to discuss that here but there is a tutorial that you can download from this link.

Otherwise, you would normally start with a Reference sequence – it might be the predicted sequence of the PCR fragment you cloned, the starting sequence for a mutagenesis experiment or even a related sequence from another organism. It can even be the entire genome of an organism to which you want to align chromatograms from sequencing runs of mRNA or cDNA clones. In any event, open that sequence first, then choose Analyze | Align To Reference. The window that opens contains a COPY of the starting sequence – now click on the Add Seqs button and select all the ABI/.ab1/SCF chromatogram files from your sequencing project directory to import them into the window;

SequenceSampleUnaligned ― Editor.png

You can then click on the Align button to align the chromatogram sequences with the reference. There is a choice of two algorithms;

Choose cDNA Alignment only if you are expecting the presence of large gaps in the alignment. Typically, you would only use this algorithm for aligning cDNA sequences against a genomic sequence.

Use Sequence Confirmation when you expect the chromatograms to fairly closely match the reference sequence, with perhaps just a few small deletions/insertions due to sequencing errors or clonal variation.

Once you click OK, the algorithm will run and, crucially, chromatograms that align to the minus strand will automatically be flipped and aligned to the reference;

SequenceSampleAligned ― Editor.png

For more information on the use of Align To Reference, check out our tutorial that you can download from this link.

This is an article in a long running series of tips to help you get the most out of MacVector. If you want to get notified every time a new tip gets published, follow us @MacVector on twitter (or check the feed for the hashtag #101MacVectorTips) or like us on Facebook.

Posted in 101 Tips | Tagged , | Comments closed

101 things you (maybe) didn’t know about MacVector: #17 – Creating A Primer Database From An Excel File

Following on from my last post, and Nick’s comment that if you already have a primer collection, its not really practical to re-type them all into MacVector, one-by-one, here’s a useful tip to simplify that process.

We have a utility called PrimerConverter.app that you can download from our website. You do need to be using OS X 10.5 or later for this to run. With most web browsers, the file will automatically “unzip” when you download it. While you can run PrimerConverter.app from any location on your computer, you might want to move it to your /Applications/ folder where you should ideally keep all of your executable programs.

Before running PrimerConverter, you’ll need to get your data into a suitable format and that usually means getting your data into Excel. PrimerConverter.app can only read data from “comma separated variables” (.csv) files. Specifically it wants to see the data as a text file of one or more lines with the format;

(name), (sequence) [, (optional comment)]

e.g.

My Primer, AGCTAGTCGGGCTTTAGCTCCC, my comment

The easiest way to accomplish this is to first organize your primers in Excel so that they are laid out with the primer name in the first column, the sequence in the second column and any comments you might want included in the third column;

Primers in Excel.png

Then choose File | Save As… and select Comma Separated Values (.csv) from the Format menu and save the data to your hard drive. Now start PrimerConverter, click on the Import csv file button and select your saved csv file;

PrimerConverter.png

The lower text pane shows a simplified text representation of the data found in the file. If all looks OK, click on the Save in MacVector format button. If you open the saved file in MacVector, you should see that all of your primers now appear in a .nsub Nucleic Acid Subsequence window where you can use it for searches as I described in the last tip;

CommonPrimers.nsub.png

There are a couple of other useful tips you should bear in mind;

1) The Allow up to X mismatches… popup menu in PrimerConverter can be used to set the number of mismatches permitted for every primer in the file. I usually set this to 2 or 3 so that close matches or SNP mutagenesis sites will be picked up in the search.

2) You can also indicate residues that should always be matched by putting them in a different case. If you normally save your primers in upper case, then if you introduce some lower case residues

AAGCTTAGCTTCCCAGCATagctg

PrimerConverter will create a file where the lower case residues are treated as “must match” residues. You can also do the opposite and have most of the residues in lower case so that PrimerConverter will treat only the upper case characters as the “must match” residues. PrimerConverter assumes that the the least common case is the one marking the “must match” residues. You can override this by selecting the Only upper case are “must match” characters if you want more than half the characters to me “must match” residues.

This is an article in a long running series of tips to help you get the most out of MacVector. If you want to get notified every time a new tip gets published, follow us @MacVector on twitter (or check the feed for the hashtag #101MacVectorTips) or like us on Facebook.

Posted in 101 Tips | Tagged , , | Comments closed

BLAST is Fixed!

Thanks to our friends at the NCBI, BLAST is now working again!

Posted in Uncategorized | Comments closed