Skip to content

Commit

Permalink
Merge pull request #12 from USDA-ARS-GBRU/iss1
Browse files Browse the repository at this point in the history
imporving GTF file handling
  • Loading branch information
arivers authored May 17, 2022
2 parents b38747f + 0022c9f commit 8f43866
Show file tree
Hide file tree
Showing 6 changed files with 165 additions and 136 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ Most pools require amplification before cloning to convert the ssDNA to dsDNA an
* [Addgene: Guide to Using Pooled Libraries](https://www.addgene.org/guides/pooled-libraries/)

<h4 style="color: #003087">Pooled CRISPR Data Analysis</h4>

After the experiment, the cells are collected and DNA is isolated. The target sequence is then amplified and adaptors for high-throughput sequencing added. Several data analysis pipelines have been developed to identify target sequences over-represented or under-represented in the pool. The manuscript by Wang et al. (2019) provides a protocol for using a high-quality tool with these capabilities.


Expand Down
2 changes: 1 addition & 1 deletion bioconda.recipe/guidemaker/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ extra:
- ravinpoudel
identifiers:
- biotools:GuideMaker
- doi:10.5281/zenodo.4849258
- doi:10.5281/zenodo.4849258
1 change: 0 additions & 1 deletion conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

{% set data = load_setup_py_data() %}

package:
Expand Down
243 changes: 128 additions & 115 deletions coverage.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version="1.0" ?>
<coverage branch-rate="0" branches-covered="0" branches-valid="0" complexity="0" line-rate="0.5988" lines-covered="682" lines-valid="1139" timestamp="1638480188287" version="6.1.1">
<coverage branch-rate="0" branches-covered="0" branches-valid="0" complexity="0" line-rate="0.592" lines-covered="682" lines-valid="1152" timestamp="1652732987035" version="6.1.1">
<!-- Generated by coverage.py: https://coverage.readthedocs.io -->
<!-- Based on https://raw.githubusercontent.com/cobertura/web/master/htdocs/xml/coverage-04.dtd -->
<sources>
<source>/Users/rivers/Documents/guidemaker/guidemaker</source>
</sources>
<packages>
<package branch-rate="0" complexity="0" line-rate="0.6945" name=".">
<package branch-rate="0" complexity="0" line-rate="0.6854" name=".">
<classes>
<class branch-rate="0" complexity="0" filename="__init__.py" line-rate="1" name="__init__.py">
<methods/>
Expand Down Expand Up @@ -251,7 +251,7 @@
<line hits="0" number="257"/>
</lines>
</class>
<class branch-rate="0" complexity="0" filename="core.py" line-rate="0.8126" name="core.py">
<class branch-rate="0" complexity="0" filename="core.py" line-rate="0.7929" name="core.py">
<methods/>
<lines>
<line hits="1" number="2"/>
Expand Down Expand Up @@ -550,29 +550,28 @@
<line hits="0" number="677"/>
<line hits="0" number="678"/>
<line hits="0" number="679"/>
<line hits="0" number="680"/>
<line hits="0" number="681"/>
<line hits="0" number="682"/>
<line hits="0" number="683"/>
<line hits="0" number="684"/>
<line hits="0" number="685"/>
<line hits="0" number="686"/>
<line hits="1" number="688"/>
<line hits="1" number="698"/>
<line hits="1" number="699"/>
<line hits="1" number="700"/>
<line hits="0" number="688"/>
<line hits="0" number="689"/>
<line hits="1" number="691"/>
<line hits="1" number="701"/>
<line hits="1" number="702"/>
<line hits="1" number="703"/>
<line hits="1" number="704"/>
<line hits="1" number="705"/>
<line hits="0" number="706"/>
<line hits="1" number="706"/>
<line hits="1" number="707"/>
<line hits="1" number="708"/>
<line hits="0" number="709"/>
<line hits="0" number="710"/>
<line hits="0" number="711"/>
<line hits="1" number="712"/>
<line hits="1" number="713"/>
<line hits="1" number="714"/>
<line hits="1" number="711"/>
<line hits="0" number="712"/>
<line hits="0" number="713"/>
<line hits="0" number="714"/>
<line hits="1" number="715"/>
<line hits="1" number="716"/>
<line hits="1" number="717"/>
Expand All @@ -589,9 +588,9 @@
<line hits="1" number="728"/>
<line hits="1" number="729"/>
<line hits="1" number="730"/>
<line hits="0" number="731"/>
<line hits="0" number="732"/>
<line hits="0" number="733"/>
<line hits="1" number="731"/>
<line hits="1" number="732"/>
<line hits="1" number="733"/>
<line hits="0" number="734"/>
<line hits="0" number="735"/>
<line hits="0" number="736"/>
Expand Down Expand Up @@ -620,163 +619,177 @@
<line hits="0" number="759"/>
<line hits="0" number="760"/>
<line hits="0" number="761"/>
<line hits="1" number="764"/>
<line hits="1" number="780"/>
<line hits="1" number="781"/>
<line hits="1" number="783"/>
<line hits="1" number="785"/>
<line hits="1" number="786"/>
<line hits="1" number="787"/>
<line hits="1" number="788"/>
<line hits="1" number="789"/>
<line hits="1" number="790"/>
<line hits="0" number="762"/>
<line hits="0" number="763"/>
<line hits="0" number="764"/>
<line hits="0" number="765"/>
<line hits="0" number="766"/>
<line hits="0" number="769"/>
<line hits="0" number="770"/>
<line hits="0" number="771"/>
<line hits="0" number="772"/>
<line hits="1" number="775"/>
<line hits="1" number="791"/>
<line hits="1" number="792"/>
<line hits="1" number="793"/>
<line hits="1" number="794"/>
<line hits="1" number="795"/>
<line hits="1" number="796"/>
<line hits="1" number="797"/>
<line hits="1" number="798"/>
<line hits="1" number="799"/>
<line hits="0" number="801"/>
<line hits="1" number="800"/>
<line hits="1" number="801"/>
<line hits="1" number="802"/>
<line hits="1" number="803"/>
<line hits="1" number="804"/>
<line hits="1" number="805"/>
<line hits="1" number="806"/>
<line hits="1" number="820"/>
<line hits="1" number="821"/>
<line hits="1" number="823"/>
<line hits="1" number="824"/>
<line hits="1" number="826"/>
<line hits="1" number="828"/>
<line hits="1" number="829"/>
<line hits="1" number="807"/>
<line hits="1" number="808"/>
<line hits="1" number="809"/>
<line hits="1" number="810"/>
<line hits="0" number="812"/>
<line hits="1" number="813"/>
<line hits="1" number="814"/>
<line hits="1" number="815"/>
<line hits="1" number="817"/>
<line hits="1" number="831"/>
<line hits="1" number="832"/>
<line hits="1" number="833"/>
<line hits="1" number="834"/>
<line hits="1" number="835"/>
<line hits="1" number="836"/>
<line hits="1" number="837"/>
<line hits="1" number="839"/>
<line hits="1" number="840"/>
<line hits="1" number="853"/>
<line hits="1" number="856"/>
<line hits="1" number="860"/>
<line hits="1" number="843"/>
<line hits="1" number="844"/>
<line hits="1" number="845"/>
<line hits="1" number="846"/>
<line hits="1" number="847"/>
<line hits="1" number="848"/>
<line hits="1" number="851"/>
<line hits="1" number="864"/>
<line hits="1" number="867"/>
<line hits="1" number="870"/>
<line hits="1" number="873"/>
<line hits="1" number="876"/>
<line hits="1" number="871"/>
<line hits="1" number="875"/>
<line hits="1" number="878"/>
<line hits="1" number="888"/>
<line hits="1" number="881"/>
<line hits="1" number="884"/>
<line hits="1" number="887"/>
<line hits="1" number="889"/>
<line hits="1" number="890"/>
<line hits="1" number="891"/>
<line hits="1" number="892"/>
<line hits="1" number="893"/>
<line hits="1" number="895"/>
<line hits="1" number="896"/>
<line hits="1" number="898"/>
<line hits="1" number="899"/>
<line hits="1" number="900"/>
<line hits="1" number="901"/>
<line hits="1" number="902"/>
<line hits="1" number="903"/>
<line hits="1" number="904"/>
<line hits="1" number="905"/>
<line hits="1" number="906"/>
<line hits="1" number="908"/>
<line hits="1" number="907"/>
<line hits="1" number="909"/>
<line hits="1" number="910"/>
<line hits="1" number="911"/>
<line hits="1" number="913"/>
<line hits="1" number="912"/>
<line hits="1" number="914"/>
<line hits="1" number="915"/>
<line hits="1" number="916"/>
<line hits="1" number="917"/>
<line hits="1" number="919"/>
<line hits="1" number="920"/>
<line hits="1" number="921"/>
<line hits="1" number="922"/>
<line hits="1" number="924"/>
<line hits="1" number="926"/>
<line hits="1" number="927"/>
<line hits="1" number="928"/>
<line hits="1" number="930"/>
<line hits="1" number="932"/>
<line hits="1" number="933"/>
<line hits="1" number="935"/>
<line hits="1" number="936"/>
<line hits="1" number="937"/>
<line hits="1" number="938"/>
<line hits="1" number="940"/>
<line hits="1" number="939"/>
<line hits="1" number="943"/>
<line hits="1" number="944"/>
<line hits="1" number="946"/>
<line hits="1" number="947"/>
<line hits="1" number="948"/>
<line hits="1" number="949"/>
<line hits="1" number="951"/>
<line hits="1" number="952"/>
<line hits="1" number="953"/>
<line hits="1" number="954"/>
<line hits="1" number="956"/>
<line hits="0" number="967"/>
<line hits="0" number="968"/>
<line hits="1" number="972"/>
<line hits="1" number="979"/>
<line hits="0" number="990"/>
<line hits="0" number="991"/>
<line hits="0" number="993"/>
<line hits="0" number="1003"/>
<line hits="0" number="1004"/>
<line hits="0" number="1005"/>
<line hits="1" number="962"/>
<line hits="1" number="963"/>
<line hits="1" number="964"/>
<line hits="1" number="965"/>
<line hits="1" number="967"/>
<line hits="0" number="977"/>
<line hits="0" number="978"/>
<line hits="0" number="979"/>
<line hits="0" number="980"/>
<line hits="0" number="981"/>
<line hits="0" number="983"/>
<line hits="0" number="984"/>
<line hits="1" number="988"/>
<line hits="1" number="995"/>
<line hits="0" number="1006"/>
<line hits="0" number="1007"/>
<line hits="0" number="1009"/>
<line hits="0" number="1019"/>
<line hits="0" number="1020"/>
<line hits="0" number="1031"/>
<line hits="0" number="1039"/>
<line hits="0" number="1040"/>
<line hits="0" number="1042"/>
<line hits="0" number="1043"/>
<line hits="0" number="1044"/>
<line hits="0" number="1045"/>
<line hits="0" number="1046"/>
<line hits="1" number="1049"/>
<line hits="0" number="1021"/>
<line hits="0" number="1022"/>
<line hits="0" number="1025"/>
<line hits="0" number="1036"/>
<line hits="0" number="1047"/>
<line hits="0" number="1055"/>
<line hits="0" number="1056"/>
<line hits="0" number="1058"/>
<line hits="0" number="1059"/>
<line hits="0" number="1060"/>
<line hits="0" number="1061"/>
<line hits="0" number="1062"/>
<line hits="0" number="1063"/>
<line hits="0" number="1064"/>
<line hits="0" number="1065"/>
<line hits="0" number="1066"/>
<line hits="0" number="1068"/>
<line hits="0" number="1069"/>
<line hits="0" number="1070"/>
<line hits="0" number="1071"/>
<line hits="0" number="1072"/>
<line hits="0" number="1073"/>
<line hits="0" number="1074"/>
<line hits="1" number="1077"/>
<line hits="1" number="1087"/>
<line hits="1" number="1105"/>
<line hits="1" number="1106"/>
<line hits="1" number="1107"/>
<line hits="1" number="1108"/>
<line hits="1" number="1113"/>
<line hits="1" number="1114"/>
<line hits="1" number="1115"/>
<line hits="1" number="1116"/>
<line hits="1" number="1117"/>
<line hits="1" number="1118"/>
<line hits="1" number="1119"/>
<line hits="1" number="1120"/>
<line hits="1" number="1065"/>
<line hits="0" number="1075"/>
<line hits="0" number="1076"/>
<line hits="0" number="1077"/>
<line hits="0" number="1078"/>
<line hits="0" number="1079"/>
<line hits="0" number="1080"/>
<line hits="0" number="1081"/>
<line hits="0" number="1082"/>
<line hits="0" number="1084"/>
<line hits="0" number="1085"/>
<line hits="0" number="1086"/>
<line hits="0" number="1087"/>
<line hits="0" number="1088"/>
<line hits="0" number="1089"/>
<line hits="0" number="1090"/>
<line hits="1" number="1093"/>
<line hits="1" number="1103"/>
<line hits="1" number="1121"/>
<line hits="1" number="1122"/>
<line hits="1" number="1123"/>
<line hits="1" number="1124"/>
<line hits="1" number="1125"/>
<line hits="1" number="1126"/>
<line hits="1" number="1127"/>
<line hits="1" number="1128"/>
<line hits="1" number="1129"/>
<line hits="1" number="1130"/>
<line hits="1" number="1131"/>
<line hits="1" number="1132"/>
<line hits="1" number="1133"/>
<line hits="1" number="1134"/>
<line hits="1" number="1135"/>
<line hits="1" number="1136"/>
<line hits="1" number="1137"/>
<line hits="1" number="1138"/>
<line hits="1" number="1139"/>
<line hits="1" number="1140"/>
<line hits="0" number="1142"/>
<line hits="0" number="1143"/>
<line hits="1" number="1141"/>
<line hits="1" number="1142"/>
<line hits="1" number="1143"/>
<line hits="1" number="1144"/>
<line hits="1" number="1145"/>
<line hits="1" number="1147"/>
<line hits="1" number="1148"/>
<line hits="1" number="1152"/>
<line hits="1" number="1153"/>
<line hits="1" number="1154"/>
<line hits="1" number="1155"/>
<line hits="1" number="1156"/>
<line hits="0" number="1158"/>
<line hits="0" number="1159"/>
<line hits="1" number="1160"/>
</lines>
</class>
<class branch-rate="0" complexity="0" filename="definitions.py" line-rate="1" name="definitions.py">
Expand Down
2 changes: 1 addition & 1 deletion guidemaker/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def main(arglist: list = None):
target_bed_df=tf_df)
logger.info("Identify genomic features")
anno.get_annotation_features()
logger.info("Total number of CDS/locus in the input genome: %d" % anno.locuslen())
logger.info("Total number of %s in the input genome: %d" % anno.locuslen())
logger.info("Find genomic features closest the guides")
anno._get_nearby_features()
logger.info("Select guides that start between +%s and -%s of a feature start" %
Expand Down
Loading

0 comments on commit 8f43866

Please sign in to comment.