Skip to content
Snippets Groups Projects
Commit ca797e26 authored by Samuel Mondal's avatar Samuel Mondal
Browse files

minor changes

parent 5f9aa7fd
No related branches found
No related tags found
1 merge request!66minor changes
Pipeline #14927 failed
...@@ -21,6 +21,6 @@ lint-test-job: # Test Stage ...@@ -21,6 +21,6 @@ lint-test-job: # Test Stage
- pip install -r requirements.txt - pip install -r requirements.txt
- pip install -r requirements_dev.txt - pip install -r requirements_dev.txt
- pip install -e . - 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/ - pylint sequence_extractor/ gtf_processing/
- mypy sequence_extractor/ gtf_processing/ - mypy sequence_extractor/ gtf_processing/
"""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. """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: Args:
GTF file GTF file
Returns: Returns:
BED file with the format: chr, start, end, transcript_id, score, strand, gene_id BED file with the format: chr, start, end, transcript_id, score, strand, gene_id
""" """
import argparse import argparse
......
"""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( def exon_concatenation(
......
""" 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 import numpy as np
# To do: Taking probabilities of nucleotides from user and raising error if sum != 1 # To do: Taking probabilities of nucleotides from user and raising error if sum != 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment