Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
add license
Browse files Browse the repository at this point in the history
  • Loading branch information
Magdoll committed Apr 12, 2018
1 parent 3ecee6a commit 4797627
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
15 changes: 15 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Copyright (c) 2018, Pacific Biosciences of California, Inc.

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

* Neither the name of Pacific Biosciences nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY PACIFIC BIOSCIENCES AND ITS CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL PACIFIC BIOSCIENCES OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


6 changes: 3 additions & 3 deletions SequelQC/RCvalidate_smrtlink_isoseq.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
GMAP_BIN = "/home/UNIXHOME/etseng/bin/gmap"
GMAP_DB = "/home/UNIXHOME/etseng/share/gmap_db_new/"
GMAP_CPUS = 12
GENCODE_GTF = "/home/UNIXHOME/etseng/share/gencode/gencode27-ucsc.gtf"
GENCODE_GTF = "/home/UNIXHOME/etseng/share/gencode/gencode.v27.annotation.gtf"

def link_files(src_dir, out_dir):
os.makedirs(out_dir)
Expand Down Expand Up @@ -77,7 +77,7 @@ def collapse_to_hg38(out_dir, hq_fastq, cluster_csv, min_count, aligner_choice,
os.chdir(out_dir)

if aligner_choice == 'gmap':
cmd = "{gmap} -D {gmap_db} -d hg38_noalt -f samse -n 0 -t {cpus} -z sense_force {hq} > {hq}.sam 2> {hq}.sam.log".format(\
cmd = "{gmap} -D {gmap_db} -d hg38 -f samse -n 0 -t {cpus} -z sense_force {hq} > {hq}.sam 2> {hq}.sam.log".format(\
gmap=GMAP_BIN, gmap_db=GMAP_DB, hq=hq_fastq, cpus=GMAP_CPUS)
elif aligner_choice == 'minimap2':
cmd = "minimap2 -t {cpus} -ax splice -uf --secondary=no -C5 {ref} {hq} > {hq}.sam 2> {hq}.sam.log".format(\
Expand Down Expand Up @@ -112,7 +112,7 @@ def collapse_to_hg38(out_dir, hq_fastq, cluster_csv, min_count, aligner_choice,
rep = collapse_prefix + ".min_fl_{0}.filtered".format(min_count)

if aligner_choice=='gmap':
cmd = "{gmap} -D {gmap_db} -d hg38_noalt -f samse -n 0 -t {cpus} -z sense_force {rep}.rep.fq > {rep}.rep.fq.sam 2> {rep}.rep.fq.sam.log".format(\
cmd = "{gmap} -D {gmap_db} -d hg38 -f samse -n 0 -t {cpus} -z sense_force {rep}.rep.fq > {rep}.rep.fq.sam 2> {rep}.rep.fq.sam.log".format(\
gmap=GMAP_BIN, gmap_db=GMAP_DB, cpus=GMAP_CPUS, rep=rep)
elif aligner_choice=='minimap2':
cmd = "minimap2 -t {cpus} -ax splice -uf --secondary=no -C5 {ref} {rep}.rep.fq > {rep}.rep.fq.sam 2> {rep}.rep.fq.sam.log".format(\
Expand Down
2 changes: 1 addition & 1 deletion SequelQC/SIRVvalidate_smrtlink_isoseq.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
STAR_BIN = "python /home/UNIXHOME/etseng/GitHub/cDNA_Cupcake/sequence/STARwrapper.py"
SIRV_STAR_DB = "/home/UNIXHOME/etseng/share/star_db/SIRV_with_annotation/"

HG38_GENOME = "/home/UNIXHOME/etseng/share/minimap2_db/hg38/hg38_noalt.mmi"
HG38_GENOME = "/home/UNIXHOME/etseng/share/minimap2_db/hg38/hg38.mmi"
MM10_GENOME = "/home/UNIXHOME/etseng/share/minimap2_db/mm10/mm10.mmi"

def link_files(src_dir, out_dir):
Expand Down

0 comments on commit 4797627

Please sign in to comment.