403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/biology/kallisto/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/biology/kallisto/files/kallisto-test.in
#!/bin/sh

##########################################################################
#   Script description:
#       Run standard kallisto test data
#       
#   History:
#   Date        Name        Modification
#   2016-03-21  J Bacon     Begin
##########################################################################

usage()
{
    printf "Usage: $0 test-directory\n"
    exit 1
}


##########################################################################
#   Function description:
#       Pause until user presses return
##########################################################################

pause()
{
    local junk
    
    printf "Press return to continue..."
    read junk
}


##########################################################################
#   Main
##########################################################################

if [ $# != 1 ]; then
    usage
fi

dir="$1"
if [ -e "$dir" ]; then
    printf "$dir already exists.  Remove it first or choose a different name.\n"
    exit 1
fi

cp -iR %%EXAMPLESDIR%% "$dir"
cd "$dir"
kallisto index --index=transcripts.idx transcripts.fasta.gz
pause

kallisto quant --index=transcripts.idx --genomebam --chromosomes=chrom.txt \
    --gtf=transcripts.gtf.gz --output-dir=output \
    --boostrap-samples=100 reads_1.fastq.gz reads_2.fastq.gz
pause

ls -l output
pause

# Test genomebam
samtools view output/pseudoalignments.bam | more

more output/abundance.tsv

cat << EOM

See https://pachterlab.github.io/kallisto/starting.html for instructions
on interpreting the output above.

EOM

Youez - 2016 - github.com/yon3zu
LinuXploit