Skip to content

Commit

Permalink
updated funcations to use jar files, also updated some reference sequ…
Browse files Browse the repository at this point in the history
…ences
  • Loading branch information
wangqion committed May 27, 2014
1 parent eab8ab3 commit ad8a927
Show file tree
Hide file tree
Showing 30 changed files with 8,859 additions and 54,002 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -6,6 +6,8 @@ config_office.ini
config_pssb.ini
config.ini
.svn
nbproject
README.TXT
*.stk
*.sto
*.bin
Expand Down
8 changes: 7 additions & 1 deletion config_skel.ini
Expand Up @@ -8,7 +8,13 @@ cmalign_cmd = /path/to/cmalign
hmmalign_cmd = /path/to/hmmalign
blast_cmd = /path/to/blastall
formatdb_cmd = /path/to/formatdb
parse_error_analysis_cmd = /path/to/AlignmentTools/parseErrorAnalysis.py
parse_error_analysis_cmd = /path/to/parseErrorAnalysis.py
usearch_cmd=/path/to/usearch6.0

#gridware_env_path=/usr/bin:/usr/sbin:/Software/bin #unsed

process_class_jar = /path/to/RDPTools/SeqFilters.jar
cluster_jar = /path/to/RDPTools/Clustering.jar
framebot_jar = /path/to/RDPTools/FrameBot.jar
alignment_tools_jar = /path/to/RDPTools/AlignmentTools/dist/AlignmentTools.jar
abundance_jar = /path/to/RDPTools/AbundanceStats.jar
26,214 changes: 0 additions & 26,214 deletions examplefiles/1.TCA.454Reads.fna

This file was deleted.

26,214 changes: 0 additions & 26,214 deletions examplefiles/1.TCA.454Reads.qual

This file was deleted.

13 changes: 11 additions & 2 deletions fgp_wrapper.py
Expand Up @@ -18,13 +18,22 @@ def check_seq_counts(seq_files):

def check_seq_counts_file(seq_file):
total_seqs = 0
for seq in SeqIO.parse(open(seq_file), "fasta"):
stream = open(seq_file)
first_char = stream.read(1)
if first_char == "@":
format = "fastq"
else:
format = "fasta"
stream.close()

for seq in SeqIO.parse(open(seq_file), format):
if seq.id[0] != "#":
total_seqs += 1
return total_seqs

def send_mail(email_address, subject, mail_file):
pass
cmd = ["cafe", mail_wrapper_class, "--to_email", email_address, "--subject_name", subject, "--message_file", mail_file]
subprocess.call(cmd)

def main(options_file, command_file, infiles):
seq_files = []
Expand Down
156 changes: 121 additions & 35 deletions pipeline_core.py

Large diffs are not rendered by default.

248 changes: 248 additions & 0 deletions resources/apsA/framebot.fasta

Large diffs are not rendered by default.

2,000 changes: 2,000 additions & 0 deletions resources/apsA/model.hmm

Large diffs are not rendered by default.

File renamed without changes.
248 changes: 248 additions & 0 deletions resources/apsA/prot_ref.fasta

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
476 changes: 476 additions & 0 deletions resources/dbfa1/framebot.fasta

Large diffs are not rendered by default.

1,361 changes: 1,361 additions & 0 deletions resources/dbfa1/model.hmm

Large diffs are not rendered by default.

File renamed without changes.
Empty file added resources/dbfa1/prot_ref.fasta
Empty file.
274 changes: 274 additions & 0 deletions resources/dsrB/framebot.fasta

Large diffs are not rendered by default.

1,160 changes: 1,160 additions & 0 deletions resources/dsrB/model.hmm

Large diffs are not rendered by default.

Empty file added resources/dsrB/nucl_ref.fasta
Empty file.
274 changes: 274 additions & 0 deletions resources/dsrB/prot_ref.fasta

Large diffs are not rendered by default.

1,148 changes: 662 additions & 486 deletions resources/dsra/framebot.fasta

Large diffs are not rendered by default.

1,146 changes: 662 additions & 484 deletions resources/dsra/prot_ref.fasta

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
Empty file added resources/dxnA/nucl_ref.fasta
Empty file.
Empty file added resources/dxnA/prot_ref.fasta
Empty file.
3 changes: 3 additions & 0 deletions resources/nifh/README
@@ -1 +1,4 @@
Model and reference sequences obtained from fungene, >95% coverage, aligned and model built 20 times to smooth variance

framebot.fasta contains the nifH region flanked by Poly primers
framebot_full_nifh.fasta contains the full nifH region
1,916 changes: 1,350 additions & 566 deletions resources/nifh/framebot.fasta

Large diffs are not rendered by default.

0 comments on commit ad8a927

Please sign in to comment.