htsworkflow.git
13 years agoSet WITH_SEQUENCE as both a per-lane AND global parameter 0.4.5
Diane Trout [Tue, 19 Oct 2010 19:35:57 +0000 (19:35 +0000)]
Set WITH_SEQUENCE as both a per-lane AND global parameter
the per-lane version set $(lane)_WITH_SEQUENCE := TRUE in the makefiles
the gerald WITH_SEQUENCE TRUE changed the setting in the config.txt file

So lets just set both versions and hopefully we'll get sequence files
out the other end.

Let me show you my hammer...

13 years agoWITH_SEQUENCE is actually a global GERALD option, remove the lane specifier.
Diane Trout [Fri, 8 Oct 2010 17:32:46 +0000 (17:32 +0000)]
WITH_SEQUENCE is actually a global GERALD option, remove the lane specifier.

13 years agoUpdate gerald config file generation.
Diane Trout [Thu, 7 Oct 2010 22:32:45 +0000 (22:32 +0000)]
Update gerald config file generation.
Include ELAND_SET_SIZE, WITH_SEQUENCE options
Stop commenting SEQUENCE_FORMAT out

13 years agoMinor changes to display
Lorian Schaeffer [Tue, 5 Oct 2010 18:12:42 +0000 (18:12 +0000)]
Minor changes to display

13 years agoRemoved some models from the admin index view
Lorian Schaeffer [Fri, 1 Oct 2010 19:01:58 +0000 (19:01 +0000)]
Removed some models from the admin index view

13 years agoChanged Frequently Used links to be properly relative
Lorian Schaeffer [Fri, 1 Oct 2010 18:57:01 +0000 (18:57 +0000)]
Changed Frequently Used links to be properly relative

13 years agoRemoved from admin index page
Lorian Schaeffer [Fri, 1 Oct 2010 01:39:37 +0000 (01:39 +0000)]
Removed from admin index page

13 years agoRemoved unused DataRun model from admin index page
Lorian Schaeffer [Fri, 1 Oct 2010 01:25:11 +0000 (01:25 +0000)]
Removed unused DataRun model from admin index page

13 years agoRemoved all analysis models from main admin index
Lorian Schaeffer [Fri, 1 Oct 2010 01:21:39 +0000 (01:21 +0000)]
Removed all analysis models from main admin index

13 years agoLimited which models show up on admin index page
Lorian Schaeffer [Fri, 1 Oct 2010 01:19:44 +0000 (01:19 +0000)]
Limited which models show up on admin index page
Removed some fields from view in the Library Change/Add page
Rearranged the remaining Library fields

13 years agoIgnore some files generated by python
Diane Trout [Thu, 30 Sep 2010 21:58:28 +0000 (21:58 +0000)]
Ignore some files generated by python
.coverage
*.egg-info

13 years agoAdjust spoolwatchers use of inotify to correspond to pyinotify 0.8.9
Diane Trout [Fri, 24 Sep 2010 22:34:17 +0000 (22:34 +0000)]
Adjust spoolwatchers use of inotify to correspond to pyinotify 0.8.9

13 years agoHandle the case when a sequencing lane lacks any yield information.
Diane Trout [Fri, 24 Sep 2010 22:34:16 +0000 (22:34 +0000)]
Handle the case when a sequencing lane lacks any yield information.
(For instance if we only run one lane of analysis on a flowcell)

13 years agoRemind myself that dry-run doesn't work with the extract results code
Diane Trout [Fri, 24 Sep 2010 22:34:15 +0000 (22:34 +0000)]
Remind myself that dry-run doesn't work with the extract results code

13 years agoAdd support for CASAVA 1.7
Diane Trout [Fri, 10 Sep 2010 22:35:20 +0000 (22:35 +0000)]
Add support for CASAVA 1.7

They stopped generating eland_extended files so I needed to parse
the export files instead.

Also more carefully test how I'm computing the U0-2 and R0-2
scores.

13 years agoBetter detect which program ids generated CNF4 srf files.
Diane Trout [Tue, 24 Aug 2010 21:32:06 +0000 (21:32 +0000)]
Better detect which program ids generated CNF4 srf files.
apparently illumina2srf v1.11.5Illumina.1.3 also genrated CNF4s.
It's only illumina2srf v1.11.6... that generated CNF1s.

13 years agoSplit parts of build_fastqs into a seperate function.
Diane Trout [Tue, 24 Aug 2010 00:31:55 +0000 (00:31 +0000)]
Split parts of build_fastqs into a seperate function.
Use the database to flag if a lane is bad instead of hard coding it.
Support comments and spaces in the library_id to target directory file.

13 years agoAdd a "All Lanes" option to the control-lane field for the cases
Diane Trout [Mon, 23 Aug 2010 22:54:20 +0000 (22:54 +0000)]
Add a "All Lanes" option to the control-lane field for the cases
where we didn't set a control lane, but instead let the pipeline
estimate from the entire flowcell.

13 years agoShrink flowcell notes field.
Diane Trout [Sat, 14 Aug 2010 00:23:06 +0000 (00:23 +0000)]
Shrink flowcell notes field.
See [ticket:167]

13 years agoDon't offer to track flowcell config files in svn
Diane Trout [Sat, 14 Aug 2010 00:07:16 +0000 (00:07 +0000)]
Don't offer to track flowcell config files in svn

13 years agoRemove debug print statement
Diane Trout [Fri, 13 Aug 2010 23:57:06 +0000 (23:57 +0000)]
Remove debug print statement

13 years agoReduce the size of the bioanalyzer summary text box
Diane Trout [Fri, 13 Aug 2010 23:51:32 +0000 (23:51 +0000)]
Reduce the size of the bioanalyzer summary text box
to 3 lines.

13 years agoTell git to ignore *.py[co]~ files.
Diane Trout [Fri, 13 Aug 2010 22:49:10 +0000 (22:49 +0000)]
Tell git to ignore *.py[co]~ files.
(Useful if you're using git-svn)

13 years agoThis patch adds in fields to support storing bioanalyzer results. [ticket:166]
Diane Trout [Fri, 13 Aug 2010 22:49:09 +0000 (22:49 +0000)]
This patch adds in fields to support storing bioanalyzer results. [ticket:166]

13 years agoGeorgi used slightly different extensions for the second batch
Diane Trout [Wed, 14 Jul 2010 22:32:16 +0000 (22:32 +0000)]
Georgi used slightly different extensions for the second batch
of data

13 years agoAdd search field to the lanes admin page
Diane Trout [Wed, 14 Jul 2010 22:31:57 +0000 (22:31 +0000)]
Add search field to the lanes admin page

13 years agoUse the htsworkflow API to determine if a flowcell is paired end or not.
Diane Trout [Mon, 12 Jul 2010 19:02:22 +0000 (19:02 +0000)]
Use the htsworkflow API to determine if a flowcell is paired end or not.

13 years agoUnder some conditions urlerror doesn't have a code,
Diane Trout [Mon, 12 Jul 2010 19:01:31 +0000 (19:01 +0000)]
Under some conditions urlerror doesn't have a code,
so just report the raw error message in that case

13 years agoReport if a lane was on a paired end flowcell from the library
Diane Trout [Mon, 12 Jul 2010 18:23:39 +0000 (18:23 +0000)]
Report if a lane was on a paired end flowcell from the library
json structure.

13 years agoSince srf2named_fastq detects what type of srf file I can remove
Diane Trout [Fri, 9 Jul 2010 00:08:12 +0000 (00:08 +0000)]
Since srf2named_fastq detects what type of srf file I can remove
the -c option that was forcing it to read CNF1 formatted srf files

13 years agoUpdate srf2named_fastq to try to detect if the srf file is CNF1 or CNF4
Diane Trout [Thu, 8 Jul 2010 22:15:31 +0000 (22:15 +0000)]
Update srf2named_fastq to try to detect if the srf file is CNF1 or CNF4
and figure out the correct option to pass to srf2fastq.

13 years agoAdd option to force overwriting old fastqs.
Diane Trout [Thu, 8 Jul 2010 18:54:15 +0000 (18:54 +0000)]
Add option to force overwriting old fastqs.

It will ignore the current existence of a fastq file when generating
the condor submit script.

In addition it will tell srf2named_fastq to --force as well.

13 years agoIf a quality score started with an @ sign it was treated as a header
Diane Trout [Wed, 7 Jul 2010 00:19:37 +0000 (00:19 +0000)]
If a quality score started with an @ sign it was treated as a header
which created an invalid fastq file.

This patch fixes that, and introduces some test cases for srf2named_fastq.py

13 years agoThis still isn't ideal as the RESULTS_HOME_DIR is still out of my
Diane Trout [Wed, 7 Jul 2010 00:19:36 +0000 (00:19 +0000)]
This still isn't ideal as the RESULTS_HOME_DIR is still out of my
home directory, but at least the use of expanduser means it'll work on
both linux and os x.

13 years agoSave changes needed to submit to UCSC in Jun 2010.
Diane Trout [Tue, 22 Jun 2010 19:07:49 +0000 (19:07 +0000)]
Save changes needed to submit to UCSC in Jun 2010.

Some of those changes include:
  * modifying the list of variables to include in the ddf
  * making it easier to set the MapAlgorithm.
  * Return information about the condor scripts so I can make a
    condor dagman script to run all the compression jobs

Perhaps some parts of this should be moved into the main
htsworkflow. I can see wanting the code to batch convert
srf/qseqs to fastq being more generally useful.

13 years agoFix srf2named_fastq to output the proper /2 in paired end reads
Diane Trout [Tue, 22 Jun 2010 19:07:48 +0000 (19:07 +0000)]
Fix srf2named_fastq to output the proper /2 in paired end reads

13 years agoUpdate the 'flowcell started' email message to include the sequencer
Diane Trout [Tue, 15 Jun 2010 18:47:09 +0000 (18:47 +0000)]
Update the 'flowcell started' email message to include the sequencer
in the url.

13 years agoMake it easier to run srf2named_fastq.py
Diane Trout [Tue, 15 Jun 2010 18:47:08 +0000 (18:47 +0000)]
Make it easier to run srf2named_fastq.py

13 years agoWrapper script that helps convert srf files to fastq files.
Diane Trout [Tue, 15 Jun 2010 00:18:33 +0000 (00:18 +0000)]
Wrapper script that helps convert srf files to fastq files.
It can do the following:
  split the fastq into two files (for paired end reads)
  add in a flowcell id to the header (for either type of read).

13 years agoRename avg_lib_size to gel_cut_size, and add insert_size
Diane Trout [Mon, 14 Jun 2010 21:11:32 +0000 (21:11 +0000)]
Rename avg_lib_size to gel_cut_size, and add insert_size
to clear up the confusion about what was supposed to be
being recorded in avg_lib_size.

In addition, this patch adds in a per lane status field.

13 years agoUpdate internal copy of the django admin/templates/admin/index.html
Diane Trout [Mon, 14 Jun 2010 21:11:31 +0000 (21:11 +0000)]
Update internal copy of the django admin/templates/admin/index.html
They changed how the css was being imported in the django css
so when running with django 1.1 the admin index page was messed up.

This gets all the borders to show up correctly.

13 years agoCollect fastqs by read and add them to the configuration ini file as a
Diane Trout [Fri, 11 Jun 2010 00:16:19 +0000 (00:16 +0000)]
Collect fastqs by read and add them to the configuration ini file as a
single line. (As desired by UCSC).

Also the library to result map file supports a basic comment character.
if # is the _first_ character it will skip that line.

Next I should fix the avg library size / insert length variables.

13 years agoPut partial support back in for srf files.
Diane Trout [Fri, 11 Jun 2010 00:16:18 +0000 (00:16 +0000)]
Put partial support back in for srf files.

Since I don't know if the srf file is supposed to be single or
paired end, this version assumes paired end unless you provide the
--single option.

Currently it'll give up if you try to convert a paired srf file
to a fastq file.

Also I made the code formatting in the make_parser function
look cleaner, and changed it to allow setting the logging verbosity
via command line options --verbose/--debug.

13 years agoAdd script to try and build submissions to the UCSC encode project.
Diane Trout [Thu, 10 Jun 2010 00:55:11 +0000 (00:55 +0000)]
Add script to try and build submissions to the UCSC encode project.

This version supports generating qseq2fastq entries using the
htsworkflow api and scanning the flowcell repository directory.

There was code to generate the ddf files (from ini files).

I need to update the ini generation code to scan the submisison directory
for fastq files and group them by read.

13 years agoExtend htsworkflow.pipelines.sequences to also try to figure out the cycle count.
Diane Trout [Thu, 10 Jun 2010 00:55:10 +0000 (00:55 +0000)]
Extend htsworkflow.pipelines.sequences to also try to figure out the cycle count.
In addition there is experimental code to shove the found sequences into a
sql database.

I also needed to bug fix the sequence patterns to catch the fake flowcell
ilmn200901 which wasn't matching my regexp for detecting flowcell ids.

13 years agoMove the code to scan the sequence file archive to its own module so
Diane Trout [Thu, 10 Jun 2010 00:55:09 +0000 (00:55 +0000)]
Move the code to scan the sequence file archive to its own module so
I can use it in scripts other than make-library-tree

13 years agonew api module actually needed logging.
Diane Trout [Thu, 10 Jun 2010 00:55:08 +0000 (00:55 +0000)]
new api module actually needed logging.

13 years agoMove the knowledge of the urls for the REST API to one new file
Diane Trout [Thu, 10 Jun 2010 00:55:06 +0000 (00:55 +0000)]
Move the knowledge of the urls for the REST API to one new file
htsworkflow.util.api and then update some of the scripts that were
using the api to import from the new module.

Yes this increases the dependencies, but it does mean it'll be
easier to update the urls if we need to change them

13 years agoapparently commas are important
Diane Trout [Tue, 1 Jun 2010 19:36:31 +0000 (19:36 +0000)]
apparently commas are important

13 years agomake-library-tree should be an installed script too
Diane Trout [Tue, 1 Jun 2010 19:35:59 +0000 (19:35 +0000)]
make-library-tree should be an installed script too

13 years agoAdd in extra fields lorian asked for to library detail page
Diane Trout [Sat, 29 May 2010 01:06:19 +0000 (01:06 +0000)]
Add in extra fields lorian asked for to library detail page

13 years agoDo not insert anything into the header if there is no flowcell info.
Diane Trout [Sat, 29 May 2010 00:08:02 +0000 (00:08 +0000)]
Do not insert anything into the header if there is no flowcell info.

(Previously there was a spurious _)

13 years agoqseq2fastq should also be installed as a script
Diane Trout [Mon, 17 May 2010 22:37:30 +0000 (22:37 +0000)]
qseq2fastq should also be installed as a script

13 years agoA patch that allows printing more than 11 labels at a time.
Brandon King [Fri, 14 May 2010 22:43:22 +0000 (22:43 +0000)]
A patch that allows printing more than 11 labels at a time.

13 years agoDefault to pointing to the Ubuntu python location for django admin templates.
Brandon King [Thu, 13 May 2010 21:32:54 +0000 (21:32 +0000)]
Default to pointing to the Ubuntu python location for django admin templates.

13 years agoMatches can have trailing AGCT in addition to a number
Diane Trout [Sat, 8 May 2010 00:33:58 +0000 (00:33 +0000)]
Matches can have trailing AGCT in addition to a number

13 years agoAlways return a count from carefully_make_hardlinks
Diane Trout [Sat, 8 May 2010 00:32:32 +0000 (00:32 +0000)]
Always return a count from carefully_make_hardlinks
Be more flexible about which json parser to use

13 years agoDisabling 'delete selected'.
Brandon King [Fri, 7 May 2010 22:45:35 +0000 (22:45 +0000)]
Disabling 'delete selected'.

13 years agoAdded a 'Print Labels' action to the Library Admin Page.
Brandon King [Thu, 29 Apr 2010 00:25:58 +0000 (00:25 +0000)]
Added a 'Print Labels' action to the Library Admin Page.
 * Django 1.1 feature.
 * FIXME: Requires a Printer Template (Inventory) with type Library to work...
   * returns a useful error if template does not exist.

14 years agoUpdate summary script to read from the GERALD Summary.xml file
Diane Trout [Fri, 23 Apr 2010 22:21:46 +0000 (22:21 +0000)]
Update summary script to read from the GERALD Summary.xml file
instead of depending on randomly changign html code.

14 years agoAdd support for generating fasta files in addition to fastq files
Diane Trout [Fri, 23 Apr 2010 22:21:45 +0000 (22:21 +0000)]
Add support for generating fasta files in addition to fastq files
Add an option to add a flowcell ID to the header

14 years agoWARNING: Django 1.0.2 to Django 1.1.1 compatibility patch... There's not going back...
Brandon King [Sat, 10 Apr 2010 00:33:30 +0000 (00:33 +0000)]
WARNING: Django 1.0.2 to Django 1.1.1 compatibility patch... There's not going back now!

14 years agoExtend qseq2fastq to write to two fastq files,
Diane Trout [Mon, 22 Mar 2010 22:43:58 +0000 (22:43 +0000)]
Extend qseq2fastq to write to two fastq files,
one for files that pass filter and one that doesn.

14 years agoReport hidden field in the library API
Diane Trout [Fri, 5 Mar 2010 22:53:07 +0000 (22:53 +0000)]
Report hidden field in the library API

14 years agoUse the HTS workflow API to figure out the library tree.
Diane Trout [Fri, 5 Mar 2010 22:41:13 +0000 (22:41 +0000)]
Use the HTS workflow API to figure out the library tree.
This also needed to search flow flowcell id by the starting name
because we still have the status of a flowcell being part of the
name in a few places.

14 years agothere is no such thing as sequence_extended. I was using the wrong
Diane Trout [Mon, 22 Feb 2010 20:07:21 +0000 (20:07 +0000)]
there is no such thing as sequence_extended. I was using the wrong
suffix generator for paired end sequencing

14 years agoReturn affiliation, library name, and comment in the lanes_for json
Diane Trout [Thu, 4 Feb 2010 22:40:40 +0000 (22:40 +0000)]
Return affiliation, library name, and comment in the lanes_for json
api call

14 years agoActually implement the code to loop over a list of runfolders
Diane Trout [Thu, 4 Feb 2010 20:30:09 +0000 (20:30 +0000)]
Actually implement the code to loop over a list of runfolders
on the command line.

14 years agoUpdate the inventory tracker code for the split from lanes being
Diane Trout [Sat, 30 Jan 2010 01:28:52 +0000 (01:28 +0000)]
Update the inventory tracker code for the split from lanes being
in the flowcell table to their own stand-alone model.

Also I made the mark_archived_data script take a list of
runfolder archives so I can archive a whole hard disk in one go.

14 years agoAdds a json api 'lanes_for' feature
Diane Trout [Thu, 28 Jan 2010 23:59:57 +0000 (23:59 +0000)]
Adds a json api 'lanes_for' feature

14 years agoForce auth_backend error messages to sys stderr, as
Diane Trout [Thu, 28 Jan 2010 19:49:13 +0000 (19:49 +0000)]
Force auth_backend error messages to sys stderr, as
wsgi hates stdout

14 years agoRemove debugging code that breaks mod_wsgi
Diane Trout [Wed, 27 Jan 2010 18:03:11 +0000 (18:03 +0000)]
Remove debugging code that breaks mod_wsgi

14 years agoAdded 'lanes_for' which will show recent flowcell lanes ordered by date,
Diane Trout [Tue, 26 Jan 2010 01:40:00 +0000 (01:40 +0000)]
Added 'lanes_for' which will show recent flowcell lanes ordered by date,
and allows filtering by username.

In addition I modified the library index to bin runs into
small (<40), medium (<100), and large (>=100) runs seperated by single
and paired end reads.

14 years agoRefine user handling.
Diane Trout [Fri, 22 Jan 2010 19:30:48 +0000 (19:30 +0000)]
Refine user handling.
The sysadmins need username to match up with the unix accounts,
The site manager needs a meaningful name to attach users to samples.
So the HTSUser string representation is first/last name and then username
in the corner.
In addition I modified the add user popup form to allow setting the
first/last name during the user creation.

14 years agoUpdate test code to deal with the switch to storing archive
Diane Trout [Thu, 21 Jan 2010 23:07:03 +0000 (23:07 +0000)]
Update test code to deal with the switch to storing archive
qseq files instead of srf files

14 years agoDon't throw an error if library.cell_line is None.
Diane Trout [Thu, 21 Jan 2010 22:25:09 +0000 (22:25 +0000)]
Don't throw an error if library.cell_line is None.

The API was having problems where if the cell_line wasn't set it was
trying to do None.cellline_name, which didn't work so well.

In addition there were a few other type conversion issues, such as
unicode(None) != None.

So I added unicode_or_none

14 years agoModify qseq2fastq to also read from compressed tar files containing qseq files
Diane Trout [Wed, 13 Jan 2010 00:11:50 +0000 (00:11 +0000)]
Modify qseq2fastq to also read from compressed tar files containing qseq files

14 years agoUpdate the usage string for qseq2fastq
Diane Trout [Thu, 7 Jan 2010 20:52:11 +0000 (20:52 +0000)]
Update the usage string for qseq2fastq

14 years agoAdd flowcell/lane information for a library to the rest hts api.
Diane Trout [Tue, 15 Dec 2009 23:42:25 +0000 (23:42 +0000)]
Add flowcell/lane information for a library to the rest hts api.
(Also catch a couple of bugs converting some fields to json.)

14 years agoDefine the unicode() function for HTSUser to also report the users full name.
Diane Trout [Tue, 15 Dec 2009 23:42:22 +0000 (23:42 +0000)]
Define the unicode() function for HTSUser to also report the users full name.
ticket:149
Make adding a user to an affiliation optional
ticket:150

14 years agoInclude information about the flowcell run date on the library detail page
Diane Trout [Tue, 15 Dec 2009 23:42:19 +0000 (23:42 +0000)]
Include information about the flowcell run date on the library detail page

14 years agoMake the basic library page show up when javascript is disabled
Diane Trout [Tue, 15 Dec 2009 23:42:17 +0000 (23:42 +0000)]
Make the basic library page show up when javascript is disabled
by removing the x-hidden from the content div.

14 years agoTell people to use the https address so it'll work off campus.
Diane Trout [Tue, 15 Dec 2009 23:42:12 +0000 (23:42 +0000)]
Tell people to use the https address so it'll work off campus.

14 years agoModify the srf utility to tar.bz2 the qseq files instead of the using
Diane Trout [Fri, 11 Dec 2009 23:56:10 +0000 (23:56 +0000)]
Modify the srf utility to tar.bz2 the qseq files instead of the using
the srf utility.
Additionally I updated the runfolder script to capture a few more
pieces of information (in addition to the switch to qseq files).
I'm now capturing the IVC plot and pngs, and the
flow cell reports generated by the 1.4 and later version of the
pipeline.

14 years agoReplace '.' with 'N' in the sequence from qseq files.
Diane Trout [Tue, 1 Dec 2009 22:19:10 +0000 (22:19 +0000)]
Replace '.' with 'N' in the sequence from qseq files.
Also add an option to include the pass filter state in the header
(and a small code reorganization)

14 years agoFix typo in srf command
Diane Trout [Tue, 1 Dec 2009 22:19:09 +0000 (22:19 +0000)]
Fix typo in srf command

14 years agoAlso include the read ID in the fastq header
Diane Trout [Tue, 1 Dec 2009 02:03:04 +0000 (02:03 +0000)]
Also include the read ID in the fastq header

14 years agoAdd a simple utility to convert qseq to fastq files.
Diane Trout [Tue, 1 Dec 2009 01:41:40 +0000 (01:41 +0000)]
Add a simple utility to convert qseq to fastq files.

It'll probably morph into a more complex utility in the near future.

14 years agoWatch for a list of files to indicate that the flowcell is done.
Diane Trout [Wed, 25 Nov 2009 21:13:54 +0000 (21:13 +0000)]
Watch for a list of files to indicate that the flowcell is done.
I change completion_file to completion_files and used shlex.split
to split the options in the ini file into multiple elements.

Thus if you want a name with a space in it you'll need to use a
backslash before the space

14 years agoOverride extjs's rather harsh stylesheet so the library detail page is legible
Diane Trout [Fri, 13 Nov 2009 01:26:58 +0000 (01:26 +0000)]
Override extjs's rather harsh stylesheet so the library detail page is legible

14 years agoDon't add the post_run_command unless the option and a runfolder are specified
Diane Trout [Tue, 10 Nov 2009 02:06:30 +0000 (02:06 +0000)]
Don't add the post_run_command unless the option and a runfolder are specified

14 years agoRemport that the pipeline will be done in X to Y days from now
Diane Trout [Tue, 10 Nov 2009 02:06:26 +0000 (02:06 +0000)]
Remport that the pipeline will be done in X to Y days from now
instead of from when the pipeline was started.

14 years agoupdate inventory status template to use new field name for samples_library library id
Diane Trout [Tue, 27 Oct 2009 22:27:10 +0000 (22:27 +0000)]
update inventory status template to use new field name for samples_library library id

14 years agoAllow specifying which database to convert
Diane Trout [Tue, 27 Oct 2009 22:27:08 +0000 (22:27 +0000)]
Allow specifying which database to convert

14 years agoTurn the library_id back into the primary key for samples_library (SCHEMA CHANGE!)
Diane Trout [Tue, 27 Oct 2009 22:07:44 +0000 (22:07 +0000)]
Turn the library_id back into the primary key for samples_library (SCHEMA CHANGE!)
Trying to make it possible to enter the 'library_id' instead of the
arbitrary auto-incrementing key when creating a flowcell was turning out
to be far too time consuming.

It was vastly easier to decide that the 'library id' was a sufficiently
unique short value that it could be used directly as the primary key.
Its now a char 10 field, unlike the integer primary key to support
stanford style library IDs like SL123.

Its possible to convert the previous database version to one compatible with
this code by running docs/conv_library_id_to_pk_v0.3.1.py

14 years agoFigure out the absolute path to the runfolder for passing to the post_run
Diane Trout [Sat, 17 Oct 2009 00:27:36 +0000 (00:27 +0000)]
Figure out the absolute path to the runfolder for passing to the post_run
command

14 years agoAlso use the javascript dual panel choice box for tags.
Diane Trout [Thu, 8 Oct 2009 19:39:33 +0000 (19:39 +0000)]
Also use the javascript dual panel choice box for tags.

14 years agoIn some cases test_retrive_config will attempt to normalize None as a url
Diane Trout [Thu, 8 Oct 2009 00:39:32 +0000 (00:39 +0000)]
In some cases test_retrive_config will attempt to normalize None as a url
which doesn't work so well.

So this patch just returns the None and lets the problem
get sorted out elsewhere.

14 years agoUse raw_id_fields for the library ID in the Flowcell Lane Inline form
Diane Trout [Thu, 8 Oct 2009 00:13:17 +0000 (00:13 +0000)]
Use raw_id_fields for the library ID in the Flowcell Lane Inline form
this provides a vastly superior choice for searching a large number of
database entries.

I also grouped the various Lane form customization elements together
as I was tired of scrolling up and down in the file.

14 years agoAdd the ability not to build srf files.
Diane Trout [Thu, 8 Oct 2009 00:13:08 +0000 (00:13 +0000)]
Add the ability not to build srf files.

This requires that you specify the 'site name' as a flag to turn
on creating the srf files.Add the ability not to build srf files.