Skip to content
Snippets Groups Projects
  1. Nov 08, 2010
    • Laros's avatar
      Added a new function to the webservice, enabled analysis of non-coding RNA and · 518b5e14
      Laros authored
      fixed a bug that was triggered when a range is used in combination with a
      genomic notation.
      
      webservice.py:
      - Added a function runMutalyzer(), full programmatic access to Mutalyzer (to 
        be expanded).
      
      Serializers.py:
      - Added the class MutalyzerOutput() which will contain any data needed by the
        webservice. For now it only contains the original and mutated DNA sequence.
      
      sp.py:
      - Added the new runMutalyzer() function to the examples.
      
      GenRecord.py:
      - Activated the transcription of non-coding RNA.
      
      GBparser.py:
      - Added the gathering of non-coding RNA data from an NR reference sequence.
      
      Mutalyzer.py:
      - Fixed a bug that was triggered when a range is used in combination with a 
        genomic notation.
      - Added the full original and mutated string to the output object for use in
        webservices.
      
      Parser.py:
      - Corrected some comment.
      
      bnf.tex:
      - Synchronised the BNF with the functionality of the parser.
      
      help.html:
      - Corrected some text.
      
      
      
      git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/trunk@99 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
      518b5e14
  2. Oct 21, 2010
  3. Oct 03, 2010
  4. Sep 22, 2010
  5. Sep 09, 2010
    • Laros's avatar
      Fixed a bug that was triggered by incomplete exons in an EST reference sequence. · 31272838
      Laros authored
      mutalyzer.conf:
      - Increased the UpdateInterval window to three weeks (apparently 7 was too
        small since we sometimes miss an update).
      
      handler.py:
      - Added mimetype guessing for all files in base/ (to make images cacheable and
        to reduce browser errors).
      
      UCSC_update.py:
      - Fixed a bug that made the update program crash.
      
      GenRecord.py:
      - Added a function __checkExonList() that checks whether CDS start and CDS stop
        are in the list of gathered exons.
      - Added error handling for incomplete exon lists.
      
      Web.py:
      - Updated the release date.
      
      menu.html:
      - Fixed a syntax bug.
      
      style.css:
      - Fixed a syntax bug.
      
      
      
      git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/trunk@89 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
      31272838
  6. Sep 03, 2010
  7. Aug 31, 2010
  8. Aug 27, 2010
  9. Aug 26, 2010
  10. Aug 18, 2010
  11. Aug 16, 2010
    • Laros's avatar
      Fixed a bug that made a +1 or -1 intron position result in a frame shift. · 2ea6cf83
      Laros authored
      Mutator.py:
      - In the newSplice() function, The call to shiftpos() is changed back to the
        original one. This version (shiftpos(i + 1) - 1) was done to make an
        insertion at the end of an exon possible. So this functionality is not
        available right now.
      
      
      git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/trunk@80 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
      2ea6cf83
    • Laros's avatar
      Beta-2 release. · 1755a402
      Laros authored
      Wrote documentation:
      - Removed the bibliography database and replaced it with a (generated) bbl
        file.
      - Wrote a number of new sections in the TRM.
      - Modified the Makefile for the new bibliography method.
      
      Mutalyzer.py:
      - Added documentation.
      - Reinstated the ``alternative protein'' (alternative start codon).
      - Added the molType to the output object, this is needed in the check.html
        template.
      
      Scheduler.py:
      - Fixed a bug that made any position conversion batch job crash.
      
      File.py:
      - Fixed a bug that made every batch job with no errors in the input crash.
      
      index.py:
      - Added a variable genomicDNA to the arguments in the check() function.
      - Fixed a bug in the syntaxCheck() function, that made the syntax checker
        crash.
      
      check.html:
      - Added a ``clear field'' button.
      - Added different headers for genomic DNA and mRNA.
      - Modified the ``alternative protein'' visualisation.
      
      snp.html:
      - Added a ``clear field'' button.
      
      menu.html:
      - Fixed a bug in the background image.
      - Removed the link to HGVS_nomenclature_extension_proposal.pdf and made it an
        external link.
      - Added a link to Mutalyzer 1.0.4.
      
      menu.js:
      - Added a clearForm() function that clears one element in a form.
      
      converter.html:
      - Added a ``clear field'' button.
      
      parse.html:
      - Added a ``clear field'' button.
      
      
      
      git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/trunk@79 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
      1755a402
  12. Aug 09, 2010
    • Laros's avatar
      First Beta release. · e0024265
      Laros authored
      Added help and about pages.
      
      Extended the TRM.
      
      Mutalyzer.py:
      - Added a __checkDNA() funtion for input checking.
      - Added a warning message for ``rolled'' insertions that are not duplications.
      - Added a warning for unsupported RNA descriptions.
      
      Web.py:
      - Added a release date variable.
      - Increased version numbers.
      
      index.py:
      - Added functions for the new pages (help.html and about.html)
      - Fixed a cosmetic bug that occurred when using html tags in the input.
      
      menu.html:
      - Made the top and bottom links compatible with Internet Explorer.
      - Added a link to the about page.
      - Added a link to the name generator page.
      - Removed some comment, altered some layout.
      
      index.html:
      - Moved some technical data to the about page.
      
      
      
      git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/trunk@78 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
      e0024265
  13. Aug 05, 2010
    • Gerben Stouten's avatar
      FIXES · a86d786f
      Gerben Stouten authored
      =====
      src/Modules/Mapper.py
          * LOVDERR fixed
      	Correct return string when the Variant-info requests a reference
      	that could not be found in the database
      
      ADDED FEATURES
      ==============
      Name Generator
      
      src/index.py
          * Added the Name Generator reference
      
      templates/menu.html
          * Updated the Menu to include the Name Generator
      
      templates/generator.html
          * Main HTML file for the name generator
      
      templates/base/js/generator.js
          * Main JS file for the name generator
      
      TODO
      ====
      Name Generator
          Add Protein description, allel and exotic names
      
      
      
      
      
      git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/trunk@77 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
      a86d786f
  14. Aug 04, 2010
    • Gerben Stouten's avatar
      Minor Bug Fixes · 51318f49
      Gerben Stouten authored
      src/
          Mutalyzer.py
      	Batch Jobs omit additional mutalyzer results when an error occures
      
          LRGParser.py
      	Added the locus tag, transcriptProduct and proteinProduct
          
          GenRecord.py
      	Removed transLongName & protLongName.
      	Substituted by transcriptProduct and proteinProduct
      
          File.py
      	Empty lines in batch files are preserved
      	A better summary of errors is displayed
      	A threshold of 5% is set which omits erroreneous entries
      	Added the skip flag ~! for entries to be skipped at all
      	    Used for empty lines and lines that do not follow
      	    the formatting of either the new of old style
      	
          Db.py
      	Added the option to set a flag when inserting an entry
      
      templates/
          batch.html
      	Moved the error below the input form
      
      
      TODO:
          File.py
      	Add threshold to config file
      	
      
      
      git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/trunk@76 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
      51318f49
    • Laros's avatar
      Started on the TRM, therefore the separate files Db.txt and errorcodes.txt have · 0aa697dd
      Laros authored
      vanished. Fixed a large number of bugs.
      
      Db.txt, errorcodes.txt:
      - Renamed and converted to LaTeX.
      
      bibliography.bib:
      - Added references for the TRM.
      
      TechnicalReference.tex:
      - Documented a large part of the modules.
      
      Mutalyzer.py:
      - Added a __formatRange() function for better output of a range.
      - Added a __checkIntronPosition() function that checks the validity of an 
        intronic notation.
      - Fixed a bug that made a change in the first 9 nucleotides result in an
        unknown protein description.
      - Modified the error- and warning messages for large strings (see Mutator.py)
        and ranges.
      - Added a filter for indexing by protein isoform.
      
      Mutator.py:
      - Replaced the calculation of restriction sites using sets with code that does
        so using multisets. This allows the deletion of a site while an other site
        with the same name remains to be detected. Restriction sites are also
        reported in a more compact way.
      - Extracted the part of the visualisation where large strings are represented
        by their pre- and suffix and a number of omitted nucleotides. This is now
        available as a function visualiseLargeString().
      
      Parser.py:
      - Separated the visualisation of a parse error from the error message. The 
        visualisation is now put in the output object as "parseError".
      
      Output.py:
      - Added documentation.
      
      GBparser.py:
      - Moved the reverse-complement logic for the __findMismatch() function to the
        function itself.
      - Added an extra check for retrieving slicing information.
      - Added a filter for poorly annotated exons.
      - Added documentation.
      
      Retriever.py:
      - Added file type information (for lrg and gb files).
      - Added sanity checks for the snpConvert() function.
      - Added documentation.
      
      GenRecord.py:
      - Added a new type "construction" to the linking methods, meaning that the
        mRNA is generated from the CDS.
      
      Web.py:
      - Added an email variable for output to the website.
      
      index.py:
      - Added error information, to hide parts of the output.
      - Added file type information (see Retriever.py) to make download links more
        sensible.
      - Modified the syntax checker to work with the new parser output (see
        Parser.py).
      - Fixed a bug (selecting the human build) in the position converter.
      - Renamed download() to webservices().
      - Renamed ConversionChecker to PositionConverter.
      
      disclaimer.html:
      - Added.
      
      check.html:
      - Modified the template to work with the new restriction site format and the
        new parse error format.
      - Made lots of things conditional.
      
      skel.html:
      - Added.
      
      snp.html:
      - Added an example.
      
      menu.html:
      - Modified the layout, added some links, etc.
      
      Other templates:
      - Mainly edited the layout and indentation.
      
      
      
      git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/trunk@75 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
      0aa697dd
  15. Jul 28, 2010
    • Gerben Stouten's avatar
      Alpha 5 · 63031896
      Gerben Stouten authored
      Mutalyzer.py
          * Typo
      
      handler.py
          * Reverted the download of sp.py to the original version -r25
      
      VarInfo.py
          * Fixed a return bug of the mainMapping
      
      index.py
          * dropped redirect function
      
      #######Modules#######
      
      LRGParser.py
          * added a few checks for existing XML tags
      
      GBparser.py
          * __tagLocus product tag fixed if not existing
      
      Mapper.py
          * _FieldsFromDb fixed if versions is ""
      
      #######Templates######
      sp.py
          * reverted to version 25
      
      
          
      
      
      git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/trunk@74 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
      63031896
    • Laros's avatar
      Rewrote the GBparser module to cope with multiple linking methods (to link · f299d5e6
      Laros authored
      mRNA and CDS fields). Added a SNP converter. Implemented a first check for
      variants that hit splice sites. Added a chromosomal position for NC slices.
      Added a check for the use of intronic positions in a transcript reference 
      sequence.
      
      mutalyzer.conf:
      - Added variables for splice site mutation detection.
      
      Mutator.py:
      - Merged the restriction sites (added, deleted) in one object.
      
      Output.py:
      - Changed the return type of getIndexedOutput() and getOutput() from None to
        an empty list for convenience.
      
      Config.py:
      - Added variables for splice site mutation detection.
      
      GBparser.py:
      - Completely rewrote this module.
        - Will now collect all CDS, mRNA and exon information.
        - Tries to match a CDS and mRNA based upon the range.
          - When this succeeds, try to match on protein, locus tag or product name.
          - If all fails and there is only one option left, link it.
        - Will remove genes that are not fully annotated (half outside the record
          for example).
      
      Retriever.py:
      - Added a snpConvert() function.
      - Added a check for uploaded records or slices that have no sequence in them
        (a complete contig for example).
      
      GenRecord.py:
      - Added variables to cope with chromosomal coordinates.
      - Added a toChromPos() function to convert a g. notation to a g. on a
        chromosome.
      - Added a addToChromDescription() function to generate a chromosomal
        description of a variant.
      - Modified some warnings concerning missing mRNA or missing CDS.
      - Added a checkIntron() function that gives a warning when a variant hits a
        splice site.
      
      Web.py:
      - Added a nomenclature version variable.
      - Added a urlEncode() function to generate valid links.
      
      File.py:
      - Made the getMimeType() function public.
      
      Mutalyzer.py:
      - Added a __intronicPosition() function that checks whether the user used an
        intronic position.
      - Added checks for illegal use of intronic positions.
      - Fixed a bug in the __toProtDescr() function.
      - Added more checks for the translation and transcription of transcripts.
      - Added a better CDS start site mutation detection.
      - Added a chromosomal description if available.
      - Added more information to the legend (product and linking method).
      - Merged the restriction sites (added, deleted) in one object.
      
      handler.py:
      - Added guessing of mime types for downloadable files (it used to default to
        text/plain).
      
      index.py:
      - Added a snp() function to interface with the snp() function of the Retriever.
      - Added a checkForward() function to accommodate for HTTP GET links.
      - Removed the `version' variable from all functions, it is now moved to the
        menu.
      
      check.html:
      - Modified to cope with the new functionality.
      
      gbupload.html:
      - Restructured the layout.
      
      snp.html:
      - New page for the SNP converter.
      
      menu.html:
      - Modified to cope with the new functionality.
      
      style.css:
      - Modified to make some better tables and helper boxes.
      
      index.html:
      - Completely rewritten it.
      
      parse.html:
      - Restructured the layout to make it uniform with the name checker.
      
      
      
      git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/trunk@73 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
      f299d5e6
  16. Jul 27, 2010
  17. Jul 26, 2010
    • Gerben Stouten's avatar
      Major fix for the batch runs · 808ea897
      Gerben Stouten authored
      Mutalyzer.py
          * Updated the batch output generator
      
      handler.py
          * Make result file downloadable
      
      webservice.py
          * Make webservice compatible with the new Mapper module
      
      VarInfo.py
          * Updated functions to reflect new Mapper module
      
      index.py
          * Added a redirect option to move get messages to the check form
          * Updated check to use the Session from redirect
          * implented __checkInt to catch user errors in upload
          * Added a progress option to get updates about batch progress
          * updated batch to show batch progress after submit
      
      #Templates
      interface.js
          * Added the AJAX request to get a batch progress counter
          * Started the linkify to change all Mutalyzer instances to clickable links
      
      batch.html
          * Added a hidden form to support the batch progress
      
      gbupload.html
          * Display Errors 
      
      
      
      #Modules
      Output.py
          * Added the getMessagesWithErrorCode
      
      LRGParser.py
          * Made the seq a BioSequence for the restriction function
      
      Retriever.py
          * Added BatchFlags support to prevent jobs to hang at the same problem
          * Updated some returnvalues to reflect errors
      
      Scheduler.py
          * Implemented the Flags to skip or alter other batch entries
          * Cleaned up the nameCheckerbatch significantly
          * Added a try/except clause around the namechecker to prevent batchhangs
          * Changed output fileextension to txt
      
      Mapper.py
          * Cleaned up Module
          * mainTranscript function updated to reflect webservice needs
          * Correct errors when retrieving fields from DB in _FieldsFromDb
      
      Db.py
          * Impemented entriesLeftForJob to get info about how a job is doing
          * Added updateBatchDb and skipBatchDb to skip/alter batch entries
      
      
      
      
      git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/trunk@71 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
      808ea897
  18. Jul 19, 2010
    • Laros's avatar
      Merged r63:HEAD. · c251656a
      Laros authored
      git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/trunk@68 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
      c251656a
    • Gerben Stouten's avatar
      TODO: · 7e91c366
      Gerben Stouten authored
      		- update errorcodes.txt
      		- rewrite some webservice.py functions
      		- File.py ods files are not read in correctly. Temp file deleted before it
      			can be used
      
          
      CHANGES:
      		- mutalyzer.conf
      				Added pidfile reference
      				Added Output Headers for the Batch Jobs
      
      		- Db.txt
      				Updated the Db.txt file so that it reflects the database changes
      					* BatchJob now contains an Arg1 attribute, which is used by the
      						Conversion Batch to store the build version. This could be
      						changed to use the Filter Field.
      					* Dropped the Var table
      					* BatchQueue -> AccNo, Gene, Variant are dropped and replaced by
      						single column input. This fields contains a single full
      						mutalyzer variant description.
      
      		- Install.txt
      				Added the python-daemon dependency
      
      		- handler.py
      				Added a downloads handler for the old and new batch files
      				Other handlers are changed so the filter for extensions now matches the
      				trailing characters
      
      		- webservice.py
      				Made the functions compatible with the new Mapper.Converter class
      				*** This webservice.py can use a bit more structure ***
      
      		- index.py
      				Moved a lot of logic from the index file to the Mapper.py module
      				Implemented the batch handler, which has multiple entry points
      				positionConverter now uses the Mapper.Converter class
      
      		- BatchChecker.py
      				Fixed the multiprocessing bugs. Now uses python-daemon to spawn a
      				process and uses the var/batch.pid as a lockfile for the process
      
      		---- Modules
      
      		- Ouput.py
      				Added getSoapMessages, which returns Soap compatible Messages for over
      				the wire
      				Added getBatchMessages, which returns messages above %level and filters
      				the ParseError to one line
      		
      		- LRGparser.py
      				Included the usage of transcription.translate and transcribe for the
      				main transcript
      
      		- Config.py
      				Added the Batch Headers to the configfile
      				Added a Batch Config object for the PID file
      
      		- Scheduler.py
      				Added the SyntaxCheck Batch
      				Added the Conversion Batch
      				Have the BatchProcesser read the Argument from the Batch
      				Changed outputfile format to csv
      
      		- File.py
      				Changed the csv sniffer to drop the ":" delimiter in batch entries
      				Updated some Job logic to detect all lines with basic errors
      
      		- Mapper.py
      				Practically a complete refactor of the module
      				Added the Converter class for chromosome to c and back conversions
      				Added a SoapMessage class which instances can be send over the wire
      				Updated the Mapper.Mapping class to use SoapMessage messages
      				Basically create correct mappings between c 2 chrom 2 c [tested]
      				Reduced the number of Database calls needed significantly
      
      		- Db.py
      				Implemented getAllFields to retrieve complete dataset of Fields of
      				intereset, this reduced the number of database calls
      				Updated the Db logic to encompass the new Batch Job logic:
      						Input entries are 1 field
      						Jobs have a type
      						Jobs can have arguments (1 at the moment, use BITFLAGS)
      
      
      		---- Templates
      
      		REMOVED 
      				- batchCheck.html				-> All Batch jobs are united in batch.html
      				- batch_convert.html		->  								"
      				- convert.html					-> Replaced by converter.html
      
      		CHANGED
      				- batch.html
      						Included big file type help
      						Made template compatible with the three different batchTypes
      
      				- gbupload.html & menu.html
      						Fixed an onload javascript bug which caused a stream of javascript
      						errors on pages other than gbupload
      		
      				- interface.js
      						Added the changeBatch and toggle_visibility functions
      
      		ADDED
      				- downloads
      						Added example download files for old & new batchfiles
      
      
      NOTES:
      		- change permission on var/batch.pid to have apache read/write it
      		- 
      
      
      
      git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/branches/lrg@67 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
      7e91c366
    • Laros's avatar
      Implemented better visualisation of changes in the protein. Added IVS and EX · ca841562
      Laros authored
      notation. Implemented the detection of the addition or removal of restriction 
      sites. Added additional information about the transcript under scrutiny (if
      any), like the g. and c. positions of the exons, as well as the CDS start
      and stop.
      
      install.sh:
      - Added a rewrite rule to link to the bug tracker.
      
      Db.txt:
      - Updated the definition of the GBInfo table.
      
      errorcodes.txt:
      - Added a new error (EPOS).
      
      templates/base/images:
      - Made new images for the template (temporary).
      
      style.css:
      - Added a new class to make a form button look like a clickable link (used in
        check.html).
      - Added a new <td> class for right aligned text.
      
      check.html:
      - Made a lot of output conditional, depending on what Mutalyzer returns.
      - Made the submit forms conditional, depending on the method of retrieval:
        - GET ->  No forms.
        - POST -> Full output.
      - Added exon and CDS information.
      - Added restriction site information, coupled to the `raw variants'.
      - Added a download link for the reference sequence.
      - Made the affected transcripts clickable (post to Mutalyzer).
      - Added highlighting of changed amino acids for the protein changes.
      
      gbupload.html:
      - Added a conditional output section for uploaded sequences.
      
      menu.html:
      - Changed the logos.
      - Added a link to the bug tracker.
      
      index.html:
      - Cleaned up the layout (indenting).
      - Added link to Gen2Phen.
      
      Mutator.py:
      - Implemented the detection of the addition or removal of restriction sites.
        - Of each raw variant and its flanking sequences, two sets of restriction
          sites is constructed. One for the original subsequence and one for the
          mutated subsequence.
        - Additions and deletions can be detected by using the minus operator for
          sets.
      - Changed the `visualisation' output list from a bare list to a list of 
        triples.
      - Added verbose output to all raw variants.
      
      Parser.py:
      - Added productions for the EX and IVS position notations.
      
      Output.py:
      - Added a function that returns the data at the index in a list. Neither the
        list, nor the index need to be present, in which case None will be returned.
        This is convenient in index.py.
      
      GBparser.py:
      - Added a version variable to the record class (not used yet).
      - Fixed a bug in matching transcripts and CDS by using a locus tag.
      
      Retriever.py:
      - Added return values for downloadrecord() and uploadrecord(), so they can be
        used in index.py.
      
      GenRecord.py:
      - Added translate and transcribe variables to the Locus class, to be used to
        skip translation of non coding transcripts and to skip the processing of 
        incomplete transcripts as a whole.
      
      Web.py:
      - Revived the old tal parser to return a more basic html page (used when GET
        instead of POST is used in index.py). Mainly for LOVD.
      
      Scheduler.py:
      - Testing.
      
      Crossmap.py:
      - Updated comment.
      - Added:
        - getSpliceSite(), get the g. position of a splice site.
        - numberOfIntrons(), get the number of introns in a transcript.
        - numberOfExons(), get the number of exons in a transcript.
      
      index.py:
      - check():
        - Removed checks by using the getIndexedOutput() function.
        - Added a call to the `old' tal parser in case of a GET request.
        - Added more output (exon/CDS info, restriction sites, ...).
      - upload():
        - Implemented calls to the uploadrecord() and downloadrecord() functions of
          the Retriever module.
      
      Mutalyzer.py:
      - Implemented a new protein visualisation function that highlights the changes.
      - Used __toProtDescr() (and therefore the findInFrameDescription() and 
        findFrameShift() functions) to return the extent of the change, as well as a
        description of it. The extent is coded as a triple: (from, original end,
        variant end). This is used for the new visualisation.
      - Added a check for an inversion of length 1 (actually a substitution).
      - Added translation from EX and IVS positions (and ranges) to standard HGVS 
        positions.
      - Added a check for out of boundary positions (outside the reference sequence).
      - Added exon and CDS information to the output.
      - Made the translation of a CDS depend on the translate member variable of the
        Locus class.
      
      
      
      git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/trunk@66 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
      ca841562
  19. Jul 07, 2010
    • Gerben Stouten's avatar
      Sorry batchCheck.html and with file handler · 338585c7
      Gerben Stouten authored
      git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/branches/lrg@65 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
      338585c7
    • Laros's avatar
      Created branch lrg. · 3dcfdb96
      Laros authored
      
      git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/branches/lrg@63 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
      3dcfdb96
    • Laros's avatar
      Merged version 58:HEAD (lrg to trunk). · 8eef6214
      Laros authored
      
      git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/trunk@61 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
      8eef6214
    • Gerben Stouten's avatar
      TODO!: · 3c895565
      Gerben Stouten authored
          - Schedular.py
      	addJob calls Popen and returns immediatly this kills the spawned process
      	and leaves an unjoined child. This must be fixed with e.g. multiprocessing
          - 
      
      CHANGES:
          - templates
      	* menu.html	- include navigation to new features
      	* check.html	- <pre>mutalyzer output</pre>
      	* batch.html	- change Name Checker Batch Output
          - Modules
      	* Db.py		- addJob  function attributes include jobType
      			  getJobs function returns JobID & JobType
      	* Schedular.py  - process function now support different jobtypes
      			  addJob  function new attribute jobType
      					   disabled BatchChecker -> TODO
      	* LRGparser.py  - removed the names of transcript in the updatable
      			    section
          - /
      	* index.py	- batchCheck fn cleaned up and implemented
      	* Mutalyzer.py  - added _batchOutput function to generate a batch output
      			  entry in the output object, which is used in the batch
      			  version of the NameChecker
      
      
      NOTES:
          - Modules
      	* Schedular.py	- __sendMail doesn't handle mail errors.
      			  addJob doesn't start the batchchecker
          - /
      	* index.py	- batchConvert fn in the middle of development, cleaning
      			  up previous version: batchConversion
      			- checkingSyntax function needs to be moved to
      			  another section and be reused in the batchSyntaxCheck
      
      
      
      git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/branches/lrg@60 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
      3c895565
    • Laros's avatar
      - Added the linkage of mRNA and CDS via their accession numbers. · 78dcb861
      Laros authored
      - Implemented the checking of shifting a deletion or insertion over a splice 
        site boundary in a transcript.
      
      Db.txt:
      - Added table definitions for the new Link table (used for the linkage of mRNA
        and CDS in the absence of locus tags).
      
      GBparser.py:
      - Moved all functions to a GBparser class.
      - Added a transcriptToProtein() function that queries the database for a link
        between a transcript- and a protein accession number, if it is not found, the
        NCBI is queried to retrieve this link (and it is added to the local database).
      - Modified the createGBRecord() function to work with the new linkage function.
      
      Config.py:
      - Added an email variable for the GBparser module (temporarily).
      
      GenRecord.py:
      - Added a function to the Gene class that creates a new locus tag.
      - Added a function to the Gene class that finds a link between a transcript and
        a CDS, based on the protein accession number.
      
      Db.py:
      - Added the functions getProtAcc(), getmrnaAcc() and insertLink() for the
        linkage of transcript and CDS.
      
      gbupload.html:
      - Changed the orientation input field to a select box.
      
      Mutalyzer.py:
      - Implemented the checking of shifting a deletion or insertion over a splice 
        site boundary in a transcript.
      - Fixed a bug in the description of a frameshift.
      
      
      
      git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/trunk@59 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
      78dcb861
  20. Jun 30, 2010
    • Laros's avatar
      Created branch lrg. · 0bbe17ee
      Laros authored
      
      git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/branches/lrg@58 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
      0bbe17ee
    • Laros's avatar
      Merged revision 44-55 from branch lrg into trunk. · 94a0c5a7
      Laros authored
      
      git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/trunk@56 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
      94a0c5a7
    • Gerben Stouten's avatar
      Minor update CDS fix · a102d088
      Gerben Stouten authored
      git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/branches/lrg@55 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
      a102d088
    • Laros's avatar
      Merged branch web_dev revision 34 to 48 and trunk. · aae359c0
      Laros authored
      
      git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/trunk@53 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
      aae359c0
    • Laros's avatar
      Renewed the web interface. Worked on protein descriptions. Added more error · 2e170030
      Laros authored
      handling for incomplete and poorly annotated GenBank files.
      
      menu.html:
      - Template for all pages. Includes a menu and such.
      
      index.html:
      - The main page.
      
      base/:
      - Pictures, javascript, stylesheet, etc.
      
      interface.js:
      - Temporary script for gbupload.html.
      
      download.html:
      - Adjusted to work with the menu.html template.
      
      gbupload.html:
      - Adjusted to work with the menu.html template.
      
      check.html:
      - Extended the template to use more variables to increase flexibility.
      
      index.py:
      - Removed the capturing of the Mutalyzer output in the check() function,
        replaced it with retrieval of data from the Output object. 
      - Added a new index() function (see index.html).
      - Implemented the upload() function (see gbupload.html), currently it can only
        retrieve genes and chromosome slices from the NCBI.
      
      Web.py:
      - Enabled the parsing of the menu.html template in the tal() function.
      
      handler.py:
      - Modified to work with the new tal() function of Web.py.
      
      Output.py:
      - getMessages() now returns a list of messages, instead of printing it to 
        standard output.
      
      mail.txt:
      - Template message for finished batch jobs.
      
      Mutalyzer.py:
      - __bprint() now puts the visualisation of a protein in the Output object, 
        instead of printing it to standard output.
      - Made a new protein printing function that can highlight the changes, it is
        not used yet.
      - Added a __cdsLen() function that is used to see if a variant leads to a
        frameshift or not.
      - Added extention of a protein in the protein description function.
      - Added some error handling for `?' as a position.
      - Added error messages for invalid genes and transcript variants in the 
        input (suggesting possible options).
      - DNA / protein descriptions are now stored in the Output object.  
      - Added a legend.
      
      GenRecord.py:
      - Added functions listLoci() and listGenes() for suggestions when invalid 
        input is given.
      - Added a preprocessing step in the GenBank file parsing to deal with 
        missing locus tags (not functional yet).
      - Added some error handling for incomplete transcripts.
      
      
      
      git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/trunk@52 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
      2e170030
    • Gerben Stouten's avatar
      Big update, LRG files now completely processed, annotation from updatable · d5a7ff70
      Gerben Stouten authored
      section included in record.
      
      Extracted code to create a GenRecord.Record from a GenBank file from
      GenRecord.py and included it in GBparser.py
      
      Updated the Retriever Module to facilitate two different retriever-types;
      LRGRetriever and GBRetriever.
      
      Updated the Db module with one method to update a LRG record in the database
      
      
      NOTE: Ensembl data is parsed but not yet included in the GenRecord.Record,
      because there is no clear usage for this. This behaviour can be changed in the
      LRGparser.py file
      
      
      git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/branches/lrg@51 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
      d5a7ff70
  21. Jun 28, 2010
  22. Jun 25, 2010
Loading