Skip to content

Commit

Permalink
python3 print and link text update.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Davis authored and peterjc committed Apr 22, 2016
1 parent a619ecf commit d5c81de
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions wiki/Intergenic_regions.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,18 +89,20 @@ if __name__ == '__main__':
elif len(sys.argv) == 3:
get_interregions(sys.argv[1],int(sys.argv[2]))
else:
print "Usage: get_intergenic.py gb_file [intergenic_length]"
print("Usage: get_intergenic.py gb_file [intergenic_length]")
sys.exit(0)

```

For a full explanation of the code, see here:
[1](http://bytesizebio.net/index.php/2010/02/11/short-bioinformatic-hacks-reading-between-the-genes/)
[bytesizebio.net](http://bytesizebio.net/index.php/2010/02/11/short-bioinformatic-hacks-reading-between-the-genes/)

Running
-------

<bash> ./get\_intergene mygenbankfile.gb 1 </bash>
```bash
./get\_intergene mygenbankfile.gb 1
```

Run on the genbank file. The intergenic sequences will appear in the
file mygenbank\_ign.fasta in FASTA format.
Expand Down

0 comments on commit d5c81de

Please sign in to comment.