# HG changeset patch # User galaxyp # Date 1456180294 18000 # Node ID 88d2c4c2cb0a43f4e25060e70f42ea91a16cc59b # Parent 4c9bac08084ba2d2b3a83571f9ff50be5ef5c50b planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/map_peptides_to_bed commit a2d6625c1d0c65af83ce12614022f30ccd610444-dirty diff -r 4c9bac08084b -r 88d2c4c2cb0a map_peptides_to_bed.py --- a/map_peptides_to_bed.py Tue Jan 12 21:02:24 2016 -0500 +++ b/map_peptides_to_bed.py Mon Feb 22 17:31:34 2016 -0500 @@ -232,7 +232,7 @@ parser.add_option( '-t', '--translated_bed', dest='translated_bed', default=None, help='A bed file with added 13th column having a translation' ) parser.add_option( '-i', '--input', dest='input', default=None, help='Tabular file with peptide_sequence column' ) parser.add_option( '-p', '--peptide_column', type='int', dest='peptide_column', default=1, help='column ordinal with peptide sequence' ) - parser.add_option( '-n', '--name_column', type='int', dest='name_column', default=None, help='column ordinal with protein name' ) + parser.add_option( '-n', '--name_column', type='int', dest='name_column', default=2, help='column ordinal with protein name' ) parser.add_option( '-s', '--start_column', type='int', dest='start_column', default=None, help='column with peptide start position in protein' ) parser.add_option( '-B', '--bed', dest='bed', default=None, help='Output a bed file with added 13th column having translation' ) ## parser.add_option( '-G', '--gff3', dest='gff', default=None, help='Output translations to a GFF3 file' ) diff -r 4c9bac08084b -r 88d2c4c2cb0a map_peptides_to_bed.xml --- a/map_peptides_to_bed.xml Tue Jan 12 21:02:24 2016 -0500 +++ b/map_peptides_to_bed.xml Mon Feb 22 17:31:34 2016 -0500 @@ -1,4 +1,5 @@ + for viewing in a genome browser biopython @@ -22,15 +23,22 @@ --bed="$mapped_peptides" ]]> - - - - - - + + + + + + The offset in AnimoAcids of the peptide from the start of the protein sequence. + If this column is not available, the application will expect the Translated BED file + to have a 13th column with the protein sequence from which to determine the offset + + + @@ -45,7 +53,60 @@