# HG changeset patch # User ric # Date 1474547875 14400 # Node ID 5ceb7668e2591216aca25a418bfd439102db2ef7 # Parent 8fdf5996c0fb71788e9e7d31a28c8636e7245ade Deleted selected files diff -r 8fdf5996c0fb -r 5ceb7668e259 boh/importer.py --- a/boh/importer.py Thu Sep 22 08:37:42 2016 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,7 +0,0 @@ -# BEGIN_COPYRIGHT -# END_COPYRIGHT - -import sys -from bl.vl.app.importer.main import main - -main(sys.argv[1:]) diff -r 8fdf5996c0fb -r 5ceb7668e259 boh/individual.xml --- a/boh/individual.xml Thu Sep 22 08:37:42 2016 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,99 +0,0 @@ - - import individual definitions within omero/vl - - #if $__app__.config.vl_import_enabled_users.split(',').count($__user_email__)==1 #importer.py - #else #unauthorized_access.py - #end if - #if $advanced_configuration.configuration_level == 'advanced' - --host=$advanced_configuration.vl_host - --user=$advanced_configuration.vl_user - --passwd=$advanced_configuration.vl_passwd - #end if - --operator=galaxy - --ifile=$input - --ofile=$output - --report_file=$report - --loglevel=$__app__.config.vl_loglevel - --logfile=$logfile - #if $blocking_validation - --blocking-validator - #end if - individual - #if str($study) != 'use_provided' - --study $study - #end if - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Will import a stream of new individual definitions defined by the -following columns:: - - label gender father mother - id2 male id4 id5 - id3 female None None - .... - -It is not possible to import the same individual twice: the related -file rows will be noisily ignored. - - - - - - - diff -r 8fdf5996c0fb -r 5ceb7668e259 boh/laneslot.xml --- a/boh/laneslot.xml Thu Sep 22 08:37:42 2016 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,127 +0,0 @@ - - import LaneSlot definitions within omero.biobank - - importer.py - #if $advanced_configuration.configuration_level == 'advanced' - --host=$advanced_configuration.vl_host - --user=$advanced_configuration.vl_user - --passwd=$advanced_configuration.vl_passwd - #end if - --operator=galaxy - --ifile=${in_file} - --ofile=${out_file} - --report_file=${report_file} - --loglevel=$__app__.config.vl_loglevel - --logfile=${log_file} - #if $blocking_validation - --blocking-validator - #end if - laneslot - #if str($study) != 'use_provided' - --study=${study} - #end if - #if str($source_type) != 'use_provided' - --source_type=${source_type} - #end if - #if str($content) != 'use_provided' - --content=${content} - #end if - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -A lane slot record will have the following fields:: - - lane tag content source - V123411 ATCACG DNA V4512415 - V123411 CGATGT DNA V1415512 - V412511 DNA V1909012 - V661251 TGACCA DNA V1123111 - V661251 CTTGTA DNA V1211141 - .... - -the content column can be option if passed as script's input value, -tag column is optional too. - - - - - - - \ No newline at end of file diff -r 8fdf5996c0fb -r 5ceb7668e259 boh/marker_alignment.xml --- a/boh/marker_alignment.xml Thu Sep 22 08:37:42 2016 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,140 +0,0 @@ - - import marker aligments within omero/vl - - #if $__app__.config.vl_import_enabled_users.split(',').count($__user_email__)==1 #importer.py - #else #unauthorized_access.py - #end if - #if $advanced_configuration.configuration_level == 'advanced' - --host=$advanced_configuration.vl_host - --user=$advanced_configuration.vl_user - --passwd=$advanced_configuration.vl_passwd - #end if - --operator=galaxy - --ifile=$input - --report_file=$report - --loglevel=$__app__.config.vl_loglevel - --logfile=${logfile} - marker_alignment - #if str($study) != 'use_provided' - --study ${study} - #end if - #if str($ref_genome) - --ref-genome ${reg_genome} - #end if - #if str($message) - --message ${message} - #end if - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Will read in a tsv file with the following columns:: - - marker_vid ref_genome chromosome pos strand allele copies - V0909090 hg18 10 82938938 True A 1 - V0909091 hg18 1 82938999 True A 2 - V0909092 hg18 1 82938938 True B 2 - ... - -Since pos is relative to 5', if the marker has been aligned on the -other strand, it is the responsibility of the aligner app to report -the actual distance from 5', while, at the same time, registering that -the SNP has actually been aligned on the other strand. - -The chromosome field is an integer field with values in the [1, 26] -range, with 23-26 representing, respectively, the X chromosome, the Y -chromosome, the pseudoautosomal regions (XY) and the mitochondrial DNA -(MT). - - - - - - - diff -r 8fdf5996c0fb -r 5ceb7668e259 boh/marker_definition.xml --- a/boh/marker_definition.xml Thu Sep 22 08:37:42 2016 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,119 +0,0 @@ - - import Marker definitions within omero/vl - - #if $__app__.config.vl_import_enabled_users.split(',').count($__user_email__)==1 #importer.py - #else #unauthorized_access.py - #end if - #if $advanced_configuration.configuration_level == 'advanced' - --host=$advanced_configuration.vl_host - --user=$advanced_configuration.vl_user - --passwd=$advanced_configuration.vl_passwd - #end if - --operator=galaxy - --ifile=$input1 - --ofile=$output1 - --loglevel=$__app__.config.vl_loglevel - --logfile=${logfile} - marker_definition - #if str($study) != 'use_provided' - --study ${study} - #end if - --source ${source} - --context ${context} - --release ${release} - --ref-genome ${ref_genome} - --dbsnp-build ${dbsnp_build} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Will read in a tsv file with the following columns:: - - label rs_label mask strand allele_a allele_b - SNP_A-1780419 rs6576700 [A/G] TOP A G - ... - -Where label is supposed to be the unique label for this marker in the -(source, context, release) context, rs_label is the dbSNP db label for -this snp (it could be the string ``None`` if not defined or not -known). The column mask contains the SNP definition. The strand column -could either be the actual 'illumina style' strand used to define the -alleles in the alleles columns, or the string 'None', which means that -the alleles in the allele column are defined wrt the mask in the -mask column. - -It will, for each row, convert the mask to the TOP strand following -Illumina conventions and then save a record for it in VL. The saved -tuple is (source, context, release, label, rs_label, TOP_mask). There -are no collision controls. - -It will output a a tsv file with the following columns:: - - study label type vid - ASTUDY SNP_A-xxx Marker V000002222 - ... - - - - - - -