This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define WITHOUT_CAIRO | |
| #include "genometools.h" | |
| GtFeatureNode *eden() | |
| { | |
| GtGenomeNode *gene, *mrna1, *mrna2, *mrna3, *feature; | |
| GtFeatureNode *genefn, *mrna1fn, *mrna2fn, *mrna3fn, *featurefn; | |
| GtGenomeNode *f1, *f2, *f3, *f4; | |
| GtFeatureNode *fn1, *fn2, *fn3, *fn4; | |
| GtStr *seqid = gt_str_new_cstr("ctg123"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env perl | |
| use strict; | |
| use warnings; | |
| # Daniel S. Standage <daniel.standage@gmail.com> | |
| # Input: sequences cleaned up and annotated by mRNAmarkup | |
| # Output: each sequence ID along with its annotation, if any | |
| my $usage = "perl $0 < cln-seqs.fas > seqids-and-funcs.txt"; | |
| while(<STDIN>) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env perl | |
| use strict; | |
| my %mapping; | |
| while(<STDIN>) | |
| { | |
| print; | |
| chomp; | |
| my($tsaid, @vals) = split(/,/); | |
| $mapping{ $tsaid } = 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env perl | |
| use strict; | |
| my %mapping; | |
| while(<STDIN>) | |
| { | |
| print; | |
| chomp; | |
| my($tsaid, @vals) = split(/\t/); | |
| $mapping{ $tsaid } = 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env perl | |
| use strict; | |
| use Bio::SeqIO; | |
| my $instream = Bio::SeqIO->new( -fh => \*STDIN, -format => "Fasta" ); | |
| while(my $seq = $instream->next_seq) | |
| { | |
| printf("##sequence-region %s %lu %lu\n", $seq->id, 1, $seq->length); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env perl | |
| use strict; | |
| use warnings; | |
| use Getopt::Long; | |
| # Copyright (c) 2013, Daniel S. Standage <daniel.standage@gmail.com> | |
| # | |
| # Permission to use, copy, modify, and/or distribute this software for any | |
| # purpose with or without fee is hereby granted, provided that the above | |
| # copyright notice and this permission notice appear in all copies. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ##gff-version 3 | |
| ##sequence-region seq01 1 900 | |
| ##sequence-region seq02 1 900 | |
| ##sequence-region seq03 1 900 | |
| ##sequence-region seq04 1 900 | |
| ##sequence-region seq05 1 900 | |
| ##sequence-region seq06 1 900 | |
| ##sequence-region seq07 1 2000 | |
| ##sequence-region seq08 1 2000 | |
| ##sequence-region seq09 1 2000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PdomSCFr1.1-0001 Cufflinks transcript 2872997 2880927 500 . . gene_id "CUFF.181"; transcript_id "CUFF.181.1"; FPKM "0.5000000000"; frac "0.000000"; conf_lo "0.500000"; conf_hi "0.500000"; cov "0.225344"; | |
| PdomSCFr1.1-0001 Cufflinks exon 2872997 2880927 500 . . gene_id "CUFF.181"; transcript_id "CUFF.181.1"; exon_number "1"; FPKM "0.5000000000"; frac "0.000000"; conf_lo "0.500000"; conf_hi "0.500000"; cov "0.225344"; | |
| PdomSCFr1.1-0001 Cufflinks transcript 2873500 2875236 1000 . . gene_id "CUFF.181"; transcript_id "CUFF.181.2"; FPKM "1.0000000000"; frac "0.000000"; conf_lo "1.000000"; conf_hi "1.000000"; cov "0.450687"; | |
| PdomSCFr1.1-0001 Cufflinks exon 2873500 2875236 1000 . . gene_id "CUFF.181"; transcript_id "CUFF.181.2"; exon_number "1"; FPKM "1.0000000000"; frac "0.000000"; conf_lo "1.000000"; conf_hi "1.000000"; cov "0.450687"; | |
| PdomSCFr1.1-0001 Cufflinks transcript 2875367 2880803 1000 . . gene_id "CUFF.181"; transcript_id "CUFF.181.3"; FPKM "1.0000000000"; frac "0.000000"; conf_lo "1.000000"; conf_hi "1.0000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [create obj/gt_config.h] | |
| [compile sqlite3.o] | |
| [compile alphabet.o] | |
| [compile array.o] | |
| [compile array2dim.o] | |
| [compile array2dim_sparse.o] | |
| [compile array3dim.o] | |
| [compile basename.o] | |
| [compile bioseq.o] | |
| [compile bioseq_col.o] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import re, sys | |
| # Usage: gsq2gff3 < in.gsq > out.gff3 | |
| print "##gff-version 3" | |
| for line in sys.stdin: | |
| line = line.rstrip() | |
| matches = re.search("hqPGS_(.+)[+-]_(.+)([+-])\s\((.+)\)", line) | |
| if not matches: |