diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c30f03b910087fd7aed3003305a5cc1689e629d1..5cf87d5367d9b241080fe0d12ba786603930b6ef 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,6 +21,6 @@ lint-test-job: # Test Stage - pip install -r requirements.txt - pip install -r requirements_dev.txt - pip install -e . - - flake8 --docstring-convention google sequence_extractor/ gtf_processing/ + - flake8 --docstring-convention google sequence_extractor/ gtf_processing/ --ignore=E501,D104,F821 - pylint sequence_extractor/ gtf_processing/ - mypy sequence_extractor/ gtf_processing/ diff --git a/gtf_processing/pre_bedtools.py b/gtf_processing/pre_bedtools.py index cc69d5b3fae683a6b61ccf5e2ed21aef48c5b11d..b5ccc5d2b27228d18700fc631c4fb6bcfaeb7fd6 100644 --- a/gtf_processing/pre_bedtools.py +++ b/gtf_processing/pre_bedtools.py @@ -1,10 +1,10 @@ """This script defines a BED from exon annotation in a GTF, to get exon coordinates for use in bedtools. It also ensures that the concatenation happens in the correct order, regardless of the strandedness of the transcript. - Args: - GTF file +Args: + GTF file - Returns: - BED file with the format: chr, start, end, transcript_id, score, strand, gene_id +Returns: + BED file with the format: chr, start, end, transcript_id, score, strand, gene_id """ import argparse diff --git a/sequence_extractor/exon_concatenation.py b/sequence_extractor/exon_concatenation.py index 88377f27ee5ee0a01c63a503596b854066123ea2..194e693c9603deb0195bc0db2bc80bf257c73ba7 100644 --- a/sequence_extractor/exon_concatenation.py +++ b/sequence_extractor/exon_concatenation.py @@ -1,4 +1,4 @@ -"""Script containing the function to concatenate exons and output the results in a list of tuples""" +"""Script containing the function to concatenate exons and output the results in a list of tuples.""" def exon_concatenation( diff --git a/sequence_extractor/poly_a.py b/sequence_extractor/poly_a.py index d1975628337d4b0e5bb6f5c90f55c6981ca34dde..476fb83b2918a3dcae2b734465f4d845384dcdcf 100644 --- a/sequence_extractor/poly_a.py +++ b/sequence_extractor/poly_a.py @@ -1,4 +1,6 @@ -""" This script contains two functions and the first function is called by the second function and used to add poly A tail to the concatenated exon""" +"""This script contains two functions and the first function is called by the second function and used to add poly A tail to the concatenated exon.""" + +s import numpy as np # To do: Taking probabilities of nucleotides from user and raising error if sum != 1