-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
james
committed
Jun 27, 2014
1 parent
5bae9e2
commit e29ec82
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env | ||
|
||
import sys | ||
|
||
from seqio import iteratorFromExtension | ||
from nucio import fileIterator | ||
|
||
if not len(sys.argv) == 2: | ||
sys.exit("sequencToLine.py in.{fa.fq}\n") | ||
|
||
it = iteratorFromExtension(sys.argv[1]) | ||
for record in fileIterator(sys.argv[1], it): | ||
if hasattr(record, "desc"): | ||
print "\t".join([record.name, record.seq, record.desc, record.qual]) | ||
else: | ||
print "\t".join([record.name, record.seq]) | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,6 +44,7 @@ | |
plt.suptitle(cellname) | ||
|
||
plt.savefig(pp, format="pdf") | ||
plt.legend() | ||
|
||
plt.figure() | ||
|
||
|