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

Raw File Download
Permalink

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
content badge Iframe embedding
swh:1:cnt:adf7633b935d95a3b220bc23f43cc7e43b50eaf1
Citations

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
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
#!/bin/bash

# Script for calling candidate regions for ABC model
# 'mm10.chrom.sizes' supplied in repos
# 'mm10-blocklist.v2.bed' can be obtained through link in README

# Example usage:
# sbatch call_candidate_regions.sbatch

## General settings
#SBATCH -p short
#SBATCH -N 1
#SBATCH -n 1
#SBATCH --time=6:00:00
#SBATCH --mem=8G

# Job name and output
#SBATCH -J candidate_regions
#SBATCH -o /Users/%u/slurmOut/slurm-%j.out
#SBATCH -e /Users/%u/slurmErr/slurm-%j.err

# Purge modules
module purge

# Load modules
module load gcc/7.1.0 bedtools/2.28.0 python/3.7.4

# Specify names of bam and peak files
pwd; hostname; date

echo $(date +"[%b %d %H:%M:%S] Setting variable to bam and peak files...")

bamFile=$(ls *IFNG*ATAC_R1*.sorted.dedup.shifted.bam)
peakFiles=$(ls *IFNG*ATAC*_peaks.narrowPeak)

# Call candidate regions
echo $(date +"[%b %d %H:%M:%S] Calling candidate regions with makeCandidateRegions.py...")

python ABC-Enhancer-Gene-Prediction-0.2.2/src/makeCandidateRegions.py \
--narrowPeak plat_BMDM_IFNG_2h_ATAC_R1_peaks.narrowPeak \
--bam plat_BMDM_IFNG_2h_ATAC_R1.sorted.dedup.bam \
--chrom_sizes mm10.chrom.sizes \
--regions_blacklist mm10-blocklist.v2.bed \
--outDir ./ \
--peakExtendFromSummit 250 \
--nStrongestPeaks 150000

echo $(date +"[%b %d %H:%M:%S] Done")

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— Contact— JavaScript license information— Web API