# HG changeset patch # User erasmus-medical-center # Date 1527686475 14400 # Node ID 4fc47a3ff9e8d8f8555071316b8c9f829e12963b # Parent 10a407fb5072b1c50fe920ee1140fe17aa3ddf9d planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/galaxytools-emc/tree/master/tools/hla_dq commit 3f631031b57350f0437e90e4de3352725bb84716 diff -r 10a407fb5072 -r 4fc47a3ff9e8 hla_dq.py --- a/hla_dq.py Wed May 30 07:50:21 2018 -0400 +++ b/hla_dq.py Wed May 30 09:21:15 2018 -0400 @@ -42,12 +42,12 @@ ''' each combination of DQA1,DQB1,type ''' associated_combinations = [ - ['02:01', '02:02', 'DQ2.2'], - ['03:03', '02:02', 'DQ2.3'], - ['05:01', '02:01', 'DQ2.5'], - ['03:01', '03:02', 'DQ8'], - ['03:02', '03:02', 'DQ8'], - ['03:03', '03:02', 'DQ8']] + ['02:01', '02:02', ' DQ2.2 (02:01-02:02)'], + ['03:03', '02:02', ' DQ2.3 (03:03-02:02)'], + ['05:01', '02:01', ' DQ2.5 (05:01-02:01)'], + ['03:01', '03:02', ' DQ8 (03:01-03:02)'], + ['03:02', '03:02', ' DQ8 (03:02-03:02)'], + ['03:03', '03:02', ' DQ8 (03:03-03:02)']] return [a[2] for a in associated_combinations if a[0] in typesA and a[1] in typesB] @@ -83,4 +83,4 @@ outfile.write( 'A' + str(bcount) + '\t' + '\t'.join([';'.join(sorted(set(l))) - if l else '-' for l in line])+'\n') + if l else ' -' for l in line])+'\n') diff -r 10a407fb5072 -r 4fc47a3ff9e8 hla_dq.xml --- a/hla_dq.xml Wed May 30 07:50:21 2018 -0400 +++ b/hla_dq.xml Wed May 30 09:21:15 2018 -0400 @@ -1,4 +1,4 @@ - + Determine possible associated types given BLAST IMGT/HLA annotation