Skip to content

Commit

Permalink
add version file
Browse files Browse the repository at this point in the history
  • Loading branch information
SchwarzMarek committed Nov 6, 2018
1 parent b75e713 commit 763c212
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 2 deletions.
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.0.6
5 changes: 4 additions & 1 deletion docs/help.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,14 @@ In the secondary structure prediction the pipeline can use multiple approaches (
The prediction methods can be (roughly) divided to following groups:

- Predict structure independently on other extended sequences
The advantage here is robustness to possible improper parameter choice.

The main advantage here is that these methods can be used even if
only fragments and low scoring hits are in the output.
- [rnafold](prediction_methods.md#rnafold)
- [subopt_fold_query](prediction_methods.md#subopt_fold_query)
- [rfam_rnafoldc](prediction_methods.md#rfam_rnafoldc)
- [rfam_subopt](prediction_methods.md#rfam_subopt)
- [TurboFold_fast](prediction_methods.md#TurboFold_fast) (with max_seqs_in_prediction = 2)

- Use _trusted_ extended sequences as reference
- [centroid_homfold](prediction_methods.md#centroid_homfold)
Expand Down
3 changes: 3 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ Sequences are analyzed with RSEARCH and its bit-score is used as
Next sequences are predicted with one or more methods and predicted
structures are merged with blast output to be easy to understand.

More information on the pipeline is avalible in the [docs](docs/help.md) section.


## Installation

### Install via Conda
Expand Down
5 changes: 4 additions & 1 deletion rna_blast_analyze/BA.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

logger.addHandler(ch)

with open(os.path.join(os.path.dirname(os.path.dirname(__file__)), 'VERSION'), 'r') as o:
version = o.read().strip()


class ParseFilter(argparse.Action):
def __call__(self, parser, args, values, option_string=None):
Expand Down Expand Up @@ -154,7 +157,7 @@ def f_parser():
misc_group.add_argument(
'--version',
action='version',
version='%(prog)s 0.0.5'
version='%(prog)s ' + version
)
parameters_group.add_argument(
'--config_file',
Expand Down
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
# package_data
# - directly related to code
# - 3rd_party_data as data_files not working to expectations

with open('VERSION', 'r') as o:
version = o.read().strip()

package_data = {
'rna_blast_analyze': [
'BR_core/config.txt',
Expand Down

0 comments on commit 763c212

Please sign in to comment.