# HG changeset patch # User galaxyp # Date 1456180245 18000 # Node ID db90662d26f90613da1ebec25b8e5624cdc6cecb # Parent 51f8f9041724c5e6564496e0877eadd9eec23ef6 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/map_peptides_to_bed commit a2d6625c1d0c65af83ce12614022f30ccd610444-dirty diff -r 51f8f9041724 -r db90662d26f9 map_peptides_to_bed.py --- a/map_peptides_to_bed.py Mon Jan 25 15:32:49 2016 -0500 +++ b/map_peptides_to_bed.py Mon Feb 22 17:30:45 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 51f8f9041724 -r db90662d26f9 map_peptides_to_bed.xml --- a/map_peptides_to_bed.xml Mon Jan 25 15:32:49 2016 -0500 +++ b/map_peptides_to_bed.xml Mon Feb 22 17:30:45 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 @@