File: fix_gff_comments.patch

package info (click to toggle)
gff2aplot 2.0-13
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,576 kB
  • sloc: perl: 5,378; ansic: 806; makefile: 120; javascript: 93; sh: 41
file content (33 lines) | stat: -rw-r--r-- 1,828 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Description: Replace tabs in gff files with spaces
 GFFparsers are supposed to ignore all the text in lines that start with # but 
 for some reason, gffread doesn't like tabs in comments.
 The number of tabs after which gffread complains seems to be related to the 
 following line, but since this is just a comment anyway, replacing tabs with
 spaces seems like an easier fix.
Author: Pranav Ballaney
Bug-Debian: #962553
Last-Update: 2020-06-14
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/examples/mhcregion/hs-mm.gff
+++ b/examples/mhcregion/hs-mm.gff
@@ -3,7 +3,7 @@
 ##date Jun/03/2003 15:19:51
 ##
 ##/home/ug/jabril/development/softjabril/gfftools/gff2aplot/bin/ali2gff  -x X87344 -y AF100956+AF027865 hs-mm.sim
-#name1:name2		source		feature		beg1:beg2	end1:end2	score	strand	frame	group	comment
+#name1:name2               source      feature     beg1:beg2   end1:end2   score   strand frame group comment
 X87344:AF100956+AF027865	sim96_LIN	seqbounds	1:1	32000:35000	.	.	.
 X87344:AF100956+AF027865	sim96_LIN	alignment	863:804	19762:20115	18340.000	+:+	.:.
 X87344:AF100956+AF027865	sim96_LIN	fragment	863:804	890:831	0.790	+:+	.:.	## cumulative nmp: 0.001
--- a/examples/mhcregion/hs-mm.sim.gff
+++ b/examples/mhcregion/hs-mm.sim.gff
@@ -3,7 +3,7 @@
 ##date Jun/03/2003 16:41:22
 ##
 ## ali2gff  -x X87344 -y AF100956+AF027865 hs-mm.sim
-#name1:name2		source		feature		beg1:beg2	end1:end2	score	strand	frame	group	comment
+#name1:name2               source      feature     beg1:beg2   end1:end2   score   strand  frame group comment
 X87344:AF100956+AF027865	sim96_LIN	seqbounds	1:1	32000:35000	.	.	.
 X87344:AF100956+AF027865	sim96_LIN	alignment	863:804	19762:20115	18340.000	+:+	.:.
 X87344:AF100956+AF027865	sim96_LIN	fragment	863:804	890:831	0.790	+:+	.:.	## cumulative nmp: 0.001