Repository 'pdaug_peptide_sequence_analysis'
hg clone https://toolshed.g2.bx.psu.edu/repos/jay/pdaug_peptide_sequence_analysis

Changeset 3:38f7df896a54 (2020-12-30)
Previous changeset 2:79b1b090990b (2020-12-29) Next changeset 4:b73ba641e514 (2021-01-12)
Commit message:
"planemo upload for repository https://github.com/jaidevjoshi83/pdaug commit edb37634e419f75dd66292e712de51278746d883"
modified:
PDAUG_TSVtoFASTA/PDAUG_TSVtoFASTA.py
b
diff -r 79b1b090990b -r 38f7df896a54 PDAUG_TSVtoFASTA/PDAUG_TSVtoFASTA.py
--- a/PDAUG_TSVtoFASTA/PDAUG_TSVtoFASTA.py Tue Dec 29 18:07:32 2020 +0000
+++ b/PDAUG_TSVtoFASTA/PDAUG_TSVtoFASTA.py Wed Dec 30 02:36:09 2020 +0000
[
@@ -27,12 +27,12 @@
 
             if l[1] in line.split('\t')[1].strip('\n').strip('\r'):
                 n= n+1
-                of1.write('>peptide_'+str(n)+'_'+str(l[0])+'\n')
+                of1.write('>peptide_'+str(n)+'_'+str(l[1])+'\n')
                 of1.write(line.split('\t')[0]+'\n')
 
             if l[0] in line.split('\t')[1].strip('\n').strip('\r'):
                 m= m+1
-                of2.write('>peptide_'+str(m)+'_'+str(l[1])+'\n')
+                of2.write('>peptide_'+str(m)+'_'+str(l[0])+'\n')
                 of2.write(line.split('\t')[0]+'\n')
 
     elif Method == 'NoClassLabel':