Skip to content

Commit

Permalink
add output.md to output
Browse files Browse the repository at this point in the history
  • Loading branch information
psj1997 committed Jun 8, 2020
1 parent b7fde4d commit 62abb45
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
13 changes: 8 additions & 5 deletions docs/output.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ gene.coords.gbk is the gene information





## hit_table.tsv :

The results of the queries to the GMGC.
Expand All @@ -27,17 +29,16 @@ There are five columns in the file.
- gene_dna : the dna sequence of the hitted gene in GMGC
- gene_protein : the protein sequence of the hitted gene in GMGC

#### Align_category
Align_category

- EXACT : above 95% nucleotide identity with at least 95% coverage

- SIMILAR : above 80% nucleotide identity with at least 80% coverage

- MATCH : above 50% nucleotide identity with at least 50% coverage

- NO MATCH : no match in GMGC






## genome_bin.tsv

Expand All @@ -50,6 +51,8 @@ There are two columns in the file.





## summary.txt

Summary of the query
Expand Down
10 changes: 7 additions & 3 deletions gmgc_finder/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@
from tqdm import tqdm
import gzip
import bz2
import subprocess
from os import path
import tempfile

from .alignment import identity_coverage
from .gmgc_finder_version import __version__

import tempfile

def parse_args(args):
parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter,
Expand All @@ -34,8 +37,7 @@ def parse_args(args):
return parser.parse_args()

def gene_prediction(fasta_input,output):
import subprocess
from os import path

print('Start gene prediction...')


Expand Down Expand Up @@ -280,6 +282,8 @@ def main(args=None):
print(s)
ofile.write(s+'\n')

subprocess.call('cp docs/output.md {}'.format(out), shell=True)




Expand Down

0 comments on commit 62abb45

Please sign in to comment.