Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://github.com/arjunrajlaboratory/RajLabSeqTools
10 December 2020, 08:13:14 UTC
  • Code
  • Branches (2)
  • Releases (0)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/master
    • refs/import/heads/master
    • c5b88eb5aa3fa9f6a657d8b078405ce82f7e0e2d
    No releases to show
  • 7078d72
  • /
  • Utilities
  • /
  • stepThreeGenerateCounts
  • /
  • samToSortedBam.sh
Raw File Download Save again
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
  • revision
  • snapshot
origin badgecontent badge
swh:1:cnt:80290ec851bdb99a5db4f1d25958d05c015ca990
origin badgedirectory badge
swh:1:dir:aefcc4ed377364cd27d247599e3145637859b015
origin badgerevision badge
swh:1:rev:c5b88eb5aa3fa9f6a657d8b078405ce82f7e0e2d
origin badgesnapshot badge
swh:1:snp:8c426de7c1a52fbd96f065cdced641b6f2bc8788

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
  • revision
  • snapshot
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
Tip revision: c5b88eb5aa3fa9f6a657d8b078405ce82f7e0e2d authored by Eric Sanford on 09 October 2019, 20:53:45 UTC
Updated STAR version, set default reference genome to hg38, added gene_names from gtf file when there is no HGNC symbol match, made it easier to change the reference genome by defining it in the setEnvironmentVariables.sh script. Modified some snakemake files to make that alternate pipeline almost runnable on the cluster in an interactive node.
Tip revision: c5b88eb
samToSortedBam.sh
#!
# run from within "repo" directory

EXPERIMENT=$1
SAMPLEID=$2

ALIGNMENT_TOOL_NAME=bowtie2

if [[ ! -z "$3" ]]; then
    ALIGNMENT_TOOL_NAME="$3"
fi

COMMANDNAME=samtools

if [ ! -d $EXPERIMENT/analyzed/$SAMPLEID/log ]; then
    mkdir $EXPERIMENT/analyzed/$SAMPLEID/log
fi

JOURNAL=$EXPERIMENT/analyzed/$SAMPLEID/log/$(date +%Y-%m-%d_%H-%M).$COMMANDNAME.log

COMMAND="samtools view -bS \
    $EXPERIMENT/analyzed/$SAMPLEID/$ALIGNMENT_TOOL_NAME/$SAMPLEID.Aligned.out.sam \
    | samtools sort - \
    $EXPERIMENT/analyzed/$SAMPLEID/$ALIGNMENT_TOOL_NAME/$SAMPLEID.sorted"


INDEXCOMMAND="samtools index \
    $EXPERIMENT/analyzed/$SAMPLEID/$ALIGNMENT_TOOL_NAME/$SAMPLEID.sorted.bam \
    $EXPERIMENT/analyzed/$SAMPLEID/$ALIGNMENT_TOOL_NAME/$SAMPLEID.sorted.bai"

REMOVE_SAM_COMMAND="rm $EXPERIMENT/analyzed/$SAMPLEID/$ALIGNMENT_TOOL_NAME/$SAMPLEID.Aligned.out.sam"

echo "Starting..." >> $JOURNAL

date >> $JOURNAL
echo $COMMAND >> $JOURNAL
eval $COMMAND

date >> $JOURNAL
echo $INDEXCOMMAND >> $JOURNAL
eval $INDEXCOMMAND

date >> $JOURNAL
echo $REMOVE_SAM_COMMAND >> $JOURNAL
eval $REMOVE_SAM_COMMAND

date >> $JOURNAL
echo "Done" >> $JOURNAL

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API