genomic structures corresponding to crisprs were observed first in 1987 in escherichia coli ( 1 ) and were subsequently reported in other organisms under different names [ trep ( 2 ) , srsr ( 3,4 ) , drvs ( 5 ) , lctr ( 6 ) , spidr ( 7 ) ] until the crispr acronym was proposed by jansen et al . the direct repeat sequences carry in general a low level of palindromic symmetry ; they are remarkably well conserved within a species ( up to 248 exact copies in verminephrobacter eiseniae ef01 - 2 ) . however , one of the flanking drs is frequently truncated or diverged ( see supplementary data ) . the dr size varies from 24 to 47  bp whereas the spacer sequence is generally within the range of 0.62.5 the dr size . the originality of spacers is that they apparently derive from conjugative plasmids or bacteriophages ( 2,911 ) . a prokaryotic genome may harbour up to 16 crispr clusters with the same or a different dr . in a genome , a single crispr is generally associated with a family of genes called cas for crispr - associated ( 8,12 ) , encoding proteins showing functional similarity with components of the eukaryotic rna interference ( rnai ) systems ( 13 ) . in addition , it was demonstrated in two archaea , archaeoglobus fulgidus ( 14 ) and sulfolobus solfataricus ( 15 ) , that the crispr locus is transcribed into small rnas ( smrna ) probably from one of the flanking regions , the leader , acting as a promoter . these observations and the viral origin of spacers have led to the hypothesis that the crispr - associated system ( cass ) is a prokaryotic defence mechanism against genetic aggressions ( 10,13,16 ) . within species , crisprs may be present in a subset of strains , where they sometimes show polymorphism . the dr and the order of the spacers are well conserved , but the number of motifs ( dr + spacer ) differs from strain to strain . to better understand the mechanisms underlying the crisprs evolutionary scenario , three evolution rules were proposed by pourcel et al . ( 15 ) : ( i ) polarized acquisition of spacers near the leader sequence ; ( ii ) random loss of motifs and ( iii ) shared ancestry when spacers are identical . crisprs in silico analyses started in 1995 ( 2 ) but no specific stand - alone crispr software tool was created . several software were used by different authors to identify these particular repeats but usually a manual discard of background was necessary , and generally some crispr clusters were missed or neglected , especially the shortest one ( less than three motifs ) . this is the case , for example , of tandem repeat finder ( 17 ) when considering a motif ( dr + spacer ) as a degenerate repeat ( 10,18 ) , or locating uniform poly - nucleotide areas ( luna ) , a program for finding degenerate repeats in microbial genomes on a desktop computer . the repeats can be filtered using several parameters including length , distance and level of conservation . another program , patscan ( 19 ) a pattern - matching tool that searches sequences fitting the introduced pattern , was applied to identify crisprs containing at least three ( 20 ) or four exact direct repeats ( 8) . pygram ( 21 ) is a visualization program browsing all the repeats in the submitted genomic sequence and showing perfectly conserved palindromic repeats as pyramids . the pygram program is mostly efficient in visually displaying large crisprs ( crisprs with as many as seven motifs are considered as being very short in this work ) since they will be recognized as a concentration of horizontal bars referring to a group of co - occurring repeats that differ by only a few nucleotides . finally , haft et al . ( 12 ) used repfind ( http://bibiserv.techfak.uni-bielefeld.de/reputer/ ) , a part of the reputer package ( 2224 ) and blastn to identify smaller repeat clusters . these programs are the most used tools in crispr detection , although none of them is especially conceived for this purpose . they require further manual manipulations to eliminate background data ( tandem repeats for example ) and importantly , do not define accurately the dr consensus ( due to errors on the boundaries ) . recently , two crispr- dedicated software tools were proposed , crt ( http://www.room220.com/crt ) and piler - cr ( 25 ) . both of them run fast and perform well in finding crisprs . however , crt results in a considerable background since tandem repeats are considered as putative crisprs and in addition , the same crispr is sometimes detected more than once with different consensus drs . piler - cr has also some drawbacks since it often misidentifies the dr boundaries and omits the truncated dr . a specialized program to automatically identify crisprs seems to be mandatory for their optimum , rapid exploration and in - depth analysis , in order to increase the efficiency of crisprs investigations . crisprfinder is a web service offering fundamental tools for crispr detection , including the shortest ones , allowing an accurate definition of the dr consensus boundaries and extraction of the related spacers . it offers also additional tools to analyze the crispr loci : ( i ) obtain the crispr and the flanking sequences according to flexible size ; ( ii ) make a blast of selected spacers or flanking sequences against the genbank database and ( iii ) check if the dr is found elsewhere in prokaryotic sequenced genomes . the input of the web tool is a genomic query sequence of length up to 67  mb in  fasta format . possible locations of crisprs ( consisting of at least one motif ) are detected by finding maximal repeats . a maximal repeat ( 26 ) is a repeat that can not be extended in either direction without incurring a mismatch . the total number of maximal repeats in a sequence of size n is linear ( less than n ) which is interesting since the computation may be done in linear time using a suffix - tree - based algorithm . a crispr pattern of two drs and a spacer may be considered as a maximal repeat where the repeated sequences are separated by a sequence of approximately the same length . the operation of the program can be divided into four main steps summarized in figure 1 : ( step 1 ) browsing the maximal repeats of length 2355  bp interspaced by sequences of 2560  bp , ( step 2 ) selecting the dr consensus according to a defined score taking into account the number of occurrences of the candidate dr in the whole genome and privileging internal mismatches between the drs rather than mismatches in the first or the last nucleotides , ( step 3 ) defining candidate crisprs after checking if they fit crispr definition , ( step 4 ) eliminating residual tandem repeats . ( step 1 ) browsing the maximal repeats to get possible crispr localizations using the vmatch program . ( step 2 ) consensus dr selection according to candidate occurrences and a score computation : the score privileges internal mismatches between direct repeats of a cluster rather than boundary mismatches . ( step 1 ) browsing the maximal repeats to get possible crispr localizations using the vmatch program . ( step 2 ) consensus dr selection according to candidate occurrences and a score computation : the score privileges internal mismatches between direct repeats of a cluster rather than boundary mismatches . ( step 4 ) tandem repeats elimination using clustalw for aligning spacers . in the first step , maximal repeats are found by the software vmatch ( http://www.vmatch.de/ ) , the upgrade of reputer ( 2224 ) . vmatch is based on a comprehensive implementation of enhanced suffix arrays ( 27 ) which provides the power of suffix trees with lower space requirements . a one nucleotide mismatch is allowed permitting minimal crisprs with a single nucleotide mutation between drs to be found . hereafter , the obtained maximal repeats are grouped to define regions of possible crisprs with a display of consensus dr candidates related to each cluster . the difficulty resides especially in the identification of boundaries , which is very important to extract the correct spacers and compare drs . in fact , the consensus dr is selected as the maximal repeat which occurs the most in the whole underlying genome sequence with respect to the forward and the reverse complement directions ( since two crisprs having the same dr consensus may be in opposite directions ) . thus , ambiguity in the choice of a dr will be eliminated in the case of presence of similar drs in other crisprs of the related genomic sequence . however , if occurrence numbers are equal , more than a single dr consensus candidate are kept and later compared . given a candidate consensus dr , the pattern search program fuzznuc of the emboss package ( 28 ) is applied to get drs positions in the related cluster . as the first or the last dr in a crispr may be diverged / truncated , a mismatch of one - third of the dr length is allowed between the flanking drs and the candidate consensus dr , whereas smaller nucleotide differences are allowed between the other drs to take into account possible single mutations . in case of multiple dr candidates , a score is computed and the best one ( minimum ) is picked . this score favours candidates which are encountered more frequently , rather than consensus dr showing less internal mismatches . once the dr consensus is determined , the corresponding spacers ( step 3 ) are extracted according to the dr boundaries determined previously . the spacer length is not allowed to be shorter than 0.6 or longer than 2.5 times the dr length . therefore , tandem repeats are eliminated by comparing the consensus dr with the spacer if there is only one spacer , or by comparing spacers between each other . the comparison is done with the clustalw program ( 29 ) and the percentage of identity between spacers is not allowed to exceed 60% . finally , candidates having at least three motifs and at least two exactly identical drs are considered as confirmed crisprs . these should be critically investigated by , for example , checking for intraspecies size variation of the locus . ns characters are accepted , iub / gcg letters ( mrwsykvhdbx ) will be converted to ns and considered as mismatches but any other characters will be deleted . one can either paste the genomic sequence into the input field or upload it from a file on the local machine . users may use the default version or click on the  advanced version link to set and modify all the program parameters , which may be especially useful for fixing the dr size . after querying a genomic sequence by crisprfinder , results are summarized in a table with the number of confirmed and questionable crisprs ( figure 2a ) . a crispr locus is presented according to a colour code showing drs in yellow and spacers in different colours . the respective positions are displayed , in addition to links to two files : a summary of the displayed properties ( number of motifs , dr consensus , positions , etc . ) and a fasta file containing the list of spacers . in addition , a png ( portable network graphics ) figure displays the different candidates location in the analysed sequence . in the case of presence of crispr clusters , further analysis may be done through three hyperlinks in the left menu : ( i ) blast spacers against the genbank databases with a cutoff of 0.1 for the e - value and a matching length of at least 70% the queried spacer size ( figure 2b ) ; ( ii ) obtain crispr and flanking sequences which are especially useful to define the leader sequence . as the size of the leader sequence depends on the species ( it varies from 100 to 500  bp ) , the retrieved sequence may be manually modified by the user ( figure 2c ) and ( iii ) display identical drs in other known crispr loci ( figure 2d ) . submitted for publication ) . 
 figure 2an example of crisprfinder output using the aquifex aeolicus vf5 genomic sequence ( refseq : nc_000918 ) . ( panel a ) ( 1 ) home page where the genomic sequence is submitted . ( 2 ) table listing the detected crisprs candidates ( questionable and confirmed ) providing links to each one . ( 3 ) crisprs details , the dr is showed in yellow and the spacers in different colours . ( 4 ) a fasta file displaying the first crispr spacers . ( 5 ) figure showing the aquifex circular chromosome with crisprs positions . ( panel b ) one or several spacers may be blasted against ncbi databases by clicking on the blast_spacers button . ( panel c ) the flanking and the crispr sequences may be viewed by clicking on the get sequences button . ( panel d ) the list of consensus drs for all crisprs is shown with a link to identical drs in the crispr database . an example of crisprfinder output using the aquifex aeolicus vf5 genomic sequence ( refseq : nc_000918 ) . ( panel a ) ( 1 ) home page where the genomic sequence is submitted . ( 2 ) table listing the detected crisprs candidates ( questionable and confirmed ) providing links to each one . ( 3 ) crisprs details , the dr is showed in yellow and the spacers in different colours . ( 4 ) a fasta file displaying the first crispr spacers . ( 5 ) figure showing the aquifex circular chromosome with crisprs positions . ( panel b ) one or several spacers may be blasted against ncbi databases by clicking on the blast_spacers button . ( panel c ) the flanking and the crispr sequences may be viewed by clicking on the get sequences button . ( panel d ) the list of consensus drs for all crisprs is shown with a link to identical drs in the crispr database . crisprfinder is a program that allows the identification of structures with the principal characteristics of crisprs , the smaller being composed of a truncated or diverged dr , a spacer and a complete dr . in their analysis , 20 ) using patscan had chosen to retain only crisprs with at least three exact repeats ( eliminating crisprs constituted of a first truncated repeat plus two exact repeats ) thus ignoring most crisprs containing less than three spacers . similarly in the work by durand et al.(21 ) , the pygram program is mostly efficient in visually displaying large crisprs . such stringent criteria were appropriate in order to avoid ambiguities in early investigations which were essentially describing these new structures . however , it is now important , in order to better understand the evolution and spreading of crisprs , to provide tools which will not eliminate the smallest crisprs . the major drawback is that when looking for the shortest structures , such as those with a unique spacer , it is clear that the background of spurious candidates can be very high . the output of patscan and crt also contains a large quantity of noised data that needs a manual treatment . we provide several samples on the website as demonstrators . upon submission of the complete genome of aquifex aeolicus vf5 ( sample1 ) , on the contrary , while using the webservice for patscan ( http://www-unix.mcs.anl.gov/compbio/patscan/ ) , it is necessary to first define a pattern ( which is not straightforward ) and it is not possible to seek for crisprs in a single genomic sequence but rather in an entire predefined database . crt requires either to install jre ( java runtime environment ) or compile the source files , and piler - cr needs to be compiled before use . a comparison between layouts of available online programs ( reputer , patscan , trf ) and of crisprfinder is provided in the supplementary data . to check that crisprfinder was efficient in recovering all the crisprs from a genome the data were generally in good agreement , the differences being always in the dr boundaries identification ( more accurate with crisprfinder ) or in the number of motifs found , as the truncated dr is sometimes neglected or short clusters are not detected with other programs . interestingly , some strains were claimed to be devoid of crisprs by godde and colleagues but proved to have short crisprs with crisprfinder , such as in different shigella sp . ( s. sonnei ss046 , s. flexneri 2a str . 301 , s. flexneri 2a str ) , or even long crisprs such as in pseudomonas aeruginosa ucbpp - pa14 . the latter example is shown on the crisprfinder website ( sample2 ) , and as can be seen by using the blast spacer function , six spacers out of thirty six at two different crispr loci , correspond to a bacteriophage sequence ( bacteriophages f116 , b3 , d3112 , dms3 and phi ctx ) . furthermore , the possibility to identify crisprs containing one or two motifs may help understand how new crisprs are created . the very small candidates will need to be typed across different isolates within the same species or very closely related species to search for variations . for instance , as shown with the sample file provided on the website ( yp1 yersinia ) , five yersinia pestis strains possess at the same crispr locus two to eight spacers , some being unique and others shared by two or more strains ( 10 ) . this strain - dependent polymorphism is especially interesting for epidemiological and phylogenetic studies ( 30,31 ) . a tool to easily create a dictionary of spacers from different strains is proposed in a crispr - dedicated web database ( http://crispr.u-psud.fr/crispr/ ) . the crisprfinder web server is an interface to extract with precision and to further analyse crisprs from genomic sequences . four main advantages may be cited : ( i ) short crispr - like structures are detected , they are labelled questionable but may be of great interest if later confirmed ; ( ii ) drs are accurately defined to single base pair resolution ; ( iii ) summary files may be uploaded ( crispr properties summary and spacers file in fasta format ) and ( iv ) flanking sequences or spacers can be easily extracted and blasted against different databases .
clustered regularly interspaced short palindromic repeats ( crisprs ) constitute a particular family of tandem repeats found in a wide range of prokaryotic genomes ( half of eubacteria and almost all archaea ) . 
 they consist of a succession of highly conserved regions ( dr ) varying in size from 23 to 47  bp , separated by similarly sized unique sequences ( spacer ) of usually viral origin . 
 a crispr cluster is flanked on one side by an at - rich sequence called the leader and assumed to be a transcriptional promoter . 
 recent studies suggest that this structure represents a putative rna - interference - based immune system . here 
 we describe crisprfinder , a web service offering tools to ( i ) detect crisprs including the shortest ones ( one or two motifs ) ; ( ii ) define drs and extract spacers ; ( iii ) get the flanking sequences to determine the leader ; ( iv ) blast spacers against genbank database and ( v ) check if the dr is found elsewhere in prokaryotic sequenced genomes . 
 crisprfinder is freely accessible at http://crispr.u-psud.fr/server/crisprfinder.php .