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
Revision 425610ffb041dc289503471489a9435be01bc2a1 authored by Ian Mellis on 07 January 2016, 19:25:08 UTC, committed by Ian Mellis on 07 January 2016, 19:25:08 UTC
Adding step to melt count data from all samples from an experiment to a single tsv file
1 parent f8c9a19
  • Files
  • Changes
    • Branches
    • Releases
    • HEAD
    • refs/heads/master
    • refs/import/heads/master
    • 425610ffb041dc289503471489a9435be01bc2a1
    No releases to show
  • d701ea5
  • /
  • Utilities
  • /
  • stepOneSetUp
  • /
  • unzipAndConcatenateZippedFastq.sh
Raw File Download
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.

  • revision
  • directory
  • content
  • snapshot
origin badgerevision badge
swh:1:rev:425610ffb041dc289503471489a9435be01bc2a1
origin badgedirectory badge Iframe embedding
swh:1:dir:51a7c39f3f0b664d7b7cfc5e943f6952a8371c9b
origin badgecontent badge Iframe embedding
swh:1:cnt:ffc2636a07e9144568f5e6f9cb2009c129b071dd
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.

  • revision
  • directory
  • content
  • snapshot
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: 425610ffb041dc289503471489a9435be01bc2a1 authored by Ian Mellis on 07 January 2016, 19:25:08 UTC
Adding step to melt count data from all samples from an experiment to a single tsv file
Tip revision: 425610f
unzipAndConcatenateZippedFastq.sh
#!/bin/bash

ZIPFILEDIRECTORY=$1

OUTFASTQDIRECTORY=$2

for dirname in $ZIPFILEDIRECTORY/* ; do
    cd $dirname

    INPUT=`ls *`
    SAMPLE=${INPUT%%_*}  # Cuts filename string after first '_'

    if [ ! -d $OUTFASTQDIRECTORY/raw ]; then
        mkdir $OUTFASTQDIRECTORY/raw
    fi

    if [ ! -d $OUTFASTQDIRECTORY/raw/$SAMPLE ]; then
        mkdir $OUTFASTQDIRECTORY/raw/$SAMPLE
    fi

    FASTQR1=${SAMPLE}.fastq
#    FASTQR2=${SAMPLE}_R2.fastq

    if [ ! -e $OUTFASTQDIRECTORY/raw/$SAMPLE/$FASTQR1 ]; then
        echo Working on $SAMPLE
        for i in *.gz; do
            gunzip -c $i > ${i%.*}
        done


        cat *fastq > $OUTFASTQDIRECTORY/raw/$SAMPLE/$FASTQR1
    #    cat *R2*fastq > $OUTFASTQDIRECTORY/raw/$SAMPLE/$FASTQR2
    fi
done

The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

back to top

Software Heritage — Copyright (C) 2015–2025, 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